[patch] joystick: off by one error
This fixes a smatch warning: drivers/input/joystick/gamecon.c +838 gc_setup_pad(23) error: buffer overflow 'gc_names' 10 <= 10 Signed-off-by: Dan Carpenter <error27(a)gmail.com> diff --git a/drivers/input/joystick/gamecon.c b/drivers/input/joystick/gamecon.c index ae998d9..7a55714 100644 --- a/drivers/input/joys... 6 Mar 2010 06:23
[patch] sched: cleanup: remove unused variable in try_to_wake_up()
We haven't used the "orig_rq" variable since 055a00865d "Fix/add missing update_rq_clock() calls" Signed-off-by: Dan Carpenter <error27(a)gmail.com> diff --git a/kernel/sched.c b/kernel/sched.c index abb36b1..523c750 100644 --- a/kernel/sched.c +++ b/kernel/sched.c @@ -2359,7 +2359,7 @@ static int try_to_wake... 6 Mar 2010 06:23
[PATCH 2/2] staging: et131x: Fix brace coding style issues.
This revised patch fixes 2 brace coding style issues reported by checkpatch.pl One warning line > 80 chars not resolved on maintainers advice. Signed-off-by: Michael Tate <michael.tate(a)wanadoo.fr> --- drivers/staging/et131x/et131x_isr.c | 6 ++---- 1 files changed, 2 insertions(+), 4 deletions(-) diff --g... 6 Mar 2010 06:23
vga_switcheroo: locking question in vga_switcheroo_debugfs_write()
Hi Dave, drivers/gpu/vga/vga_switcheroo.c +362 vga_switcheroo_debugfs_write(101) 277 mutex_lock(&vgasr_mutex); 278 279 if (!vgasr_priv.active) 280 return -EINVAL; Is there a reason we return with the lock held here? The other returns from this function don't ha... 6 Mar 2010 06:23
[PATCH] sysfs/file: move NULL checks to where they make sense and can occur
.... avoiding checking for NULL 2 times in a row when we already have a page. It decreases code size: text data bss dec hex filename 4246 48 4136 8430 20ee fs/sysfs/file-BEFORE.o 4214 48 4136 8398 20ce fs/sysfs/file-AFTER.o Signed-off-by: André Goddard Rosa <andre.god... 6 Mar 2010 06:23
Quota cleanups & fixes and ext3 fixes for 2.6.34-rc1
On Fri, Mar 05, 2010 at 11:01:17PM +0000, Al Viro wrote: I'd say that places where it's added are lousy - if we want to do that on directory modifications, we ought to take it into places that actually create directory entries. Not to mention that we never shrink directories there, so it should be just one... 6 Mar 2010 05:19
[PATCH] vt.c remove unused variables
console write declare orig_buf and orig_count but never use them. Signed-off-by: Shahar Havivi <shaharh(a)redhat.com> --- drivers/char/vt.c | 4 ---- 1 files changed, 0 insertions(+), 4 deletions(-) diff --git a/drivers/char/vt.c b/drivers/char/vt.c index 50faa1f..94f530a 100644 --- a/drivers/char/vt.c ++... 6 Mar 2010 05:19
[PowerPC] 2.6.33-git11 : Badness at kernel/kprobes.c:264
With latest 33 git(2.6.33-git11 : 64096c1741...) on a POWER6 box type=2000 audit(1267853400.180:1): initialized Kprobe smoke test started ------------[ cut here ]------------ Badness at kernel/kprobes.c:264 NIP: c0000000006251e0 LR: c000000000625190 CTR: c00000000007914c REGS: c0000000fecc3680 TRAP: 0700 Not ... 6 Mar 2010 04:15
[GIT PULL] UBI changes for 2.6.34
Hi Linus, please, pull UBI changes for 2.6.34. Sorry, my tree is not based on top of a tagged -rc pre-release, but instead, it is based on top of a "random" commit. I just missed this. And then I decided that it is better to send this pull request, rather than re-base. The following changes since commit 64a... 6 Mar 2010 03:11
commit 554f76962d3a6eb5110415f1591aca83f96a84ae hangs USB for vmware 7.0.1
Jeff Chua wrote: On Sat, Mar 6, 2010 at 11:45 AM, Petr Vandrovec <petr(a)vmware.com <mailto:petr(a)vmware.com>> wrote: does your box hang, or is it just vmware process that is hung? Just the "vmware" process that hangs only. It just got stuck, and even kill -9 doesn't free it. ... 6 Mar 2010 02:07