05 Feb, 2008

35 commits

  • According to the bluetooth HID spec v1.0 chapter 7.4.2

    "This code requests a major state change in a BT-HID device. A HID_CONTROL
    request does not generate a HANDSHAKE response."

    "A HID_CONTROL packet with a parameter of VIRTUAL_CABLE_UNPLUG is the only
    HID_CONTROL packet a device can send to a host. A host will ignore all other
    packets."

    So in the hidp_precess_hid_control function, we just need to deal with the
    UNLUG packet.

    Signed-off-by: Dave Young
    Signed-off-by: Andrew Morton
    Signed-off-by: David S. Miller

    Dave Young
     
  • From: "Nathaniel Filardo"

    Taken from http://bugzilla.kernel.org/show_bug.cgi?id=9806

    The TUN/TAP driver only permits one-way transitions of IFF_NO_PI or
    IFF_ONE_QUEUE during the lifetime of a tap/tun interface. Note that
    tun_set_iff contains

    541 if (ifr->ifr_flags & IFF_NO_PI)
    542 tun->flags |= TUN_NO_PI;
    543
    544 if (ifr->ifr_flags & IFF_ONE_QUEUE)
    545 tun->flags |= TUN_ONE_QUEUE;

    This is easily fixed by adding else branches which clear these bits.

    Steps to reproduce:

    This is easily reproduced by setting an interface persistant using tunctl then
    attempting to open it as IFF_TAP or IFF_TUN, without asserting the IFF_NO_PI
    flag. The ioctl() will succeed and the ifr.flags word is not modified, but the
    interface remains in IFF_NO_PI mode (as it was set by tunctl).

    Acked-by: Maxim Krasnyansky
    Signed-off-by: Andrew Morton
    Signed-off-by: David S. Miller

    Nathaniel Filardo
     
  • hw[] is used in both init and exit functions so it cannot be initdata (section
    mismatch is when CONFIG_MODULES=n and CONFIG_DMASCC=y).

    WARNING: vmlinux.o(.exit.text+0xba7): Section mismatch: reference to .init.data: (between 'dmascc_exit' and 'sixpack_exit_driver')

    Signed-off-by: Randy Dunlap
    Cc: Klaus Kudielka
    Cc: Sam Ravnborg
    Signed-off-by: Andrew Morton
    Signed-off-by: David S. Miller

    Randy Dunlap
     
  • If SCTP-AUTH is enabled, received AUTH chunk with BAD shared key
    identifier will cause kernel panic.

    Test as following:
    step1: enabled /proc/sys/net/sctp/auth_enable
    step 2: connect to SCTP server with auth capable. Association is
    established between endpoints. Then send a AUTH chunk with a bad
    shareid, SCTP server will kernel panic after received that AUTH chunk.

    SCTP client SCTP server
    INIT ---------->
    (with auth capable)

    AUTH chunk is like this:
    AUTH chunk
    Chunk type: AUTH (15)
    Chunk flags: 0x00
    Chunk length: 28
    Shared key identifier: 10
    HMAC identifier: SHA-1 (1)
    HMAC: 0000000000000000000000000000000000000000

    The assignment of NULL to key can safely be removed, since key_for_each
    (which is just list_for_each_entry under the covers does an initial
    assignment to key anyway).

    If the endpoint_shared_keys list is empty, or if the key_id being
    requested does not exist, the function as it currently stands returns
    the actuall list_head (in this case endpoint_shared_keys. Since that
    list_head isn't surrounded by an actuall data structure, the last
    iteration through list_for_each_entry will do a container_of on key, and
    we wind up returning a bogus pointer, instead of NULL, as we should.

    > Neil Horman wrote:
    >> On Tue, Jan 22, 2008 at 05:29:20PM +0900, Wei Yongjun wrote:
    >>
    >> FWIW, Ack from me. The assignment of NULL to key can safely be
    >> removed, since
    >> key_for_each (which is just list_for_each_entry under the covers does
    >> an initial
    >> assignment to key anyway).
    >> If the endpoint_shared_keys list is empty, or if the key_id being
    >> requested does
    >> not exist, the function as it currently stands returns the actuall
    >> list_head (in
    >> this case endpoint_shared_keys. Since that list_head isn't
    >> surrounded by an
    >> actuall data structure, the last iteration through
    >> list_for_each_entry will do a
    >> container_of on key, and we wind up returning a bogus pointer,
    >> instead of NULL,
    >> as we should. Wei's patch corrects that.
    >>
    >> Regards
    >> Neil
    >>
    >> Acked-by: Neil Horman
    >>
    >
    > Yep, the patch is correct.
    >
    > Acked-by: Vlad Yasevich
    >
    > -vlad
    >

    Signed-off-by: Wei Yongjun
    Acked-by: Neil Horman
    Acked-by: Vlad Yasevich
    Signed-off-by: David S. Miller

    Wei Yongjun
     
  • If STCP is started while /proc/sys/net/sctp/auth_enable is set 0 and
    association is established between endpoints. Then if
    /proc/sys/net/sctp/auth_enable is set 1, a received AUTH chunk will
    cause kernel panic.

    Test as following:
    step 1: echo 0> /proc/sys/net/sctp/auth_enable
    step 2:

    SCTP client SCTP server
    INIT --------->

    /proc/sys/net/sctp/auth_enable
    step 4:
    SCTP client SCTP server
    AUTH -----------> Kernel Panic

    This patch fix this probleam to treat AUTH chunk as unknow chunk if peer
    has initialized with no auth capable.

    > Sorry for the delay. Was on vacation without net access.
    >
    > Wei Yongjun wrote:
    >>
    >>
    >> This patch fix this probleam to treat AUTH chunk as unknow chunk if
    >> peer has initialized with no auth capable.
    >>
    >> Signed-off-by: Wei Yongjun
    >
    > Acked-by: Vlad Yasevich
    >
    >>

    Signed-off-by: Wei Yongjun
    Acked-by: Vlad Yasevich
    Signed-off-by: David S. Miller

    Wei Yongjun
     
  • The line in the /proc/net/fib_trie for route with TOS specified
    - has extra \n at the end
    - does not have a space after route scope
    like below.
    |-- 1.1.1.1
    /32 universe UNICASTtos =1

    Signed-off-by: Denis V. Lunev
    Signed-off-by: David S. Miller

    Denis V. Lunev
     
  • Move ipv6_icmp_sysctl_init and ipv6_route_sysctl_init into the right
    ifdef section otherwise that does not compile when CONFIG_SYSCTL=yes
    and CONFIG_PROC_FS=no

    Signed-off-by: Daniel Lezcano
    Acked-by: YOSHIFUJI Hideaki
    Signed-off-by: David S. Miller

    Daniel Lezcano
     
  • The 2.6 latest git build was broken when using the following
    configuration options:
    CONFIG_NET_EMATCH=n
    CONFIG_NET_CLS_FLOW=y

    with the following error:
    net/sched/cls_flow.c: In function 'flow_dump':
    net/sched/cls_flow.c:598: error: 'struct tcf_ematch_tree' has no
    member named 'hdr'
    make[2]: *** [net/sched/cls_flow.o] Error 1
    make[1]: *** [net/sched] Error 2
    make: *** [net] Error 2

    see the recent post by Li Zefan:
    http://www.spinics.net/lists/netdev/msg54434.html

    The reason for this crash is that struct tcf_ematch_tree
    (net/pkt_cls.h) is empty when CONFIG_NET_EMATCH is not defined.

    When CONFIG_NET_EMATCH is defined, the tcf_ematch_tree structure
    indeed holds a struct tcf_ematch_tree_hdr (hdr) as flow_dump()
    expects.

    This patch adds #ifdef CONFIG_NET_EMATCH in flow_dump to avoid this.

    Signed-off-by: Rami Rosen
    Signed-off-by: David S. Miller

    Rami Rosen
     
  • compile error building without CONFIG_FS_PROC:

    net/ipv4/fib_frontend.c: In function 'fib_net_init':
    net/ipv4/fib_frontend.c:1032: error: implicit declaration of function 'fib_proc_
    init'
    net/ipv4/fib_frontend.c: In function 'fib_net_exit':
    net/ipv4/fib_frontend.c:1047: error: implicit declaration of function 'fib_proc_
    exit'

    Signed-off-by: Li Zefan
    Signed-off-by: David S. Miller

    Li Zefan
     
  • A bug every C programmer makes at some point in time...

    Signed-off-by: Adrian Bunk
    Acked-by: Herbert Xu
    Signed-off-by: David S. Miller

    Adrian Bunk
     
  • * 'for-linus' of master.kernel.org:/home/rmk/linux-2.6-arm: (44 commits)
    [ARM] 4822/1: RealView: Change the REALVIEW_MPCORE configuration option
    [ARM] 4821/1: RealView: Remove the platform dependencies from localtimer.c
    [ARM] 4820/1: RealView: Select the timer IRQ at run-time
    [ARM] 4819/1: RealView: Fix entry-macro.S to work with multiple platforms
    [ARM] 4818/1: RealView: Add core-tile detection
    [ARM] 4817/1: RealView: Move the AMBA resource definitions to realview_eb.c
    [ARM] 4816/1: RealView: Move the platform-specific definitions into board-eb.h
    [ARM] 4815/1: RealView: Add clockevents suport for the local timers
    [ARM] 4814/1: RealView: Add broadcasting clockevents support for ARM11MPCore
    [ARM] 4813/1: Add SMP helper functions for clockevents support
    [ARM] 4812/1: RealView: clockevents support for the RealView platforms
    [ARM] 4811/1: RealView: clocksource support for the RealView platforms
    [ARM] 4736/1: Export atags to userspace and allow kexec to use customised atags
    [ARM] 4798/1: pcm027: fix missing header file
    [ARM] 4803/1: pxa: fix building issue of poodle.c caused by patch 4737/1
    [ARM] 4801/1: pxa: fix building issues of missing pxa2xx-regs.h
    [ARM] pxa: introduce sysdev for pxa3xx static memory controller
    [ARM] pxa: add preliminary suspend/resume code for pxa3xx
    [ARM] pxa: introduce sysdev for GPIO register saving/restoring
    [ARM] pxa: introduce sysdev for IRQ register saving/restoring
    ...

    Linus Torvalds
     
  • * 'slub-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/christoph/vm:
    Explain kmem_cache_cpu fields
    SLUB: Do not upset lockdep
    SLUB: Fix coding style violations
    Add parameter to add_partial to avoid having two functions
    SLUB: rename defrag to remote_node_defrag_ratio
    Move count_partial before kmem_cache_shrink
    SLUB: Fix sysfs refcounting
    slub: fix shadowed variable sparse warnings

    Linus Torvalds
     
  • Add some comments explaining the fields of the kmem_cache_cpu structure.

    Signed-off-by: Christoph Lameter
    Signed-off-by: Andrew Morton

    Christoph Lameter
     
  • inconsistent {softirq-on-W} -> {in-softirq-W} usage.
    swapper/0 [HC0[0]:SC1[1]:HE0:SE0] takes:
    (&n->list_lock){-+..}, at: [] add_partial+0x31/0xa0
    {softirq-on-W} state was registered at:
    [] __lock_acquire+0x3e8/0x1140
    [] debug_check_no_locks_freed+0x188/0x1a0
    [] lock_acquire+0x55/0x70
    [] add_partial+0x31/0xa0
    [] _spin_lock+0x1e/0x30
    [] add_partial+0x31/0xa0
    [] kmem_cache_open+0x1cc/0x330
    [] _spin_unlock_irq+0x24/0x30
    [] create_kmalloc_cache+0x64/0xf0
    [] init_alloc_cpu_cpu+0x70/0x90
    [] kmem_cache_init+0x65/0x1d0
    [] start_kernel+0x23e/0x350
    [] _sinittext+0x12d/0x140
    [] 0xffffffffffffffff

    This change isn't really necessary for correctness, but it prevents lockdep
    from getting upset and then disabling itself.

    Signed-off-by: Peter Zijlstra
    Cc: Christoph Lameter
    Cc: Kamalesh Babulal
    Signed-off-by: Andrew Morton
    Signed-off-by: Christoph Lameter

    root
     
  • This fixes most of the obvious coding style violations in mm/slub.c as
    reported by checkpatch.

    Acked-by: Christoph Lameter
    Signed-off-by: Pekka Enberg
    Signed-off-by: Andrew Morton
    Signed-off-by: Christoph Lameter

    Pekka Enberg
     
  • Add a parameter to add_partial instead of having separate functions. The
    parameter allows a more detailed control of where the slab pages is placed in
    the partial queues.

    If we put slabs back to the front then they are likely immediately used for
    allocations. If they are put at the end then we can maximize the time that
    the partial slabs spent without being subject to allocations.

    When deactivating slab we can put the slabs that had remote objects freed (we
    can see that because objects were put on the freelist that requires locks) to
    them at the end of the list so that the cachelines of remote processors can
    cool down. Slabs that had objects from the local cpu freed to them (objects
    exist in the lockless freelist) are put in the front of the list to be reused
    ASAP in order to exploit the cache hot state of the local cpu.

    Patch seems to slightly improve tbench speed (1-2%).

    Signed-off-by: Christoph Lameter
    Reviewed-by: Pekka Enberg
    Signed-off-by: Andrew Morton

    Christoph Lameter
     
  • The NUMA defrag works by allocating objects from partial slabs on remote
    nodes. Rename it to

    remote_node_defrag_ratio

    to be clear about this.

    Signed-off-by: Christoph Lameter
    Signed-off-by: Andrew Morton

    Christoph Lameter
     
  • Move the counting function for objects in partial slabs so that it is placed
    before kmem_cache_shrink.

    Signed-off-by: Christoph Lameter
    Signed-off-by: Andrew Morton

    Christoph Lameter
     
  • If CONFIG_SYSFS is set then free the kmem_cache structure when
    sysfs tells us its okay.

    Otherwise there is the danger (as pointed out by
    Al Viro) that sysfs thinks the kobject still exists after
    kmem_cache_destroy() removed it.

    Signed-off-by: Christoph Lameter
    Reviewed-by: Pekka J Enberg

    Christoph Lameter
     
  • Introduce 'len' at outer level:
    mm/slub.c:3406:26: warning: symbol 'n' shadows an earlier one
    mm/slub.c:3393:6: originally declared here

    No need to declare new node:
    mm/slub.c:3501:7: warning: symbol 'node' shadows an earlier one
    mm/slub.c:3491:6: originally declared here

    No need to declare new x:
    mm/slub.c:3513:9: warning: symbol 'x' shadows an earlier one
    mm/slub.c:3492:6: originally declared here

    Signed-off-by: Harvey Harrison
    Signed-off-by: Christoph Lameter

    Harvey Harrison
     
  • * at91:
    [ARM] 4802/1: Fix typo and remove vague comment
    [ARM] 4660/3: at91: allow selecting UART for early kernel messages
    [ARM] 4739/1: at91sam9263: make gpio bank C and D irqs work

    * ixp:
    [ARM] 4809/2: ixp4xx: Merge dsmg600-power.c into dsmg600-setup.c
    [ARM] 4808/2: ixp4xx: Merge nas100d-power.c into nas100d-setup.c
    [ARM] 4807/2: ixp4xx: Merge nslu2-power.c into nslu2-setup.c
    [ARM] 4806/1: ixp4xx: Ethernet support for the nslu2 and nas100d boards
    [ARM] 4805/1: ixp4xx: Use leds-gpio driver instead of IXP4XX-GPIO-LED driver
    [ARM] 4715/2: Ethernet support for IXDP425 boards
    [ARM] 4714/2: Headers for IXP4xx built-in Ethernet and WAN drivers
    [ARM] 4713/3: Adds drivers for IXP4xx QMgr and NPE features
    [ARM] 4712/2: Adds functions to read and write IXP4xx "feature" bits
    [ARM] 4774/2: ixp4xx: Register dsmg600 rtc i2c_board_info
    [ARM] 4773/2: ixp4xx: Register nas100d rtc i2c_board_info
    [ARM] 4772/2: ixp4xx: Register nslu2 rtc i2c_board_info
    [ARM] 4769/2: ixp4xx: Button updates for the dsmg600 board
    [ARM] 4768/2: ixp4xx: Button and LED updates for the nas100d board
    [ARM] 4767/2: ixp4xx: Add bitops.h include to io.h
    [ARM] 4766/2: ixp4xx: Update ixp4xx_defconfig, enabling all supported boards

    * master:
    [ARM] 4810/1: - Fix 'section mismatch' building warnings
    [ARM] xtime_seqlock: fix more ARM machines for xtime deadlocking
    [ARM] 21285 serial: fix build error

    * misc:
    [ARM] 4736/1: Export atags to userspace and allow kexec to use customised atags

    * pxa:
    [ARM] 4798/1: pcm027: fix missing header file
    [ARM] 4803/1: pxa: fix building issue of poodle.c caused by patch 4737/1
    [ARM] 4801/1: pxa: fix building issues of missing pxa2xx-regs.h
    [ARM] pxa: introduce sysdev for pxa3xx static memory controller
    [ARM] pxa: add preliminary suspend/resume code for pxa3xx
    [ARM] pxa: introduce sysdev for GPIO register saving/restoring
    [ARM] pxa: introduce sysdev for IRQ register saving/restoring
    [ARM] pxa: fix the warning of undeclared "struct pxaohci_platform_data"
    [ARM] pxa: change set_kset_name() to direct name assignment for MFP sysclass

    * realview:
    [ARM] 4822/1: RealView: Change the REALVIEW_MPCORE configuration option
    [ARM] 4821/1: RealView: Remove the platform dependencies from localtimer.c
    [ARM] 4820/1: RealView: Select the timer IRQ at run-time
    [ARM] 4819/1: RealView: Fix entry-macro.S to work with multiple platforms
    [ARM] 4818/1: RealView: Add core-tile detection
    [ARM] 4817/1: RealView: Move the AMBA resource definitions to realview_eb.c
    [ARM] 4816/1: RealView: Move the platform-specific definitions into board-eb.h
    [ARM] 4815/1: RealView: Add clockevents suport for the local timers
    [ARM] 4814/1: RealView: Add broadcasting clockevents support for ARM11MPCore
    [ARM] 4813/1: Add SMP helper functions for clockevents support
    [ARM] 4812/1: RealView: clockevents support for the RealView platforms
    [ARM] 4811/1: RealView: clocksource support for the RealView platforms

    Russell King
     
  • This patch changes the REALVIEW_MPCORE configuration option to
    REALVIEW_EB_ARM11MP since this is only specific to RealView/EB.

    Signed-off-by: Catalin Marinas
    Signed-off-by: Russell King

    Catalin Marinas
     
  • This patch removes the TWD_BASE macro used to set up and configure the
    local timers on ARM11MPCore. The twd_base_addr and twd_size variables
    are defined in localtimer.c and set from the realview_eb_init function.

    Signed-off-by: Catalin Marinas
    Signed-off-by: Russell King

    Catalin Marinas
     
  • This patch sets the timer IRQ at run-time by moving the sys_timer
    structure and the timer_init function to the realview_eb.c file. This
    allows multiple RealView platforms to be compiled in the same kernel
    image.

    Signed-off-by: Catalin Marinas
    Signed-off-by: Russell King

    Catalin Marinas
     
  • This patch modifies the get_irqnr_preamble macro to work with multiple
    platforms at run-time by reading the address of the GIC controller from
    the gic_cpu_base_addr variable. This variable is defined in core.c and
    intialised in realview_eb.c (gic_init_irq).

    Signed-off-by: Catalin Marinas
    Signed-off-by: Russell King

    Catalin Marinas
     
  • This patch adds the core-tile detection and only enables devices if the
    corresponding tile is present. It currently detects the ARM11MPCore via
    the core_tile_eb11mp() macro.

    Signed-off-by: Catalin Marinas
    Signed-off-by: Russell King

    Catalin Marinas
     
  • This patch moves the IRQ and DMA definitions from core.h into
    realview_eb.c since they are platform-specific. It adds a
    realview_eb11mp_fixup function to adjust the IRQ numbers if the
    ARM11MPCore tile is fitted. The realview_smc91x_device is also moved
    from core.c into realview_eb.c.

    Signed-off-by: Catalin Marinas
    Signed-off-by: Russell King

    Catalin Marinas
     
  • This patch moves the platform specific definitions from platform.h into
    the board-eb.h file. It drops the INT_* definitions as they are no
    longer used in irqs.h (moved to board-eb.h). It renames REALVIEW_*
    macros to REALVIEW_EB_* or REALVIEW_EB11MP_* to distinguish between
    standard EB and EB + the ARM11MPCore tile. The platform.h file contains
    common definitions to the RealView platforms and it is only directly
    included in board-*.h files.

    Signed-off-by: Catalin Marinas
    Signed-off-by: Russell King

    Catalin Marinas
     
  • This patch registers the local timers on ARM11MPCore as clock event
    devices. The clock device can be set up as periodic or oneshot.

    Signed-off-by: Catalin Marinas
    Signed-off-by: Russell King

    Catalin Marinas
     
  • This patch adds dummy local timers for each CPU so that the board clock
    device is used to broadcast events to the other CPUs. The patch also
    adds the declaration for the dummy_timer_setup function (the equivalent
    of local_timer_setup when CONFIG_LOCAL_TIMERS is not set).

    Due to the way clockevents work, the dummy timer on the first CPU has to
    be registered before the board timer.

    Signed-off-by: Catalin Marinas
    Signed-off-by: Russell King

    Catalin Marinas
     
  • This patch adds the smp_call_function_single and smp_timer_broadcast
    functions and modifies ipi_timer to call the platform-specific function
    local_timer_interrupt.

    Signed-off-by: Catalin Marinas
    Signed-off-by: Russell King

    Catalin Marinas
     
  • The patch updates the RealView code to the clockevents infrastructure.
    The SMP support is implemented in subsequent patches. Based on the
    Versatile implementation by Kevin Hilman.

    Signed-off-by: Catalin Marinas
    Signed-off-by: Russell King

    Catalin Marinas
     
  • The patch updates the RealView platform code to use the generic
    clocksource infrastructure for basic time keeping. Based on the
    Versatile implementation by Kevin Hilman.

    Signed-off-by: Catalin Marinas
    Signed-off-by: Russell King

    Catalin Marinas
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/x86/linux-2.6-x86: (78 commits)
    x86: fix RTC lockdep warning: potential hardirq recursion
    x86: cpa, micro-optimization
    x86: cpa, clean up code flow
    x86: cpa, eliminate CPA_ enum
    x86: cpa, cleanups
    x86: implement gbpages support in change_page_attr()
    x86: support gbpages in pagetable dump
    x86: add gbpages support to lookup_address
    x86: add pgtable accessor functions for gbpages
    x86: add PUD_PAGE_SIZE
    x86: add feature macros for the gbpages cpuid bit
    x86: switch direct mapping setup over to set_pte
    x86: fix page-present check in cpa_flush_range
    x86: remove cpa warning
    x86: remove now unused clear_kernel_mapping
    x86: switch pci-gart over to using set_memory_np() instead of clear_kernel_mapping()
    x86: cpa selftest, skip non present entries
    x86: CPA fix pagetable split
    x86: rename LARGE_PAGE_SIZE to PMD_PAGE_SIZE
    x86: cpa, fix lookup_address
    ...

    Linus Torvalds
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux-2.6-for-linus: (25 commits)
    virtio: balloon driver
    virtio: Use PCI revision field to indicate virtio PCI ABI version
    virtio: PCI device
    virtio_blk: implement naming for vda-vdz,vdaa-vdzz,vdaaa-vdzzz
    virtio_blk: Dont waste major numbers
    virtio_blk: provide getgeo
    virtio_net: parametrize the napi_weight for virtio receive queue.
    virtio: free transmit skbs when notified, not on next xmit.
    virtio: flush buffers on open
    virtnet: remove double ether_setup
    virtio: Allow virtio to be modular and used by modules
    virtio: Use the sg_phys convenience function.
    virtio: Put the virtio under the virtualization menu
    virtio: handle interrupts after callbacks turned off
    virtio: reset function
    virtio: populate network rings in the probe routine, not open
    virtio: Tweak virtio_net defines
    virtio: Net header needs hdr_len
    virtio: remove unused id field from struct virtio_blk_outhdr
    virtio: clarify NO_NOTIFY flag usage
    ...

    Linus Torvalds
     

04 Feb, 2008

5 commits

  • * git://git.kernel.org/pub/scm/linux/kernel/git/bunk/trivial: (79 commits)
    Jesper Juhl is the new trivial patches maintainer
    Documentation: mention email-clients.txt in SubmittingPatches
    fs/binfmt_elf.c: spello fix
    do_invalidatepage() comment typo fix
    Documentation/filesystems/porting fixes
    typo fixes in net/core/net_namespace.c
    typo fix in net/rfkill/rfkill.c
    typo fixes in net/sctp/sm_statefuns.c
    lib/: Spelling fixes
    kernel/: Spelling fixes
    include/scsi/: Spelling fixes
    include/linux/: Spelling fixes
    include/asm-m68knommu/: Spelling fixes
    include/asm-frv/: Spelling fixes
    fs/: Spelling fixes
    drivers/watchdog/: Spelling fixes
    drivers/video/: Spelling fixes
    drivers/ssb/: Spelling fixes
    drivers/serial/: Spelling fixes
    drivers/scsi/: Spelling fixes
    ...

    Linus Torvalds
     
  • * 'locks' of git://linux-nfs.org/~bfields/linux:
    pid-namespaces-vs-locks-interaction
    file locks: Use wait_event_interruptible_timeout()
    locks: clarify posix_locks_deadlock

    Linus Torvalds
     
  • AVR32 still includes Kconfig.instrumentation, so it won't build after
    this...

    Signed-off-by: Haavard Skinnemoen
    Acked-by: Mathieu Desnoyers
    Signed-off-by: Linus Torvalds

    Haavard Skinnemoen
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/sam/kbuild:
    scsi: fix dependency bug in aic7 Makefile
    kbuild: add svn revision information to setlocalversion
    kbuild: do not warn about __*init/__*exit symbols being exported
    Move Kconfig.instrumentation to arch/Kconfig and init/Kconfig
    Add HAVE_KPROBES
    Add HAVE_OPROFILE
    Create arch/Kconfig
    Fix ARM to play nicely with generic Instrumentation menu
    kconfig: ignore select of unknown symbol
    kconfig: mark config as changed when loading an alternate config
    kbuild: Spelling/grammar fixes for config DEBUG_SECTION_MISMATCH
    Remove __INIT_REFOK and __INITDATA_REFOK
    kbuild: print only total number of section mismatces found

    Linus Torvalds
     
  • Drivers that register a ->fault handler, but do not range-check the
    offset argument, must set VM_DONTEXPAND in the vm_flags in order to
    prevent an expanding mremap from overflowing the resource.

    I've audited the tree and attempted to fix these problems (usually by
    adding VM_DONTEXPAND where it is not obvious).

    Signed-off-by: Nick Piggin
    Signed-off-by: Linus Torvalds

    Nick Piggin