ChangeSet@1.2065, 2005-02-28 10:33:43-08:00, rddunlap@osdl.org [PATCH] rrunner: fix section references rrunner: references __initdata in a __devinit function; data should be __devinitdata; Error: ./drivers/net/rrunner.o .text refers to 00000000000002b2 R_X86_64_32S .init.data Signed-off-by: Randy Dunlap Signed-off-by: Jes Sorensen Signed-off-by: Linus Torvalds ChangeSet@1.2064, 2005-02-28 10:33:30-08:00, rddunlap@osdl.org [PATCH] hp100: fix section references hp100: references __init code that should be marked as __devinit; Error: ./drivers/net/hp100.o .text refers to 0000000000000f7f R_X86_64_PC32 .init.text+0x00000000000000b8 Signed-off-by: Randy Dunlap Signed-off-by: Linus Torvalds ChangeSet@1.2063, 2005-02-28 10:33:16-08:00, randy.dunlap@verizon.net [PATCH] dc395x: fix section references dc395x scsi driver makes many references to __init functions & __initdata that should be __devinit & __devinitdata. Error: ./drivers/scsi/dc395x.o .text refers to 00000000000021ef R_X86_64_PC32 .init.text+0x00000000000000b4 Error: ./drivers/scsi/dc395x.o .text refers to 000000000000220e R_X86_64_PC32 .init.text+0x000000000000009c Error: ./drivers/scsi/dc395x.o .text refers to 000000000000222e R_X86_64_PC32 .init.text+0x000000000000009c Error: ./drivers/scsi/dc395x.o .text refers to 00000000000022f4 R_X86_64_PC32 .init.text+0x0000000000000177 Error: ./drivers/scsi/dc395x.o .text refers to 0000000000002301 R_X86_64_32S .init.data Error: ./drivers/scsi/dc395x.o .text refers to 0000000000002307 R_X86_64_32S .init.data+0x0000000000000004 Error: ./drivers/scsi/dc395x.o .text refers to 000000000000230f R_X86_64_32S .init.data+0x0000000000000008 Error: ./drivers/scsi/dc395x.o .text refers to 0000000000002317 R_X86_64_32S .init.data+0x000000000000000c Error: ./drivers/scsi/dc395x.o .text refers to 000000000000231d R_X86_64_32S .init.data Error: ./drivers/scsi/dc395x.o .text refers to 000000000000232d R_X86_64_PC32 .init.text+0xfffffffffffffffc Error: ./drivers/scsi/dc395x.o .text refers to 000000000000237a R_X86_64_PC32 .init.text+0x00000000000000b4 Error: ./drivers/scsi/dc395x.o .text refers to 000000000000238c R_X86_64_PC32 .init.text+0x000000000000009c Error: ./drivers/scsi/dc395x.o .text refers to 00000000000023ac R_X86_64_PC32 .init.text+0x00000000000000b4 Error: ./drivers/scsi/dc395x.o .text refers to 00000000000023d6 R_X86_64_PC32 .init.text+0x000000000000009c Error: ./drivers/scsi/dc395x.o .text refers to 00000000000023e6 R_X86_64_PC32 .init.text+0x000000000000009c Error: ./drivers/scsi/dc395x.o .text refers to 00000000000023fe R_X86_64_PC32 .init.text+0x000000000000009c Error: ./drivers/scsi/dc395x.o .text refers to 000000000000240b R_X86_64_PC32 .init.text+0x000000000000009c Error: ./drivers/scsi/dc395x.o .text refers to 0000000000002418 R_X86_64_PC32 .init.text+0x000000000000009c Error: ./drivers/scsi/dc395x.o .text refers to 000000000000242f R_X86_64_PC32 .init.text+0x000000000000009c Error: ./drivers/scsi/dc395x.o .text refers to 000000000000243f R_X86_64_PC32 .init.text+0x000000000000009c Error: ./drivers/scsi/dc395x.o .text refers to 0000000000002469 R_X86_64_PC32 .init.text+0x00000000000000b4 Error: ./drivers/scsi/dc395x.o .text refers to 0000000000002476 R_X86_64_PC32 .init.text+0x000000000000009c Error: ./drivers/scsi/dc395x.o .text refers to 0000000000002489 R_X86_64_PC32 .init.data+0x0000000000000060 Error: ./drivers/scsi/dc395x.o .text refers to 0000000000002494 R_X86_64_PC32 .init.text+0x0000000000000177 Error: ./drivers/scsi/dc395x.o .text refers to 00000000000024a3 R_X86_64_32S .init.data+0x0000000000000078 Error: ./drivers/scsi/dc395x.o .text refers to 00000000000024ac R_X86_64_PC32 .init.text+0xfffffffffffffffc Signed-off-by: Randy Dunlap Signed-off-by: Linus Torvalds ChangeSet@1.2062, 2005-02-28 10:33:01-08:00, rddunlap@osdl.org [PATCH] isdn: use __init for ICCVersion() ICCVersion() is only used by init code & can be marked __init; Error: ./drivers/isdn/hisax/icc.o .text refers to 000000000000014a R_X86_64_32S .init.data Signed-off-by: Randy Dunlap Signed-off-by: Linus Torvalds ChangeSet@1.2061, 2005-02-28 10:32:47-08:00, rddunlap@osdl.org [PATCH] sound/oss/opl3as2: fix init section reference sound/oss/opl3sa2: calls __init function during probe, which may be after init for PNP devices; Error: ./sound/oss/opl3sa2.o .text refers to 0000000000000204 R_X86_64_PC32 .init.text+0xfffffffffffffffc Error: ./sound/oss/opl3sa2.o .text refers to 0000000000000210 R_X86_64_PC32 .init.text+0xfffffffffffffffc Error: ./sound/oss/opl3sa2.o .text refers to 000000000000021c R_X86_64_PC32 .init.text+0xfffffffffffffffc Signed-off-by: Randy Dunlap Signed-off-by: Linus Torvalds ChangeSet@1.2060, 2005-02-28 10:32:33-08:00, rddunlap@osdl.org [PATCH] sonicvibes: fix initdata references sonicvibes: _devinit function was referencing __initdata (2x), which should be __devinitdata; Error: ./sound/oss/sonicvibes.o .text refers to 0000000000003ca7 R_X86_64_32S .init.data+0x0000000000000080 Error: ./sound/oss/sonicvibes.o .text refers to 00000000000043eb R_X86_64_32S .init.data+0x0000000000000024 Error: ./sound/oss/sonicvibes.o .text refers to 00000000000043f2 R_X86_64_32S .init.data+0x0000000000000020 Signed-off-by: Randy Dunlap Signed-off-by: Linus Torvalds ChangeSet@1.2059, 2005-02-28 10:32:19-08:00, rddunlap@osdl.org [PATCH] sound/oss/aedsp16: init/exit section cleanups: Exit-only function uninit_aedsp16() was marked __init instead of __exit; ae_config data was marked __initdata but used during exit; several cleanup functions were marked _init but used for init or exit cleanups; Error: ./sound/oss/aedsp16.o .exit.text refers to 0000000000000004 R_X86_64_PC32 .init.data+0x000000000000003b Error: ./sound/oss/aedsp16.o .exit.text refers to 000000000000000c R_X86_64_PC32 .init.text+0x00000000000001e4 Error: ./sound/oss/aedsp16.o .exit.text refers to 0000000000000013 R_X86_64_PC32 .init.text+0x0000000000000034 Error: ./sound/oss/aedsp16.o .exit.text refers to 0000000000000019 R_X86_64_PC32 .init.data+0x000000000000003f Error: ./sound/oss/aedsp16.o .exit.text refers to 0000000000000023 R_X86_64_PC32 .init.text+0x00000000000001b4 Signed-off-by: Randy Dunlap Signed-off-by: Linus Torvalds ChangeSet@1.2058, 2005-02-28 10:28:19-08:00, axboe@suse.de [PATCH] [PATCH] Fix bounced bio and dm panic Make sure that a bio doesn't contain NULL pages in the front of its vec, if a device bounces a bio that doesn't start from 0. Problem noted by Mark Haverkamp. Signed-off-by: Jens Axboe Signed-off-by: Linus Torvalds ChangeSet@1.2057, 2005-02-28 08:36:29-08:00, andrea@suse.de [PATCH] Make the new merged pipe writes check for SIGPIPE The new pipe buffer merging doesn't check for the "no readers" case, so with small writes that coalesce, we may not get a timely SIGPIPE/EPIPE notification to the writer. Signed-off-by: Andrea Arcangeli Signed-off-by: Linus Torvalds ChangeSet@1.2056, 2005-02-28 08:36:14-08:00, torvalds@ppc970.osdl.org Make pipe "poll()" take direction of pipe into account. The pipe code has traditionally not cared about which end-point of the pipe you are polling, meaning that if you poll the write-only end of a pipe, it will still set the "this pipe is readable" bits if there is data to be read on the read side. That makes no sense, and together with the new bigger buffers breaks python-twisted. Based on debugging/patch by Andrea Arcangeli and testcase from Thomas Crhak ChangeSet@1.2055, 2005-02-27 16:10:07-08:00, rddunlap@osdl.org [PATCH] srat: initdata section references srat's node_to_pxm() references pxm2node[] after init. so pxm2node[] should not be __initdata. Error: ./arch/x86_64/mm/srat.o .text refers to 0000000000000008 R_X86_64_32S .init.data Error: ./arch/x86_64/mm/srat.o .text refers to 0000000000000015 R_X86_64_32S .init.data Signed-off-by: Randy Dunlap Signed-off-by: Linus Torvalds ChangeSet@1.2049.1.17, 2005-02-27 11:15:10-08:00, davem@nuts.davemloft.net [AF_UNIX]: Fix SIOCINQ for STREAM and SEQPACKET. We should report the total bytes in the whole receive queue, not just the first packet, in these cases. Reported by Uwe Bonnes. Signed-off-by: David S. Miller ChangeSet@1.2049.1.16, 2005-02-27 11:10:03-08:00, davem@nuts.davemloft.net [IPV4]: Fix lost routes in fn_hash netlink dumps. Spotted by itkes@fat.imed.msu.ru, the fn_hash_dump_bucket() main loop does not increment 'i' properly, and thus routes will not be listed, when the test 'i < s_i' passes. The bug was added when the code was converted over to hlist_for_each_entry() by your's truly. Signed-off-by: David S. Miller ChangeSet@1.2049.1.14, 2005-02-26 10:12:16-08:00, torvalds@ppc970.osdl.org Properly limit keyboard keycodes to KEY_MAX. It can only be set by root, but let's not tempt people to do things that can't work. ChangeSet@1.2049.1.13, 2005-02-26 10:03:27-08:00, Andries.Brouwer@cwi.nl [PATCH] more apic.c setup_APIC_timer is only called in __init context and uses __initdata ChangeSet@1.2049.1.12, 2005-02-26 10:03:13-08:00, Andries.Brouwer@cwi.nl [PATCH] __initdata in apic.c wait_timer_tick refers to the __init functions wait_8254_wraparound or wait_hpet_tick, hence must be __initdata. ChangeSet@1.2049.1.11, 2005-02-26 10:02:59-08:00, Andries.Brouwer@cwi.nl [PATCH] remove __initdata in scsi_devinfo.c scsi_dev_flags is referred to in module_param_string(dev_flags, scsi_dev_flags, sizeof(scsi_dev_flags), 0); ChangeSet@1.2049.1.10, 2005-02-26 10:02:45-08:00, Andries.Brouwer@cwi.nl [PATCH] __init in cfq-iosched.c cfq_init() calls __init cfq_slab_setup and hence must be __init itself also made it static ChangeSet@1.2049.1.9, 2005-02-26 10:02:30-08:00, Andries.Brouwer@cwi.nl [PATCH] __devinitdata in parport_pc parport_init_mode is referred to in int __devinit sio_via_probe(). ChangeSet@1.2049.1.8, 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.2049.1.7, 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.2049.1.6, 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.2049.1.4, 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.2049.1.3, 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.2049.1.2, 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.2.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.2049.1.1, 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.2052, 2005-02-24 12:02:05+01:00, bzolnier@trik.(none) [ide] fix IRQ masking in ide_do_request() Revert to previous way of handling masked_irq argument. Reported to fix problems with shared PCI IRQs. Signed-off-by: Bartlomiej Zolnierkiewicz ChangeSet@1.2051, 2005-02-24 11:14:08+01:00, bzolnier@trik.(none) [ide] fix build for built-in hpt366 and modular ide-disk * always call __ide_do_rw_disk() in ide_do_rw_disk() * modify ide_hwif_t->rw_disk hook accordingly * update and cleanup hpt372n_rw_disk() (the only user of ide_hwif_t->rw_disk hook) * make __ide_do_rw_disk() static + fix comment Signed-off-by: Bartlomiej Zolnierkiewicz ChangeSet@1.2050, 2005-02-24 11:01:48+01:00, rddunlap@osdl.org [ide] make 1-bit fields unsigned It's a bit difficult to have a value and a sign bit in a 1-bit field. Fix (90) boolean/bitfield sparse warnings: include/linux/ide.h:937:18: warning: dubious one-bit signed bitfield include/linux/ide.h:939:17: warning: dubious one-bit signed bitfield Signed-off-by: Randy Dunlap Signed-off-by: Bartlomiej Zolnierkiewicz ChangeSet@1.2035.21.6, 2005-02-23 20:02:03-08:00, davem@nuts.davemloft.net Merge bk://bk.skbuff.net:20611/linux-2.6-sysctl/ into nuts.davemloft.net:/disk1/BK/net-2.6 ChangeSet@1.2035.21.5, 2005-02-23 19:59:02-08:00, robert.olsson@data.slu.se [PKTGEN]: reduce stack usage From Randy Dunlap Signed-off-by: David S. Miller ChangeSet@1.2035.21.4, 2005-02-23 19:50:04-08:00, laforge@netfilter.org [NETFILTER]: ipt_hashlimit rule load time race condition This is the best we've got: We cannot release and re-grab lock, since checkentry() is called before ip_tables.c grabs ipt_mutex. We also cannot grab the hashtable spinlock, since htable_create will call vmalloc, and that can sleep. And we cannot just re-search the list of htable's in htable_create(), since then we would create duplicate proc files. Signed-off-by: Harald Welte Signed-off-by: David S. Miller ChangeSet@1.2035.21.3, 2005-02-23 19:48:15-08:00, robert.olsson@data.slu.se [PKTGEN]: Replace interruptible_sleep_on_timeout() From Nishanth Aravamudan Signed-off-by: David S. Miller ChangeSet@1.2035.21.2, 2005-02-23 19:44:58-08:00, yoshfuji@linux-ipv6.org [IPV6]: Unregister per-device snmp6 proc entry earlier. Do it in addrconf_ifdown. This fixes OOPSes on shutdown with 2.6.10 Signed-off-by: Hideaki YOSHIFUJI Signed-off-by: Herbert Xu Signed-off-by: David S. Miller ChangeSet@1.2035.21.1, 2005-02-23 19:38:18-08:00, kaber@trash.net [NETFILTER]: Prevent NAT from seeing fragments The path for loopback is: LOCAL_OUT: conntrack defrags POST_ROUTING: conntrack refrags PRE_ROUTING: skip conntrack defrag because skb->nfct != NULL PRE_ROUTING: NAT gets hit by fragments Always defrag on loopback if NAT is compiled in. Signed-off-by: Patrick McHardy Acked-by: Rusty Russel Signed-off-by: David S. Miller 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