First  |  Prev |  Next  |  Last
Pages: 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445
[PATCH 3/6] Driver core: Fix memory leak on class_register error path
This leak is the same as the bus path; cp's kobj name is set, but kset_register fails, free'ing cp, but not cp->class_subsys.kobj.name Signed-off-by: Patrick Pannuto <ppannuto(a)codeaurora.org> --- drivers/base/class.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/base/class.... 22 Jul 2010 19:08
[PATCH 6/6] kobj: Fix memory leak on error path of kset_create_and_add
This leak is the same as the bus path; kset->kobj.name is set, but kset_register fails, thus nothing will ever call kset_unregister and name will be leaked Signed-off-by: Patrick Pannuto <ppannuto(a)codeaurora.org> --- lib/kobject.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/lib/k... 22 Jul 2010 19:08
[PATCH] forcedeth: Fix different hardware statistics versions.
The macros for the values of the bit field describing the four different versions of statistics supported by different hardware variants were being misused. Where the code was trying to test if the hardware implements V3, it was actually testing whether it implements any of V1, V2, or V3, causing the driver to rep... 22 Jul 2010 19:08
Possible memory leaks on driver core error paths
In trying to understand the LDM, I came across a few places where I believe it's possible to leak memory. The first patch appears to just be a copy-paste bug, and 2-6 are all fixing the same fundamental problem, an explanation of which is given in 2/6. -- To unsubscribe from this list: send the line "unsubscribe... 22 Jul 2010 19:08
[PATCH 2/6] Driver core: Fix memory leak on bus_register error path
There is a subtle memory leak in driver core error path. Consider the simplified view of bus_register (drivers/base/bus.c): priv = kzalloc... kobject_set_name(&priv->subsys.kobj,...) <== allocate in priv->subsys.kobj.name if kset_register(&priv->subsys) FAILS: (1) -- need to free name string here! goto out e... 22 Jul 2010 19:08
[PATCH] scripts/checkpatch.pl: Add more exceptions to 80 char lines
Add new logging functions netdev_<level> and netif_<level>. Don't complain if the only thing on a line is a quoted string. Signed-off-by: Joe Perches <joe(a)perches.com> --- scripts/checkpatch.pl | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/checkpatch.pl b/scripts/checkpa... 22 Jul 2010 18:01
perf: export tracepoint events via sysfs: power
On Thursday, July 22, 2010, Lin Ming wrote: power tracepoint events are exported like below, /sys/power/events/ |-- power_end | |-- config | `-- type |-- power_frequency | |-- config | `-- type `-- power_start |-- config `-- type Any details? --- kernel/p... 22 Jul 2010 18:01
[RFC] x86: perf swallows all NMIs when registered with a user
Hi, When debugging a problem with Yinghai, I noticed that when the perf event subsystem has a user (in this case the new generic nmi_watchdog), it just blindly swallows all the NMIs in the system. This causes issues for people like Yinghai, who want to use an external nmi button to generate a panic, or other b... 22 Jul 2010 18:01
[PATCH] ACPI: create "processor.bm_check_disable" boot param
From: Len Brown <len.brown(a)intel.com> processor.bm_check_disable=1" prevents Linux from checking BM_STS before entering C3-type cpu power states. This may be useful for a system running acpi_idle where the BIOS exports FADT C-states, _CST IO C-states, or _CST FFH C-states with the BM_STS bit set; while config... 22 Jul 2010 18:01
cfq-iosched: Documentation update
On Thu, 22 Jul 2010 17:29:32 -0400 Vivek Goyal wrote: o Documentation update for group_idle tunable and Group IOPS mode. --- Documentation/block/cfq-iosched.txt | 44 ++++++++++++++++++++++++++++ Documentation/cgroups/blkio-controller.txt | 28 +++++++++++++++++ 2 files changed, 72 insertio... 23 Jul 2010 16:55
First  |  Prev |  Next  |  Last
Pages: 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445