1. 01 2月, 2009 5 次提交
    • L
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/lrg/voltage-2.6 · 4b8d8ab5
      Linus Torvalds 提交于
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/lrg/voltage-2.6:
        leds: Fix bounds checking of wm8350->pmic.led
        regulator: move bq24022 init back to module_init instead of subsys_initcall
      4b8d8ab5
    • L
      Merge branch 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus · c5e18af9
      Linus Torvalds 提交于
      * 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus: (27 commits)
        MIPS: Alchemy: time.c build fix
        MIPS: RB532: Export rb532_gpio_set_func()
        MIPS: RB532: Update headers
        MIPS: RB532: Simplify dev3 init
        MIPS: RB532: Remove {get,set}_434_reg()
        MIPS: RB532: Move dev3 init code to devices.c
        MIPS: RB532: Fix set_latch_u5()
        MIPS: RB532: Fix init of rb532_dev3_ctl_res
        MIPS: RB532: Use driver_data instead of platform_data
        MIPS: RB532: Detect uart type, add platform device
        MIPS: RB532: remove useless CF GPIO initialisation
        MIPS: RB532: Auto disable GPIO alternate function
        MIPS: RB532: Add set_type() function to IRQ struct.
        MIPS: RC32434: Define io_map_base for PCI controller
        MIPS: RB532: Fix bit swapping in rb532_set_bit()
        MIPS: Use hardware watchpoints on all R1 and R2 CPUs.
        MIPS: Read watch registers with interrupts disabled.
        MIPS: Fix a typo in watchpoint register structure.
        MIPS: TXx9: Add support for TX4939 internal RTC
        MIPS: R2: Fix broken installation of cache error handler.
        ...
      c5e18af9
    • M
      Fix memory corruption in console selection · 878b8619
      Mikulas Patocka 提交于
      Fix an off-by-two memory error in console selection.
      
      The loop below goes from sel_start to sel_end (inclusive), so it writes
      one more character.  This one more character was added to the allocated
      size (+1), but it was not multiplied by an UTF-8 multiplier.
      
      This patch fixes a memory corruption when UTF-8 console is used and the
      user selects a few characters, all of them 3-byte in UTF-8 (for example
      a frame line).
      
      When memory redzones are enabled, a redzone corruption is reported.
      When they are not enabled, trashing of random memory occurs.
      Signed-off-by: NMikulas Patocka <mpatocka@redhat.com>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      878b8619
    • L
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6 · f984d024
      Linus Torvalds 提交于
      * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6:
        igb: fix link reporting when using sgmii
        igb: prevent skb_over panic w/ mtu smaller than 1K
        igb: Fix DCA errors and do not use context index for 82576
        ipv6: compile fix for ip6mr.c
        packet: Avoid lock_sock in mmap handler
        sfc: Replace stats_enabled flag with a disable count
        sfc: SFX7101/SFT9001: Fix AN advertisements
        sfc: SFT9001: Always enable XNP exchange on SFT9001 rev B
        sfc: Update board info for hardware monitor on SFN4111T-R5 and later
        sfc: Test for PHYXS faults whenever we cannot test link state bits
        sfc: Reinitialise the PHY completely in case of a PHY or NIC reset
        sfc: Fix post-reset MAC selection
        sfc: SFN4111T: Fix GPIO sharing between I2C and FLASH_CFG_1
        sfc: SFT9001: Fix speed reporting in 1G PHY loopback
        sfc: SFX7101: Remove workaround for bad link training
        sfc: SFT9001: Enable robust link training
        sky2: fix hard hang with netconsoling and iface going up
      f984d024
    • L
      Stop playing silly games with the VM_ACCOUNT flag · fc8744ad
      Linus Torvalds 提交于
      The mmap_region() code would temporarily set the VM_ACCOUNT flag for
      anonymous shared mappings just to inform shmem_zero_setup() that it
      should enable accounting for the resulting shm object.  It would then
      clear the flag after calling ->mmap (for the /dev/zero case) or doing
      shmem_zero_setup() (for the MAP_ANON case).
      
      This just resulted in vma merge issues, but also made for just
      unnecessary confusion.  Use the already-existing VM_NORESERVE flag for
      this instead, and let shmem_{zero|file}_setup() just figure it out from
      that.
      
      This also happens to make it obvious that the new DRI2 GEM layer uses a
      non-reserving backing store for its object allocation - which is quite
      possibly not intentional.  But since I didn't want to change semantics
      in this patch, I left it alone, and just updated the caller to use the
      new flag semantics.
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      fc8744ad
  2. 31 1月, 2009 35 次提交