Permalink
Switch branches/tags
Commits on Apr 23, 2008
  1. Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel…

    torvalds committed Apr 23, 2008
    …/git/viro/vfs-2.6
    
    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs-2.6:
      [PATCH] get rid of __exit_files(), __exit_fs() and __put_fs_struct()
      [PATCH] proc_readfd_common() race fix
      [PATCH] double-free of inode on alloc_file() failure exit in create_write_pipe()
      [PATCH] teach seq_file to discard entries
      [PATCH] umount_tree() will unhash everything itself
      [PATCH] get rid of more nameidata passing in namespace.c
      [PATCH] switch a bunch of LSM hooks from nameidata to path
      [PATCH] lock exclusively in collect_mounts() and drop_collected_mounts()
      [PATCH] move a bunch of declarations to fs/internal.h
  2. Fix cardbus resource allocation

    torvalds committed Apr 23, 2008
    Commit 8845256 ("PCI: clean up resource
    alignment management") didn't set the alignment information for the
    cardbus window resources, causing their subsequent allocations to fail
    miserably with a message like
    
      yenta_cardbus 0000:15:00.0: device not available because of BAR 7 [100:1ff] collisions
      yenta_cardbus: probe of 0000:15:00.0 failed with error -16
    
    or similar.
    
    This fixes it and clarifies the code a bit too (we used to have to use
    the insane PCI bridge alignment logic that put the alignment in the
    "start" field, this makes it use the slightly easier-to-understand
    size-based alignment, and allows us to set the resource start to zero
    until it gets allocated).
    
    Reported-and-tested-by: Jeff Chua <jeff.chua.linux@gmail.com>
    Cc: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
    Cc: Jesse Barnes <jbarnes@virtuousgeek.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  3. bus_remove_device: be more careful about incomplete initialization

    rjwysocki authored and torvalds committed Apr 22, 2008
    Prevent bus_remove_device() from crashing if dev->knode_bus has not been
    initialized before it's called.
    
    This can happen if the device_add() ended up breaking out early due to
    an error, for example.
    
    Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
    Acked-by: Greg Kroah-Hartman <gregkh@suse.de>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  4. Relax check on adding children of suspended devices

    rjwysocki authored and torvalds committed Apr 22, 2008
    Do not refuse to actually register children of suspended devices,
    but still warn about attempts to do that.
    
    Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Commits on Apr 22, 2008
  1. [PATCH] get rid of __exit_files(), __exit_fs() and __put_fs_struct()

    Al Viro
    Al Viro committed Apr 22, 2008
    The only reason to have separated __...() for those was to keep them inlined
    for local users in exit.c.  Since Alexey removed the inline on those, there's
    no reason whatsoever to keep them around; just collapse with normal variants.
    
    Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
  2. [PATCH] proc_readfd_common() race fix

    Al Viro
    Al Viro committed Apr 22, 2008
    Since we drop the rcu_read_lock inside the loop, we can't assume
    that files->fdt will remain unchanged (and not freed) between
    iterations.
    
    Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
  3. [PATCH] double-free of inode on alloc_file() failure exit in create_w…

    Al Viro
    Al Viro committed Apr 22, 2008
    …rite_pipe()
    
    Duh...  Fortunately, the bug is quite recent (post-2.6.25) and, embarrassingly,
    mine ;-/
    
    Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
  4. Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/g…

    torvalds committed Apr 22, 2008
    …it/aegl/linux-2.6
    
    * 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6:
      [IA64] run drivers/misc/sgi-xp through scripts/checkpatch.pl
      [IA64] run rest drivers/misc/sgi-xp through scripts/Lindent
      [IA64] run some drivers/misc/sgi-xp through scripts/Lindent
      [IA64] move XP and XPC to drivers/misc/sgi-xp
      [IA64] minor irq handler cleanups
      [IA64] simplify notify hooks in mca.c
      [IA64] do notify DIE_MCA_MONARCH_PROCESS for each monarchs
      [IA64] disable interrupts on exit of ia64_trace_syscall
  5. fs: use loff_t type instead of long long

    kdave authored and torvalds committed Apr 22, 2008
    Use offset type consistently.
    
    Signed-off-by: David Sterba <dsterba@suse.cz>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  6. Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel…

    torvalds committed Apr 22, 2008
    …/git/jmorris/selinux-2.6
    
    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/selinux-2.6:
      SELinux fixups needed for preemptable RCU from -rt
      SELinux: no BUG_ON(!ss_initialized) in selinux_clone_mnt_opts
  7. [IA64] run drivers/misc/sgi-xp through scripts/checkpatch.pl

    Dean Nelson Tony Luck
    Dean Nelson authored and Tony Luck committed Apr 22, 2008
    Addressed issues raised by scripts/checkpatch.pl. Removed unnecessary curly
    braces. Eliminated uses of volatiles and use of kernel_thread() and daemonize().
    
    Signed-off-by: Dean Nelson <dcn@sgi.com>
    Signed-off-by: Tony Luck <tony.luck@intel.com>
  8. [IA64] run rest drivers/misc/sgi-xp through scripts/Lindent

    Dean Nelson Tony Luck
    Dean Nelson authored and Tony Luck committed Apr 22, 2008
    Ran patches through scripts/Lindent (part 2).
    
    Signed-off-by: Dean Nelson <dcn@sgi.com>
    Signed-off-by: Tony Luck <tony.luck@intel.com>
  9. [IA64] run some drivers/misc/sgi-xp through scripts/Lindent

    Dean Nelson Tony Luck
    Dean Nelson authored and Tony Luck committed Apr 22, 2008
    Ran patches through scripts/Lindent (part 1).
    
    Signed-off-by: Dean Nelson <dcn@sgi.com>
    Signed-off-by: Tony Luck <tony.luck@intel.com>
  10. [IA64] move XP and XPC to drivers/misc/sgi-xp

    Dean Nelson Tony Luck
    Dean Nelson authored and Tony Luck committed Apr 22, 2008
    Move XPC and XPNET from arch/ia64/sn/kernel to drivers/misc/sgi-xp.
    
    Signed-off-by: Dean Nelson <dcn@sgi.com>
    Signed-off-by: Tony Luck <tony.luck@intel.com>
  11. Merge branch 'i2c-for-linus' of git://jdelvare.pck.nerim.net/jdelvare…

    torvalds committed Apr 22, 2008
    …-2.6
    
    * 'i2c-for-linus' of git://jdelvare.pck.nerim.net/jdelvare-2.6:
      i2c: Fix platform driver hotplug/coldplug
      i2c: New driver for the SuperH Mobile I2C bus controller
      i2c/scx200_acb: Don't use 0 as NULL pointer
      i2c-bfin-twi: Fix mismatch in add timer and delete timer
      i2c-bfin-twi: Just let i2c-bfin-twi driver depends on BLACKFIN
      i2c-bfin-twi: Use simpler comment headers and strip out information that is maintained in the scm's log
      i2c-bfin-twi: Cleanup driver descriptions, versions and some module useful information
      i2c-bfin-twi: Add missing pin mux operation
      i2c-bfin-twi: Add platform_resource interface to support multi-port TWI controllers
      i2c-bfin-twi: Add repeat start feature to avoid break of a bundle of i2c master xfer operation
      i2c: Remove trailing whitespaces in busses/Kconfig
      i2c: Replace remaining __FUNCTION__ occurrences
      i2c: Renesas SH7760 I2C master driver
      i2c-dev: Split i2cdev_ioctl
      i2c-ibm_iic: Support building as an of_platform driver
      i2c-ibm_iic: Change the log levels
      i2c: Add platform driver on top of the new pca-algorithm
      i2c-algo-pca: Extend for future drivers
      i2c-algo-pca: Remove trailing whitespaces and unnecessary UTF
      i2c: Remove the algorithm drivers from the config menu
  12. kernel-doc: fix sched.c missing parameter

    Randy Dunlap authored and torvalds committed Apr 22, 2008
    Add missing kernel-doc in kernel/sched.c:
    
    Warning(linux-2.6.25-git3//kernel/sched.c:7044): No description found for parameter 'span'
    
    Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  13. Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel…

    torvalds committed Apr 22, 2008
    …/git/teigland/dlm
    
    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/teigland/dlm:
      dlm: linux/{dlm,dlm_device}.h: cleanup for userspace
      dlm: common max length definitions
      dlm: move plock code from gfs2
      dlm: recover nodes that are removed and re-added
      dlm: save master info after failed no-queue request
      dlm: make dlm_print_rsb() static
      dlm: match signedness between dlm_config_info and cluster_set
  14. Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel…

    torvalds committed Apr 22, 2008
    …/git/jikos/hid
    
    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid:
      HID: Suppress hidinput for Samsung IR control
      HID: remove 60x GTCO devices from blacklist
      HID: export headers properly
      HID: WiseGroup 866 Dual Joypad needs output reports quirk
      HID: ThrustMaster FF driver is no longer experimental
      HID: Logitech diNovo Mini pad support
      HID: fix race between open() and disconnect() in usbhid
      HID: make hid_input_field and usbhid_modify_dquirk static
      HID: pass numbered reports properly to hidraw
      HID: fix misplaced rdesc quirk
      HID: force feedback driver for Logitech Rumblepad 2
      HID: move wait from hid to usbhid
      HID: make function from dbg_hid
      HID: fix sparse warnings
      HID: only dump report traffic with debug level 2
      HID: patch to add NOGET for DMI/Acomdata
      HID: Sunplus Wireless Desktop needs report descriptor fixup
      HID: quirk for MS Wireless Desktop Receiver (model 1028)
      HID: fixup fullspeed interval on highspeed Afatech DVB-T IR kbd
      HID: fix build failure in hiddev_ioctl with gcc 3.2
  15. Merge branch 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel…

    torvalds committed Apr 22, 2008
    …/git/jack/linux-udf-2.6
    
    * 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-udf-2.6: (41 commits)
      udf: use crc_itu_t from lib instead of udf_crc
      udf: Fix compilation warnings when UDF debug is on
      udf: Fix bug in VAT mapping code
      udf: Add read-only support for 2.50 UDF media
      udf: Fix handling of multisession media
      udf: Mount filesystem read-only if it has pseudooverwrite partition
      udf: Handle VAT packed inside inode properly
      udf: Allow loading of VAT inode
      udf: Fix detection of VAT version
      udf: Silence warning about accesses beyond end of device
      udf: Improve anchor block detection
      udf: Cleanup anchor block detection.
      udf: Move processing of virtual partitions
      udf: Move filling of partition descriptor info into a separate function
      udf: Improve error recovery on mount
      udf: Cleanup volume descriptor sequence processing
      udf: fix anchor point detection
      udf: Remove declarations of arrays of size UDF_NAME_LEN (256 bytes)
      udf: Remove checking of existence of filename in udf_add_entry()
      udf: Mark udf_process_sequence() as noinline
      ...
  16. fix brd allocation flags

    ptesarik authored and torvalds committed Apr 22, 2008
    While looking at the implementation of the Ram backed block device
    driver, I stumbled across a write-only local variable, which makes
    little sense, so I assume it should actually work like this:
    
    Signed-off-by: Petr Tesarik <ptesarik@suse.cz>
    Signed-off-by: Nick Piggin <npiggin@suse.de>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  17. i2c: Fix platform driver hotplug/coldplug

    kaysievers authored and Jean Delvare committed Apr 22, 2008
    Since 43cc71e, the platform
    modalias is prefixed with "platform:". Add MODULE_ALIAS() to the
    hotpluggable I2C platform drivers, to allow module auto loading.
    
    [ db: add some more drivers ]
    
    Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
    Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
    Signed-off-by: Jean Delvare <khali@linux-fr.org>
  18. i2c: New driver for the SuperH Mobile I2C bus controller

    Magnus Damm Jean Delvare
    Magnus Damm authored and Jean Delvare committed Apr 22, 2008
    This is V5 of the SuperH Mobile I2C Controller Driver. A simple Master
    only driver for the I2C block included in processors such as sh7343,
    sh7722 and sh7723. Tested on a sh7722 MigoR using a rs5c732b rtc.
    
    Signed-off-by: Magnus Damm <damm@igel.co.jp>
    Signed-off-by: Paul Mundt <lethal@linux-sh.org>
    Signed-off-by: Jean Delvare <khali@linux-fr.org>
  19. i2c/scx200_acb: Don't use 0 as NULL pointer

    Adrian Bunk Jean Delvare
    Adrian Bunk authored and Jean Delvare committed Apr 22, 2008
    Don't use 0 as NULL pointer.
    
    Spotted by sparse.
    
    Signed-off-by: Adrian Bunk <bunk@kernel.org>
    Signed-off-by: Jean Delvare <khali@linux-fr.org>
  20. i2c-bfin-twi: Fix mismatch in add timer and delete timer

    Hans Schillstrom Jean Delvare
    Hans Schillstrom authored and Jean Delvare committed Apr 22, 2008
    Move init_completion to just before i2c transfer.
    http://blackfin.uclinux.org/gf/project/uclinux-dist/tracker/?action=TrackerItemEdit&tracker_item_id=3385
    
    Signed-off-by: Hans Schillstrom <hans.schillstrom@shlsys.com>
    Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
    Signed-off-by: Bryan Wu <cooloney@kernel.org>
    Signed-off-by: Jean Delvare <khali@linux-fr.org>
  21. i2c-bfin-twi: Just let i2c-bfin-twi driver depends on BLACKFIN

    Bryan Wu Jean Delvare
    Bryan Wu authored and Jean Delvare committed Apr 22, 2008
    Simply use "depends on BLACKFIN" (which is technically correct) and just
    document which machines have the device.
    
    Signed-off-by: Bryan Wu <cooloney@kernel.org>
    Signed-off-by: Jean Delvare <khali@linux-fr.org>
  22. i2c-bfin-twi: Use simpler comment headers and strip out information t…

    Mike Frysinger Jean Delvare
    Mike Frysinger authored and Jean Delvare committed Apr 22, 2008
    …hat is maintained in the scm's log
    
    Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
    Signed-off-by: Bryan Wu <cooloney@kernel.org>
    Signed-off-by: Jean Delvare <khali@linux-fr.org>
  23. i2c-bfin-twi: Cleanup driver descriptions, versions and some module u…

    Bryan Wu Jean Delvare
    Bryan Wu authored and Jean Delvare committed Apr 22, 2008
    …seful information
    
    Signed-off-by: Bryan Wu <cooloney@kernel.org>
    Signed-off-by: Jean Delvare <khali@linux-fr.org>
  24. i2c-bfin-twi: Add missing pin mux operation

    Bryan Wu Jean Delvare
    Bryan Wu authored and Jean Delvare committed Apr 22, 2008
    Blackfin TWI controller hardware pin should be requested from GPIO port controller
    Before BF54x, there is no need to do this. But as long as BF54x and BF52x
    are supported by this generic driver, the missing pin mux operation should be
    added.
    
    Signed-off-by: Bryan Wu <cooloney@kernel.org>
    Signed-off-by: Jean Delvare <khali@linux-fr.org>
  25. i2c-bfin-twi: Add platform_resource interface to support multi-port T…

    Bryan Wu Jean Delvare
    Bryan Wu authored and Jean Delvare committed Apr 22, 2008
    …WI controllers
    
     - Dynamic alloc the resource of TWI driver data according to board information
     - TWI register read/write accessor based on dynamic regs_base
     - Support TWI0/TWI1 for BF54x
    
    Signed-off-by: Bryan Wu <cooloney@kernel.org>
    Signed-off-by: Jean Delvare <khali@linux-fr.org>
  26. i2c-bfin-twi: Add repeat start feature to avoid break of a bundle of …

    sonicz authored and Jean Delvare committed Apr 22, 2008
    …i2c master xfer operation
    
     - Create a new mode TWI_I2C_MODE_REPEAT.
     - No change to smbus operation.
    
    Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
    Signed-off-by: Bryan Wu <cooloney@kernel.org>
    Signed-off-by: Jean Delvare <khali@linux-fr.org>
  27. i2c: Remove trailing whitespaces in busses/Kconfig

    Wolfram Sang Jean Delvare
    Wolfram Sang authored and Jean Delvare committed Apr 22, 2008
    Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
    Signed-off-by: Jean Delvare <khali@linux-fr.org>
  28. i2c: Replace remaining __FUNCTION__ occurrences

    hharrison authored and Jean Delvare committed Apr 22, 2008
    __FUNCTION__ is gcc-specific, use __func__.
    
    Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
    Signed-off-by: Jean Delvare <khali@linux-fr.org>
  29. i2c: Renesas SH7760 I2C master driver

    Manuel Lauss Jean Delvare
    Manuel Lauss authored and Jean Delvare committed Apr 22, 2008
    Driver for I2C interfaces in master mode on SH7760.
    
    Signed-off-by: Manuel Lauss <mano@roarinelk.homelinux.net>
    Signed-off-by: Jean Delvare <khali@linux-fr.org>
  30. i2c-dev: Split i2cdev_ioctl

    Jean Delvare Jean Delvare
    Jean Delvare authored and Jean Delvare committed Apr 22, 2008
    Split the handling of the I2C_RDWR and I2C_SMBUS ioctls to their own
    functions. This limits the stack usage, saves one level of indentation
    and makes the code more readable.
    
    Signed-off-by: Jean Delvare <khali@linux-fr.org>
  31. i2c-ibm_iic: Support building as an of_platform driver

    Sean MacLennan Jean Delvare
    Sean MacLennan authored and Jean Delvare committed Apr 22, 2008
    This patch allows the i2c-ibm_iic driver to be built either as an ocp 
    driver or an of_platform driver. This allows it to run under the powerpc 
    arch but maintains backward compatibility with the ppc arch.
    
    Signed-off-by: Sean MacLennan <smaclennan@pikatech.com>
    Signed-off-by: Jean Delvare <khali@linux-fr.org>