15 Aug, 2011

1 commit


14 Aug, 2011

10 commits


13 Aug, 2011

11 commits

  • * 'devicetree/merge' of git://git.secretlab.ca/git/linux-2.6:
    dt: add empty of_get_property for non-dt

    Linus Torvalds
     
  • * 'usb-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb-2.6: (30 commits)
    USB: Serial: Add PID(0xF7C0) to FTDI SIO driver for a zeitcontrol-device
    USB: Serial: Add device ID for Sierra Wireless MC8305
    USB: Serial: Added device ID for Qualcomm Modem in Sagemcom's HiLo3G
    usb/host/pci-quirks.c: correct annotation of `ehci_dmi_nohandoff_table'
    USB: option driver: add PID for Vodafone-Huawei K4511
    USB: option driver: add PID for Vodafone-Huawei K4510
    USB: option driver: add PID for Vodafone-Huawei K3771
    USB: option driver: add PID for Vodafone-Huawei K3770
    usb: serial: ftdi_sio.c: For the FT232H FTDI_SIO_SET_BAUDRATE_REQUEST, index needs to be shifted too
    usb/isp1760: Added missing call to usb_hcd_check_unlink_urb() during unlink
    USB: EHCI: Fix test mode sequence
    USB: ftdi_sio: fix minor typo in get_ftdi_divisor
    USB: at91_udc: include linux/prefetch.h explicitly
    USB: usb-storage: unusual_devs entry for ARM V2M motherboard.
    usb/ehci-mxc: add missing inclusion of mach/hardware.h
    USB: assign instead of equal in usbtmc.c
    usb: renesas_usbhs: fixup usbhsg_for_each_uep 1st pos
    usb: renesas_usbhs: fix DMA build by including dma-mapping.h
    usb: gadget: net2272 - Correct includes
    usb: musb: fix oops on musb_gadget_pullup
    ...

    Linus Torvalds
     
  • * 'staging-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging-2.6:
    zcache: Fix build error when sysfs is not defined
    zcache: Use div_u64 for 64-bit division
    staging:rts_pstor: fix thread synchronization flow
    drivers:staging:solo6x10:add the missed slab.h
    staging: zcache: include module.h for MODULE_LICENSE
    drivers/staging/hv/blkvsc_drv.c: eliminate NULL pointer dereference
    Staging: Add clk API note to nvec/TODO
    drivers/staging/ath6kl/miscdrv/ar3kps/ar3kpsparser.c: adjust array index
    staging: more missing slab.h inclusions
    drivers/staging/solo6x10/p2m.c needs slab.h
    drivers/staging/solo6x10/core.c needs slab.h
    drivers/staging/dt3155v4l/dt3155v4l.c needs slab.h
    drivers/staging/speakup/devsynth.c: fix "buffer size is not provably correct" error
    Staging: iio: add some unlocks to raw_read() functions
    staging: ft1000_proc needs asm/io.h for inw/outw on sparc
    staging: rtl8192u: declare MODULE_FIRMWARE
    gma500: Fix clashes with DRM updates
    staging: zcache: module is GPL
    staging: fix zcache building

    Linus Torvalds
     
  • * 'x86-vdso-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-tip:
    x86-64: Rework vsyscall emulation and add vsyscall= parameter
    x86-64: Wire up getcpu syscall
    x86: Remove unnecessary compile flag tweaks for vsyscall code
    x86-64: Add vsyscall:emulate_vsyscall trace event
    x86-64: Add user_64bit_mode paravirt op
    x86-64, xen: Enable the vvar mapping
    x86-64: Work around gold bug 13023
    x86-64: Move the "user" vsyscall segment out of the data segment.
    x86-64: Pad vDSO to a page boundary

    Linus Torvalds
     
  • * 'for-linus' of git://oss.sgi.com/xfs/xfs:
    xfs: replace xfs_buf_geterror() with bp->b_error
    xfs: Check the return value of xfs_buf_read() for NULL
    "xfs: fix error handling for synchronous writes" revisited
    xfs: set cursor in xfs_ail_splice() even when AIL was empty
    xfs: Remove the macro XFS_BUFTARG_NAME
    xfs: Remove the macro XFS_BUF_TARGET
    xfs: Remove the macro XFS_BUF_SET_TARGET
    Replace the macro XFS_BUF_ISPINNED with helper xfs_buf_ispinned
    xfs: Remove the macro XFS_BUF_SET_PTR
    xfs: Remove the macro XFS_BUF_PTR
    xfs: Remove macro XFS_BUF_SET_START
    xfs: Remove macro XFS_BUF_HOLD
    xfs: Remove macro XFS_BUF_BUSY and family
    xfs: Remove the macro XFS_BUF_ERROR and family
    xfs: Remove the macro XFS_BUF_BFLAGS

    Linus Torvalds
     
  • * 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/linux-arm-soc: (32 commits)
    ARM: mmp: Change the way we use timer 0 as clockevent timer.
    ARM: mmp: Switch to using timer 1 as clocksource timer.
    ARM: mmp: Also start timer 1 on boot.
    ARM: pxa168/gplugd: free correct GPIO
    ARM: pxa168/gplugd: get rid of mfp-gplugd.h
    ARM: pxa: fix logic error in PJ4 iWMMXt handling
    mach-sa1100: fix PCI build problem
    omap: timer: Set dmtimer used as clocksource in autoreload mode
    OMAP3: am3517crane: remove NULL board_mux from board file
    arm: mach-omap2: mux: use kstrdup()
    arch:arm:plat-omap:iovmm: remove unused variable 'va'
    Update Nook Color machine 3284 to common Encore name
    am3505/3517: Various platform defines for UART4
    OMAP: hwmod: fix build break on non-OMAP4 multi-OMAP2 builds
    OMAP: Fix linking error in twl-common.c for OMAP2/3/4 only builds
    iMX: Fix build for iMX53
    ARM: mx5: board-cpuimx51.c fixup irq_to_gpio() usage
    OMAP2+: PM: SmartReflex: use put_sync_suspend for IRQ-safe disabling
    OMAP3: beagle: don't touch omap_device internals
    OMAP1: enable GENERIC_IRQ_CHIP
    ...

    Linus Torvalds
     
  • Since we just checked bp for NULL, it is ok to replace
    xfs_buf_geterror() with bp->b_error in these places.

    Signed-off-by: Chandra Seetharaman
    Signed-off-by: Alex Elder

    Chandra Seetharaman
     
  • Check the return value of xfs_buf_read() for NULL and return ENOMEM
    if it is NULL. This is necessary in a few spots to avoid subsequent
    code blindly dereferencing the null buffer pointer.

    Signed-off-by: Chandra Seetharaman
    Signed-off-by: Alex Elder

    Chandra Seetharaman
     
  • …ux-omap-2.6 into fixes

    Arnd Bergmann
     
  • Takashi Iwai
     
  • sound/soc/codecs/wm8750.c:784:2: warning: missing braces around initializer
    sound/soc/codecs/wm8750.c:784:2: warning: (near initialization for ‘wm8750_spi_ids[2].name’)

    It's because struct spi_device_id.name is a char array, not a pointer,
    while the driver initializes explicitly with 0.

    Signed-off-by: Takashi Iwai

    Takashi Iwai
     

12 Aug, 2011

18 commits

  • Arnd Bergmann
     
  • Arnd Bergmann
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net: (44 commits)
    e1000e: increase driver version number
    e1000e: alternate MAC address update
    e1000e: do not disable receiver on 82574/82583
    e1000e: alternate MAC address does not work on device id 0x1060
    PCnet: Fix section mismatch
    bnx2x: disable dcb on 578xx since not supported yet
    bnx2x: properly clean indirect addresses
    bnx2x: prevent race between undi_unload and load flows
    bnx2x: fix select_queue when FCoE is disabled
    bnx2x: init FCOE FP only once
    ipv4: some rt_iif -> rt_route_iif conversions
    net/bridge/netfilter/ebtables.c: use available error handling code
    net/netlabel/netlabel_kapi.c: add missing cleanup code
    net/irda: sh_sir: tidyup compile warning
    net/irda: sh_sir: add missing header
    net/irda: sh_irda: add missing header
    slcan: ldisc generated skbs are received in softirq context
    scm: Capture the full credentials of the scm sender
    tcp: initialize variable ecn_ok in syncookies path
    drivers/net/wireless/wl1251: add missing kfree
    ...

    Linus Torvalds
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc:
    sparc: Don't do hypervisor calls on non-sun4v in DS driver.

    Linus Torvalds
     
  • David S. Miller
     
  • My gmail account got disabled and I'm not going to reopen it.

    Signed-off-by: Jarkko Nikula
    Acked-by: Liam Girdwood
    Signed-off-by: Mark Brown

    Jarkko Nikula
     
  • Reported-by: Pieter-Paul Giesberts
    Signed-off-by: David S. Miller

    David S. Miller
     
  • Just like files-layout, blocks & objects layouts are part of the
    NFS 4.1 protocol and should be automatically selected if NFS_4_1
    is selected. The small problem is that these depend on other
    Kernel support being present, while files only depends on NFS
    itself.

    This patch removes from the user choice the presence of objects
    and blocks layout. But makes sure these are selected only if
    the depended subsystems are present in the Kernel.

    Signed-off-by: Boaz Harrosh
    Acked-by: Peng Tao
    Signed-off-by: Linus Torvalds

    Boaz Harrosh
     
  • I2S in Exynos4 and S5PC110(S5PV210) has a internal dma.
    It can be used low power audio mode and 2nd channel transfer.
    This patch can support idma.

    [Reapplied after dependencies propagated through in 3.1-rc1. --broonie]

    Signed-off-by: Sangbeom Kim
    Acked-by: Jassi Brar
    Acked-by: Liam Girdwood
    Acked-by: Jassi Brar
    Signed-off-by: Mark Brown

    Sangbeom Kim
     
  • Commit df5e6223407e ("ext4: fix deadlock in ext4_symlink() in ENOSPC
    conditions") recalculated the number of credits needed for a long
    symlink, in the process of splitting it into two transactions. However,
    the first credit calculation under-counted because if selinux is
    enabled, credits are needed to create the selinux xattr as well.

    Overrunning the reservation will result in an OOPS in
    jbd2_journal_dirty_metadata() due to this assert:

    J_ASSERT_JH(jh, handle->h_buffer_credits > 0);

    Fix this by increasing the reservation size.

    Signed-off-by: Eric Sandeen
    Reviewed-by: Jan Kara
    Acked-by: "Theodore Ts'o"
    Cc: stable@kernel.org
    Signed-off-by: Linus Torvalds

    Eric Sandeen
     
  • Commit ae54870a1dc9 ("ext3: Fix lock inversion in ext3_symlink()")
    recalculated the number of credits needed for a long symlink, in the
    process of splitting it into two transactions. However, the first
    credit calculation under-counted because if selinux is enabled, credits
    are needed to create the selinux xattr as well.

    Overrunning the reservation will result in an OOPS in
    journal_dirty_metadata() due to this assert:

    J_ASSERT_JH(jh, handle->h_buffer_credits > 0);

    Fix this by increasing the reservation size.

    Signed-off-by: Eric Sandeen
    Reviewed-by: Jan Kara
    Acked-by: "Theodore Ts'o"
    Cc: stable@kernel.org
    Signed-off-by: Linus Torvalds

    Eric Sandeen
     
  • Signed-off-by: Bruce Allan
    Tested-by: Aaron Brown
    Signed-off-by: Jeff Kirsher

    Bruce Allan
     
  • If word 0x37 in the EEPROM is 0xFFFF _or_ 0x0000, then there is no
    alternate MAC address in the EEPROM.

    Signed-off-by: Bruce Allan
    Tested-by: Aaron Brown
    Signed-off-by: Jeff Kirsher

    Bruce Allan
     
  • Due to a hardware erratum, the receiver on 82574 and 82583 should not be
    stopped once it has been started.

    Signed-off-by: Bruce Allan
    Tested-by: Aaron Brown
    Signed-off-by: Jeff Kirsher

    Bruce Allan
     
  • This issue is present all the way back to 2.6.34 kernels.

    CC:
    Signed-off-by: Bruce Allan
    Tested-by: Jeffrey Pieper
    Signed-off-by: Jeff Kirsher

    Bruce Allan
     
  • The patch http://lkml.org/lkml/2003/7/13/226 introduced an RLIMIT_NPROC
    check in set_user() to check for NPROC exceeding via setuid() and
    similar functions.

    Before the check there was a possibility to greatly exceed the allowed
    number of processes by an unprivileged user if the program relied on
    rlimit only. But the check created new security threat: many poorly
    written programs simply don't check setuid() return code and believe it
    cannot fail if executed with root privileges. So, the check is removed
    in this patch because of too often privilege escalations related to
    buggy programs.

    The NPROC can still be enforced in the common code flow of daemons
    spawning user processes. Most of daemons do fork()+setuid()+execve().
    The check introduced in execve() (1) enforces the same limit as in
    setuid() and (2) doesn't create similar security issues.

    Neil Brown suggested to track what specific process has exceeded the
    limit by setting PF_NPROC_EXCEEDED process flag. With the change only
    this process would fail on execve(), and other processes' execve()
    behaviour is not changed.

    Solar Designer suggested to re-check whether NPROC limit is still
    exceeded at the moment of execve(). If the process was sleeping for
    days between set*uid() and execve(), and the NPROC counter step down
    under the limit, the defered execve() failure because NPROC limit was
    exceeded days ago would be unexpected. If the limit is not exceeded
    anymore, we clear the flag on successful calls to execve() and fork().

    The flag is also cleared on successful calls to set_user() as the limit
    was exceeded for the previous user, not the current one.

    Similar check was introduced in -ow patches (without the process flag).

    v3 - clear PF_NPROC_EXCEEDED on successful calls to set_user().

    Reviewed-by: James Morris
    Signed-off-by: Vasiliy Kulikov
    Acked-by: NeilBrown
    Signed-off-by: Linus Torvalds

    Vasiliy Kulikov
     
  • …wireless into for-davem

    John W. Linville
     
  • rs_resp is dynamically allocated in aem_read_sensor(), so it should be freed
    before exiting in every case. This collects the kfree and the return at
    the end of the function.

    Signed-off-by: Julia Lawall
    Signed-off-by: Guenter Roeck
    Cc: stable@kernel.org # 2.6.27+

    Julia Lawall