Commit: 72713a452885b05e6f11f424bc7c63d955a55d07 Author: Adrian Bunk Wed, 29 Nov 2006 06:47:00 +0100 Linux 2.6.16.34 Commit: 8a775d0370ee37f44dabd61472625cc7695179bc Author: Adrian Bunk Sat, 25 Nov 2006 22:23:42 +0100 Linux 2.6.16.34-rc1 Commit: 4b066391b2a2260c453658bf9f2bd4648b3c2fc4 Author: Takashi Iwai Sat, 25 Nov 2006 22:22:08 +0100 [ALSA] echoaudio - Remove kfree_nocheck() Remove obsoleted kfree_nochec() (for debug). Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela Signed-off-by: Adrian Bunk Commit: 07dda8196a4e266f4304f1b1735614bf04e5f33d Author: Takashi Iwai Sat, 25 Nov 2006 22:21:14 +0100 [ALSA] echoaudio - Fix Makefile Fix missing makefile entries for echoaudio drivers Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela Signed-off-by: Adrian Bunk Commit: ba7f7af1da852e7af6b5912d21f544d5512f800f Author: Takashi Iwai Sat, 25 Nov 2006 22:20:26 +0100 [ALSA] Fix a typo in echoaudio/midi.c Fixed a typo in echoaudio/midi.c. Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela Signed-off-by: Adrian Bunk Commit: d32172fe43dd42512e7802a80f38096c2eb36bec Author: Giuliano Pochini pochini@shiny.it Sat, 25 Nov 2006 22:17:19 +0100 [ALSA] Add echoaudio sound drivers Add echoaudio sound drivers (darla20, darla24, echo3g, gina20, gina24, indigo, indigodj, indigoio, layla20, lala24, mia, mona) Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela Signed-off-by: Adrian Bunk Commit: 0d2da2ad7d48b4f7d0a1352d23a6826fe9a48468 Author: Steve French Sat, 25 Nov 2006 22:14:02 +0100 CIFS: report rename failure when target file is locked by Windows Fixes Samba bugzilla bug # 4182 Rename by handle failures (retry after rename by path) were not being returned back. Signed-off-by: Steve French Signed-off-by: Adrian Bunk Commit: 74fe77b76999fb30335e5b338e43f71deb53fc15 Author: Mark M. Hoffman Sat, 25 Nov 2006 03:02:49 +0100 i2c: Handle i2c_add_adapter failure in i2c algorithm drivers It is possible for i2c_add_adapter() to fail. Several I2C algorithm drivers ignore that fact. This (compile-tested only) patch fixes them. Signed-off-by: Mark M. Hoffman Signed-off-by: Jean Delvare Signed-off-by: Adrian Bunk Commit: 679d6ff3da25290c736f80feae9f4a75af9bf8fb Author: David L Stevens Sat, 25 Nov 2006 02:51:50 +0100 [IGMP]: Fix IGMPV3_EXP() normalization bit shift value. The IGMPV3_EXP() macro doesn't correctly shift the normalization bit, so time-out values are longer than they should be. Thanks to Dirk Ooms for finding the problem in IGMPv3 - MLDv2 had a similar problem that was already fixed a year ago. :-( Signed-off-by: David L Stevens Signed-off-by: David S. Miller Signed-off-by: Adrian Bunk Commit: 28bb4422588c130715fc0a39b32a366d29bb2f1b Author: Alan Stern Sat, 25 Nov 2006 02:47:52 +0100 USB: UHCI: Increase port-reset completion delay for HP controllers This patch (as657) increases the port-reset completion delay in uhci-hcd for HP's embedded controllers. Unlike other UHCI controllers, the HP chips can take as long as 250 us to carry out the processing associated with finishing a port reset. This fixes Novell bug #148761. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman Signed-off-by: Adrian Bunk Commit: 6ea24476068fae8b9c95bf67615436c02f737a5f Author: Christoph Hellwig Fri, 24 Nov 2006 04:38:58 +0100 [SCSI] hptiop: backout ioctl mess The hptiop just got merged with a horrible amount of really bad ioctl code that is against the standards for new scsi drivers. This patch backs it out (and fixes a small bug where scsi_add_host is called to early). We can re-add proper APIs once we agree on them. Signed-off-by: Christoph Hellwig Signed-off-by: Adrian Bunk Commit: 2918372bc191a0953ad53825cc19e52a0dabcedb Author: HighPoint Linux Team Fri, 24 Nov 2006 04:36:33 +0100 [SCSI] hptiop: wrong register used in hptiop_reset_hba() IOP reset message should be posted to inbound message register instead of outbound message register. Signed-off-by: HighPoint Linux Team Signed-off-by: Adrian Bunk Commit: 7e5cdf9cd620f5b471661400a537ca56e1ded68d Author: James Bottomley Fri, 24 Nov 2006 04:35:42 +0100 [SCSI] hptiop: don't use cmnd->bufflen use cmnd->request_bufflen instead. Signed-off-by: James Bottomley Signed-off-by: Adrian Bunk Commit: 9f7887935b72f0605bce42f9cbb6003abc0f9b78 Author: HighPoint Linux Team Fri, 24 Nov 2006 04:34:52 +0100 [SCSI] hptiop: HighPoint RocketRAID 3xxx controller driver Updates: - don't bypass SYNCHRONIZE_CACHE command - return SCSI_MLQUEUE_HOST_BUSY when no free request slots - move scsi_remove_host() to the begin of hpt_remove(), or it will not work after resources being released. Signed-off-by: HighPoint Linux Team Signed-off-by: Adrian Bunk Commit: 3bd2533830b6ab5612643d71a91746899069b74e Author: HighPoint Linux Team Fri, 24 Nov 2006 04:34:03 +0100 [SCSI] hptiop: HighPoint RocketRAID 3xxx controller driver HighPoint RocketRAID 3220/3320 series 8 channel PCI-X SATA RAID Host Adapters. Fixes from original submission: Merge Andrew Morton's patches: - Provide locking for global list - Fix debug printks - uninline function with multiple callsites - coding style fixups - remove unneeded casts of void* - kfree(NULL) is legal - Don't "succeed" if register_chrdev() failed - otherwise we'll later unregister a not-registered chrdev. - Don't return from hptiop_do_ioctl() with the spinlock held. - uninline __hpt_do_ioctl() Update for Arjan van de Ven's comments: - put all asm/ includes after the linux/ ones - replace mdelay with msleep - add pci posting flush - do not set pci command reqister in map_pci_bar - do not try merging sg elements in hptiop_buildsgl() - remove unused outstandingcommands member from hba structure - remove unimplemented hptiop_abort() handler - remove typedef u32 hpt_id_t Other updates: - fix endianess Signed-off-by: HighPoint Linux Team Signed-off-by: Adrian Bunk Commit: 0e10e6db6b44c5cea40f609b17327151170a34cb Author: Adrian Bunk Fri, 24 Nov 2006 03:27:09 +0100 update the OBSOLETE_OSS_DRIVER help text Signed-off-by: Adrian Bunk Commit: a2a17a0f15306a972f0290dc27322f920c0641df Author: Hidetoshi Seto Fri, 24 Nov 2006 03:11:19 +0100 sysfs: remove duplicated dput in sysfs_update_file Following function can drops d_count twice against one reference by lookup_one_len. /** * sysfs_update_file - update the modified timestamp on an object attribute. * @kobj: object we're acting for. * @attr: attribute descriptor. */ int sysfs_update_file(struct kobject * kobj, const struct attribute * attr) { struct dentry * dir = kobj->dentry; struct dentry * victim; int res = -ENOENT; mutex_lock(&dir->d_inode->i_mutex); victim = lookup_one_len(attr->name, dir, strlen(attr->name)); if (!IS_ERR(victim)) { /* make sure dentry is really there */ if (victim->d_inode && (victim->d_parent->d_inode == dir->d_inode)) { victim->d_inode->i_mtime = CURRENT_TIME; fsnotify_modify(victim); /** * Drop reference from initial sysfs_get_dentry(). */ dput(victim); res = 0; } else d_drop(victim); /** * Drop the reference acquired from sysfs_get_dentry() above. */ dput(victim); } mutex_unlock(&dir->d_inode->i_mutex); return res; } PCI-hotplug (drivers/pci/hotplug/pci_hotplug_core.c) is only user of this function. I confirmed that dentry of /sys/bus/pci/slots/XXX/* have negative d_count value. This patch removes unnecessary dput(). Signed-off-by: Hidetoshi Seto Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman Signed-off-by: Adrian Bunk Commit: 7eeeab0403c1d0dffbbe236e229ab98fde0aacac Author: Kirill Korotaev Fri, 24 Nov 2006 03:08:27 +0100 fix sys_getppid oopses on debug kernel sys_getppid() optimization can access a freed memory. On kernels with DEBUG_SLAB turned ON, this results in Oops. As Dave Hansen noted, this optimization is also unsafe for memory hotplug. So this patch always takes the lock to be safe. Signed-off-by: Kirill Korotaev Signed-off-by: Adrian Bunk Commit: d6042b2ec9446e7955d72a2155a4dff473ccc511 Author: Al Viro Fri, 24 Nov 2006 03:03:34 +0100 [IPX]: Annotate and fix IPX checksum Calculation of IPX checksum got buggered about 2.4.0. The old variant mangled the packet; that got fixed, but calculation itself got buggered. Restored the correct logics, fixed a subtle breakage we used to have even back then: if the sum is 0 mod 0xffff, we want to return 0, not 0xffff. The latter has special meaning for IPX (cheksum disabled). Observation (and obvious fix) nicked from history of FreeBSD ipx_cksum.c... Signed-off-by: Al Viro Signed-off-by: David S. Miller Signed-off-by: Adrian Bunk Commit: 635cc29c54bd88c69a2bbd357401cfaf67190aef Author: David S. Miller Fri, 24 Nov 2006 03:01:09 +0100 [IPX]: Fix typo, ipxhdr() --> ipx_hdr() Noticed by Dave Jones. Signed-off-by: David S. Miller Signed-off-by: Adrian Bunk Commit: a43a6210ce28978607dbbe09979ebd1b2baadb32 Author: Stephen Hemminger Fri, 24 Nov 2006 02:59:07 +0100 [IPX]: Another nonlinear receive fix Need to check some more cases in IPX receive. If the skb is purely fragments, the IPX header needs to be extracted. The function pskb_may_pull() may in theory invalidate all the pointers in the skb, so references to ipx header must be refreshed. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller Signed-off-by: Adrian Bunk Commit: 20e121b94529b4880c2ce0bd0b56d1d0c001db63 Author: Stephen Hemminger Fri, 24 Nov 2006 02:57:28 +0100 [IPX]: Header length validation needed This patch will linearize and check there is enough data. It handles the pprop case as well as avoiding a whole audit of the routing code. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller Signed-off-by: Adrian Bunk Commit: a06ee75aa0005026f27609e7b656ca738b5153d8 Author: Alexey Dobriyan Fri, 24 Nov 2006 02:56:20 +0100 [IPX]: Correct return type of ipx_map_frame_type(). Casting BE16 to int and back may or may not work. Correct, to be sure. Signed-off-by: Alexey Dobriyan Signed-off-by: David S. Miller Signed-off-by: Adrian Bunk Commit: c0235754cd95b0f9b4172572007135ec450c5615 Author: Jean Delvare Fri, 24 Nov 2006 02:53:16 +0100 Fix i2c-ixp4xx compilation breakage Fix recent i2c-ixp4xx compilation breakage. Sorry for overlooking it. Signed-off-by: Jean Delvare Signed-off-by: Adrian Bunk Commit: 5ab53cfeaf1552f45b29f7d036fc5830a751375d Author: Adrian Bunk Thu, 23 Nov 2006 02:11:07 +0100 [SCSI] advansys pci tweaks. Remove a lot of duplicate #defines from the advansys driver, and make them look like PCI IDs as defined elsewhere in the kernel. Also add a module table so that it automatically gets picked up by tools relying on modinfo output (like say, distro installers). Signed-off-by: Dave Jones Signed-off-by: Adrian Bunk Commit: bc1061baec20fbbfe65484a96830733f90f1ecd0 Author: Randy Dunlap Thu, 23 Nov 2006 02:09:36 +0100 advansys section fixes Priority: not critical. Mark 3 functions __init. Saves a little memory. This makes these functions' calls to AdvWaitEEPCmd() (which is __init) be clean (i.e., eliminates text -> init -> text call chain). Fix multiple section mismatch warnings: WARNING: drivers/scsi/advansys.o - Section mismatch: reference to .init.text: from .text between 'AdvSet3550EEPConfig' (at offset 0x7a22) and 'AdvSet38C0800EEPConfig' WARNING: drivers/scsi/advansys.o - Section mismatch: reference to .init.text: from .text between 'AdvSet3550EEPConfig' (at offset 0x7a4e) and 'AdvSet38C0800EEPConfig' WARNING: drivers/scsi/advansys.o - Section mismatch: reference to .init.text: from .text between 'AdvSet3550EEPConfig' (at offset 0x7a79) and 'AdvSet38C0800EEPConfig' WARNING: drivers/scsi/advansys.o - Section mismatch: reference to .init.text: from .text between 'AdvSet3550EEPConfig' (at offset 0x7aa2) and 'AdvSet38C0800EEPConfig' WARNING: drivers/scsi/advansys.o - Section mismatch: reference to .init.text: from .text between 'AdvSet3550EEPConfig' (at offset 0x7abb) and 'AdvSet38C0800EEPConfig' WARNING: drivers/scsi/advansys.o - Section mismatch: reference to .init.text: from .text between 'AdvSet38C0800EEPConfig' (at offset 0x7ae0) and 'AdvSet38C1600EEPConfig' WARNING: drivers/scsi/advansys.o - Section mismatch: reference to .init.text: from .text between 'AdvSet38C0800EEPConfig' (at offset 0x7b0c) and 'AdvSet38C1600EEPConfig' WARNING: drivers/scsi/advansys.o - Section mismatch: reference to .init.text: from .text between 'AdvSet38C0800EEPConfig' (at offset 0x7b37) and 'AdvSet38C1600EEPConfig' WARNING: drivers/scsi/advansys.o - Section mismatch: reference to .init.text: from .text between 'AdvSet38C0800EEPConfig' (at offset 0x7b60) and 'AdvSet38C1600EEPConfig' WARNING: drivers/scsi/advansys.o - Section mismatch: reference to .init.text: from .text between 'AdvSet38C0800EEPConfig' (at offset 0x7b79) and 'AdvSet38C1600EEPConfig' WARNING: drivers/scsi/advansys.o - Section mismatch: reference to .init.text: from .text between 'AdvSet38C1600EEPConfig' (at offset 0x7b9e) and 'AdvExeScsiQueue' WARNING: drivers/scsi/advansys.o - Section mismatch: reference to .init.text: from .text between 'AdvSet38C1600EEPConfig' (at offset 0x7bca) and 'AdvExeScsiQueue' WARNING: drivers/scsi/advansys.o - Section mismatch: reference to .init.text: from .text between 'AdvSet38C1600EEPConfig' (at offset 0x7bf5) and 'AdvExeScsiQueue' WARNING: drivers/scsi/advansys.o - Section mismatch: reference to .init.text: from .text between 'AdvSet38C1600EEPConfig' (at offset 0x7c1e) and 'AdvExeScsiQueue' WARNING: drivers/scsi/advansys.o - Section mismatch: reference to .init.text: from .text between 'AdvSet38C1600EEPConfig' (at offset 0x7c37) and 'AdvExeScsiQueue' Signed-off-by: Randy Dunlap Signed-off-by: Adrian Bunk Commit: 3e7fbd085f3dcab0da8511614758cd3920d9be73 Author: Linus Torvalds Thu, 23 Nov 2006 02:01:01 +0100 [SCSI] advansys driver: limp along on x86 Let people enable the advansys driver on x86-32, even though it's broken on other architectures due to missing DMA mapping infrastructure. It's used by Jeffrey Phillips Freeman and possibly others. Signed-off-by: Linus Torvalds Signed-off-by: Adrian Bunk Commit: 5e8721dcb57d748a3c6f21fe7986c40e9ebd5245 Author: Alexey Dobriyan Thu, 23 Nov 2006 01:33:16 +0100 i2c-ixp4xx: fix ") != 0))" typo i2c_bit_add_bus() returns -E; -E != 0 => err = 1 probe fails with positive error code Signed-off-by: Alexey Dobriyan Signed-off-by: Adrian Bunk