01 Dec, 2009

2 commits


20 Nov, 2009

9 commits


19 Nov, 2009

11 commits

  • * 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/davej/cpufreq:
    [CPUFREQ] Fix stale cpufreq_cpu_governor pointer
    [CPUFREQ] Resolve time unit thinko in ondemand/conservative govs
    [CPUFREQ] speedstep-ich: fix error caused by 394122ab144dae4b276d74644a2f11c44a60ac5c
    [CPUFREQ] Fix use after free on governor restore
    [CPUFREQ] acpi-cpufreq: blacklist Intel 0f68: Fix HT detection and put in notification message
    [CPUFREQ] powernow-k8: Fix test in get_transition_latency()
    [CPUFREQ] longhaul: select Longhaul version 2 for capable CPUs

    Linus Torvalds
     
  • Doing the strcmp return value as

    signed char __res = *cs - *ct;

    is wrong for two reasons. The subtraction can overflow because __res
    doesn't use a type big enough. Moreover the compared bytes should be
    interpreted as unsigned char as specified by POSIX.

    The same problem is fixed in strncmp.

    Signed-off-by: Uwe Kleine-König
    Cc: Michael Buesch
    Cc: Andreas Schwab
    Cc: Andrew Morton
    Signed-off-by: Linus Torvalds

    Linus Torvalds
     
  • * 'agp-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/airlied/agp-2.6:
    agp/intel-agp: Set dma_mask for capable chipsets before agp_add_bridge()

    Linus Torvalds
     
  • …s/security-testing-2.6

    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/security-testing-2.6:
    ima: replace GFP_KERNEL with GFP_NOFS

    Linus Torvalds
     
  • We should set this before calling agp_add_bridge() so that it's done
    before we map the scratch page too.

    This should probably fix the regression reported as k.o. bug #14627.

    Signed-off-by: David Woodhouse
    Signed-off-by: Dave Airlie

    David Woodhouse
     
  • …/git/tmlind/linux-omap-2.6

    * 'omap-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6:
    OMAP: cs should be positive in gpmc_cs_free()
    omap: fix unlikely(x) < y
    omap3: clock: Fixed dpll3_m2x2 rate calculation
    omap3: clock: Fix the DPLL freqsel computations
    omap: Fix keymap for zoom2 according to matrix keypad framwork

    Linus Torvalds
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6:
    ASoC: tlv320aic23 fix rate selection
    ASoC: OMAP3 Pandora: update for TWL4030 codec changes
    ASoC: Modifying the license string GPLv2 for OMAP3 EVM
    ALSA: hda - Fix quirk for VAIO type G
    ALSA: usb - Quirk to disable master volume control in PCM2702

    Linus Torvalds
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6: (42 commits)
    cxgb3: fix premature page unmap
    ibm_newemac: Fix EMACx_TRTR[TRT] bit shifts
    vlan: Fix register_vlan_dev() error path
    gro: Fix illegal merging of trailer trash
    sungem: Fix Serdes detection.
    net: fix mdio section mismatch warning
    ppp: fix BUG on non-linear SKB (multilink receive)
    ixgbe: Fixing EEH handler to handle more than one error
    net: Fix the rollback test in dev_change_name()
    Revert "isdn: isdn_ppp: Use SKB list facilities instead of home-grown implementation."
    TI Davinci EMAC : Fix Console Hang when bringing the interface down
    smsc911x: Fix Console Hang when bringing the interface down.
    mISDN: fix error return in HFCmulti_init()
    forcedeth: mac address fix
    r6040: fix version printing
    Bluetooth: Fix regression with L2CAP configuration in Basic Mode
    Bluetooth: Select Basic Mode as default for SOCK_SEQPACKET
    Bluetooth: Set general bonding security for ACL by default
    r8169: Fix receive buffer length when MTU is between 1515 and 1536
    can: add the missing netlink get_xstats_size callback
    ...

    Linus Torvalds
     
  • While running fsstress tests on the NFSv4 mounted ext3 and ext4
    filesystem, the following call trace was generated on the nfs
    server machine.

    Replace GFP_KERNEL with GFP_NOFS in ima_iint_insert() to avoid a
    potential deadlock.

    =================================
    [ INFO: inconsistent lock state ]
    2.6.31-31.el6.x86_64 #1
    ---------------------------------
    inconsistent {RECLAIM_FS-ON-W} -> {IN-RECLAIM_FS-W} usage.
    kswapd2/75 [HC0[0]:SC0[0]:HE1:SE1] takes:
    (jbd2_handle){+.+.?.}, at: [] jbd2_journal_start+0xfe/0x13f
    {RECLAIM_FS-ON-W} state was registered at:
    [] mark_held_locks+0x65/0x99
    [] lockdep_trace_alloc+0xbd/0xf5
    [] kmem_cache_alloc+0x40/0x185
    [] ima_iint_insert+0x3d/0xf1
    [] ima_inode_alloc+0x25/0x44
    [] inode_init_always+0xec/0x271
    [] alloc_inode+0x51/0xa1
    [] new_inode+0x2e/0x94
    [] ext4_new_inode+0xb8/0xdc9
    [] ext4_create+0xcf/0x175
    [] vfs_create+0x82/0xb8
    [] do_filp_open+0x32c/0x9ee
    [] do_sys_open+0x6c/0x12c
    [] sys_open+0x2e/0x44
    [] system_call_fastpath+0x16/0x1b
    [] 0xffffffffffffffff
    irq event stamp: 90371
    hardirqs last enabled at (90371): []
    kmem_cache_alloc+0xf0/0x185
    hardirqs last disabled at (90370): []
    kmem_cache_alloc+0x89/0x185
    softirqs last enabled at (89492): []
    __do_softirq+0x1bf/0x1eb
    softirqs last disabled at (89477): [] call_softirq+0x1c/0x30

    other info that might help us debug this:
    2 locks held by kswapd2/75:
    #0: (shrinker_rwsem){++++..}, at: [] shrink_slab+0x44/0x177
    #1: (&type->s_umount_key#25){++++..}, at: []

    Reported-by: Muni P. Beerakam
    Reported-by: Amit K. Arora
    Cc: stable@kernel.org
    Signed-off-by: Mimi Zohar
    Signed-off-by: James Morris

    Mimi Zohar
     
  • The index `cs' is signed, test whether it is negative before we release
    gpmc_cs_mem[cs].

    Signed-off-by: Roel Kluin
    Cc: Russell King
    Signed-off-by: Tony Lindgren
    Signed-off-by: Andrew Morton

    Roel Kluin
     
  • The closing parenthesis was not in the right location.

    Signed-off-by: Roel Kluin
    Cc: Russell King
    Signed-off-by: Tony Lindgren
    Signed-off-by: Andrew Morton

    Roel Kluin
     

18 Nov, 2009

18 commits