Displaying 10 results from an estimated 10 matches for "num_count".
2012 May 23
1
[GIT PULL] Remove duplicate COM32 modules
...lo.c
+++ /dev/null
@@ -1,26 +0,0 @@
-/*
- * hello.c - A simple ELF module that sorts a couple of numbers
- *
- * Created on: Aug 11, 2008
- * Author: Stefan Bucur <stefanb at zytor.com>
- */
-
-#include <stdio.h>
-#include <stdlib.h>
-
-#include "sort.h"
-
-#define NUM_COUNT 10
-#define MAX_NUM 100
-
-int main(int argc __unused, char **argv __unused)
-{
- int *nums = NULL;
-
- nums = malloc(NUM_COUNT * sizeof(int));
- printf("Hello, world, from 0x%08X! malloc return %p\n", (unsigned int)&main, nums);
-
- free(nums);
-
- retu...
2012 Mar 13
1
[Bug 777] New: Suspect bug in __do_replace()
...et/ipv4/netfilter/ip_tables.c __do_replace()
function. xt_replace_table() may return NULL when allocation of memory was not
successful by xt_replace_table->xt_jumpstack_alloc() (in my case I suspect
there were no free memory when it's happened):
...
oldinfo = xt_replace_table(t, num_counters, newinfo, &ret);
if (!oldinfo)
goto put_module;
The full bactrace is
WARNING: at /kernel/mm/vmalloc.c:107 vmap_page_range_noflush+0x120/0x1b4()
<4>[18835.587677] [<c00409dc>] (unwind_backtrace+0x0/0x164) from [<c0082a34>]
(warn_slowpath_common+0x4c/0x64)
<4...
2011 Jul 13
4
[Bug 728] New: ip_tables: limit match: invalid size 40!=48
...A INPUT -p icmp -m limit --limit 6/m --limit-burst 7 -j ACCEPT
===print infromation:
t->private->number = 7
fun_into_compat_do_ipt_set_ctl
compat_do_replace_copy_from_user
copy from user:name filter,valid_hooks 14,number entries8,size
1480,hood_entry[5]:00100011520,underflow[5]:0848100011520,num_counters:7,counters:268608936,..
tmp.size:1480
fun_translate_compat_table
translate_compat_table: size 1480
check_compat_entry_size_and_hooks a8000000019e8000
check_compat_entry_size_and_hooks a8000000019e80e8
check_compat_entry_size_and_hooks a8000000019e81b0
check_compat_entry_size_and_hooks a800000001...
2012 Feb 08
18
[PATCH 0 of 4] Prune outdated/impossible preprocessor symbols, and update VIOAPIC emulation
Patch 1 removes CONFIG_SMP
Patch 2 removes separate smp_{,r,w}mb()s as a result of patch 1
Patch 4 removes __ia64__ defines from the x86 arch tree
Patch 3 is related to patch 4 and changes the VIOAPIC to emulate
version 0x20 as a performance gain. It preceeds Patch 4 so as to be
more clear about the functional change.
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
2016 Jun 05
0
[RFC PATCH] nouveau: add locking
.../gallium/drivers/nouveau/nv50/nv50_query_hw_sm.c
+++ b/src/gallium/drivers/nouveau/nv50/nv50_query_hw_sm.c
@@ -176,6 +176,7 @@ nv50_hw_sm_begin_query(struct nv50_context *nv50, struct nv50_hw_query *hq)
return false;
}
+ pipe_mutex_lock(screen->base.push_mutex);
assert(cfg->num_counters <= 4);
PUSH_SPACE(push, 4 * 4);
@@ -208,6 +209,7 @@ nv50_hw_sm_begin_query(struct nv50_context *nv50, struct nv50_hw_query *hq)
BEGIN_NV04(push, NV50_CP(MP_PM_SET(c)), 1);
PUSH_DATA (push, 0);
}
+ pipe_mutex_unlock(screen->base.push_mutex);
return true;
}
@...
2013 Feb 07
5
[PATCH v8] gcov: Coverage support
Updated set of patches for coverage.
Changes:
- change copyright lines
- use gcov: instead of cover: in commit comment
- use #ifdef in xen/common/sysctl.c instead of dummy inline function
- added base documentation in docs/misc
- added -h option to xencov
2011 Mar 16
0
[GIT PULL] elflink compiler warning fixes
...iff --git a/com32/elflink/modules/hello.c b/com32/elflink/modules/hello.c
index cba63e2..b38f05c 100644
--- a/com32/elflink/modules/hello.c
+++ b/com32/elflink/modules/hello.c
@@ -17,10 +17,9 @@
static int hello_main(int argc, char **argv)
{
int *nums = NULL;
- int i;
nums = malloc(NUM_COUNT * sizeof(int));
- printf("Hello, world, from 0x%08X! malloc return %p\n", (unsigned int)&hello_main), nums;
+ printf("Hello, world, from 0x%08X! malloc return %p\n", (unsigned int)&hello_main, nums);
free(nums);
diff --git a/com32/elflink/modules/menu.c b/...
2012 Apr 17
2
[GIT PULL] elflink warning fixes and auto extension support
...h>
#include <com32.h>
+#include <core.h>
#include <syslinux/pmapi.h>
#include <syslinux/idle.h>
diff --git a/com32/modules/hello.c b/com32/modules/hello.c
index f28d38d..d3d4d29 100644
--- a/com32/modules/hello.c
+++ b/com32/modules/hello.c
@@ -13,7 +13,7 @@
#define NUM_COUNT 10
#define MAX_NUM 100
-int main(int argc, char **argv)
+int main(int argc __unused, char **argv __unused)
{
int *nums = NULL;
diff --git a/com32/modules/meminfo.c b/com32/modules/meminfo.c
index 00d0e14..34b3e91 100644
--- a/com32/modules/meminfo.c
+++ b/com32/modules/meminfo.c
@@ -4...
2020 Nov 01
12
[PATCH mlx5-next v1 00/11] Convert mlx5 to use auxiliary bus
From: Leon Romanovsky <leonro at nvidia.com>
Changelog:
v1:
* Renamed _mlx5_rescan_driver to be mlx5_rescan_driver_locked like in
other parts of the mlx5 driver.
* Renamed MLX5_INTERFACE_PROTOCOL_VDPA to tbe MLX5_INTERFACE_PROTOCOL_VNET as
a preparation to coming series from Eli C.
* Some small naming renames in mlx5_vdpa.
* Refactored adev index code to make Parav's SF series
2011 Apr 16
20
[PATCH 00/20] Switch to ELF modules
From: Matt Fleming <matt.fleming at linux.intel.com>
This series fixes some bugs and switches the elflink branch to be
entirely ELF modules. It applies on top of,
http://syslinux.zytor.com/archives/2011-April/016369.html
The deletions in the diff stat below are mainly from deleting
com32/elflink/modules (finally!). Now there should be no duplicate
code because we don't need COM32 and