ChangeSet@1.2057, 2005-02-25 20:28:59-08:00, aurelien@aurel32.net [PATCH] USB: Fix usbfs regression I have just tested kernel version 2.6.11-rc5 and noticed it is not possible to do an USB transfer by submitting an URB to an output endpoint. This breaks newest versions of libusb and thus SANE, gphoto2, and a lot of software. The bug was introduced in version 2.6.11-rc1 and is due to a wrong comparison. Signed-off-by: Aurelien Jarno Signed-off-by: Greg Kroah-Hartman Signed-off-by: Linus Torvalds ChangeSet@1.2056, 2005-02-25 19:39:39-08:00, torvalds@ppc970.osdl.org Fix possible pty line discipline race. This ain't pretty. Real fix under discussion. ChangeSet@1.2055, 2005-02-25 16:51:25-08:00, olh@suse.de [PATCH] Fix incorrect __init on 'modedb[]' array modedb can not be __init because fb_find_mode() (which is not __init) may get db == NULL. fb_find_mode() is called from modules. Signed-off-by: Olaf Hering Signed-off-by: Linus Torvalds ChangeSet@1.2053, 2005-02-25 14:17:57-08:00, akpm@osdl.org [PATCH] binfmt_elf build fix The cast to void still triggers the gcc "warning: ignoring return value" warning, which is dumb of it. So ignore the return value differently. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2052, 2005-02-25 14:17:43-08:00, gregkh@suse.de [PATCH] USB: fix bug in acm's open function Here's a patch for 2.6.11-rc5 that a lot of cdc-acm driver users are clamoring for. There's a bug introduced in a cleanup which will lead to a race making reopenings fail. This fix is by Alexander Lykanov. Signed-off-by: Oliver Neukum Signed-off-by: Greg Kroah-Hartman Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2051, 2005-02-25 14:17:30-08:00, dhowells@redhat.com [PATCH] Make keyctl(KEYCTL_JOIN_SESSION_KEYRING) use the correct arg The attached patch makes keyctl() use the correct argument when invoking the KEYCTL_JOIN_SESSION_KEYRING function. I'm not sure how this evaded testing before, but I suspect the compiler was kind and made both argument registers hold the same value. Thanks to Kevin Coffman for spotting this. Signed-Off-By: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2049.1.1, 2005-02-25 19:47:46+00:00, rmk@flint.arm.linux.org.uk [ARM] Fix dma_mmap() size argument. We were passing the size of the region in pages, where as remap_pfn_range expected the size in bytes. Signed-off-by: Russell King ChangeSet@1.2050, 2005-02-25 08:48:33-08:00, david@gibson.dropbear.id.au [PATCH] ppc64: hugepage hash flushing bugfix This fixes a potentially bad (although very rarely triggered) bug in the ppc64 hugepage code. hpte_update() did not correctly calculate the address for hugepages, so pte_clear() (which we use for hugepage ptes as well as normal ones) would not correctly flush the hash page table entry. Under the right circumstances this could potentially lead to duplicate hash entries, which is very bad. davem's upcoming patch to pass the virtual address directly to set_pte() and its ilk will obsolete this, but this is bad enough it should probably be fixed in the meantime. Signed-off-by: David Gibson Acked-by: William Irwin Signed-off-by: Linus Torvalds ChangeSet@1.2049, 2005-02-23 17:44:08-08:00, torvalds@ppc970.osdl.org Linux 2.6.11-rc5 TAG: v2.6.11-rc5