Skip to content
  1. Jan 03, 2011
  2. Dec 29, 2010
  3. Dec 28, 2010
  4. Dec 27, 2010
    • Guennadi Liakhovetski's avatar
      fbdev: sh_mobile_lcdc: increase maximum framebuffer size to support 1080p · cb59bfc5
      Guennadi Liakhovetski authored
      
      
      LCDC hardware can support 1920x1080 formats, adjust the driver to cover them.
      Besides, instead of guessing some "reasonable" validity checks, only verify
      values in .fb_check_var(), that we are sure, we cannot support.
      
      Signed-off-by: default avatarGuennadi Liakhovetski <g.liakhovetski@gmx.de>
      Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
      cb59bfc5
    • Fabio Estevam's avatar
      video: imxfb: Fix the maximum value for yres · 60328917
      Fabio Estevam authored
      
      
      MX27 and MX25 have 10 bits in the YMAX field of LCDC Size Register.
      
      Fix the maximum value for yres.
      
      Signed-off-by: default avatarFabio Estevam <fabio.estevam@freescale.com>
      Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
      60328917
    • Jesper Juhl's avatar
      x86/microcode: Fix double vfree() and remove redundant pointer checks before vfree() · 5cdd2de0
      Jesper Juhl authored
      
      
      In arch/x86/kernel/microcode_intel.c::generic_load_microcode()
      we have  this:
      
      	while (leftover) {
      		...
      		if (get_ucode_data(mc, ucode_ptr, mc_size) ||
      		    microcode_sanity_check(mc) < 0) {
      			vfree(mc);
      			break;
      		}
      		...
      	}
      
      	if (mc)
      		vfree(mc);
      
      This will cause a double free of 'mc'. This patch fixes that by
      just  removing the vfree() call in the loop since 'mc' will be
      freed nicely just  after we break out of the loop.
      
      There's also a second change in the patch. I noticed a lot of
      checks for  pointers being NULL before passing them to vfree().
      That's completely  redundant since vfree() deals gracefully with
      being passed a NULL pointer.  Removing the redundant checks
      yields a nice size decrease for the object  file.
      
      Size before the patch:
         text    data     bss     dec     hex filename
         4578     240    1032    5850    16da arch/x86/kernel/microcode_intel.o
      Size after the patch:
         text    data     bss     dec     hex filename
         4489     240     984    5713    1651 arch/x86/kernel/microcode_intel.o
      
      Signed-off-by: default avatarJesper Juhl <jj@chaosbits.net>
      Acked-by: default avatarTigran Aivazian <tigran@aivazian.fsnet.co.uk>
      Cc: Shaohua Li <shaohua.li@intel.com>
      LKML-Reference: <alpine.LNX.2.00.1012251946100.10759@swampdragon.chaosbits.net>
      Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
      5cdd2de0
    • Jeff Garzik's avatar
      pata_cs5536: avoid implicit MSR API inclusion on x86-64 · ff5dd32b
      Jeff Garzik authored
      We don't need or want MSR usage here, on x86-64.
      x86-64 was disabled intentionally in Kconfig, but commit
      9272dcc2
      
       changed that.
      
      drivers/ata/pata_cs5536.c:47:1: warning: "rdmsr" redefined
      In file included from arch/x86/include/asm/irqflags.h:60,
                       from include/linux/irqflags.h:15,
                       from arch/x86/include/asm/system.h:11,
                       from arch/x86/include/asm/processor.h:17,
                       from include/linux/prefetch.h:14,
                       from include/linux/list.h:7,
                       from include/linux/module.h:9,
                       from drivers/ata/pata_cs5536.c:33:
      arch/x86/include/asm/paravirt.h:146:1: warning: this is the location of the previous definition
      drivers/ata/pata_cs5536.c:48:1: warning: "wrmsr" redefined
      arch/x86/include/asm/paravirt.h:154:1: warning: this is the location of the previous definition
      
      Reported-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
      Signed-off-by: default avatarJeff Garzik <jgarzik@redhat.com>
      ff5dd32b
    • Len Brown's avatar
    • Rafael J. Wysocki's avatar
      ACPI / ACPICA: Disable GPEs during initialization · 5acdb1af
      Rafael J. Wysocki authored
      
      
      GPEs with corresponding _Lxx/_Exx control methods need to be disabled
      during initialization in case they have been enabled by the BIOS, so
      that they don't fire up until they are enabled by acpi_update_gpes().
      
      References: https://bugzilla.kernel.org/show_bug.cgi?id=25412
      Signed-off-by: default avatarRafael J. Wysocki <rjw@sisk.pl>
      Signed-off-by: default avatarLen Brown <len.brown@intel.com>
      5acdb1af
    • Linus Torvalds's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6 · d7c1255a
      Linus Torvalds authored
      * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6: (42 commits)
        ipv4: dont create routes on down devices
        epic100: hamachi: yellowfin: Fix skb allocation size
        sundance: Fix oopses with corrupted skb_shared_info
        Revert "ipv4: Allow configuring subnets as local addresses"
        USB: mcs7830: return negative if auto negotiate fails
        irda: prevent integer underflow in IRLMP_ENUMDEVICES
        tcp: fix listening_get_next()
        atl1c: Do not use legacy PCI power management
        mac80211: fix mesh forwarding
        MAINTAINERS: email address change
        net: Fix range checks in tcf_valid_offset().
        net_sched: sch_sfq: fix allot handling
        hostap: remove netif_stop_queue from init
        mac80211/rt2x00: add ieee80211_tx_status_ni()
        typhoon: memory corruption in typhoon_get_drvinfo()
        net: Add USB PID for new MOSCHIP USB ethernet controller MCS7832 variant
        net_sched: always clone skbs
        ipv6: Fragment locally generated tunnel-mode IPSec6 packets as needed.
        netlink: fix gcc -Wconversion compilation warning
        asix: add USB ID for Logitec LAN-GTJ U2A
        ...
      d7c1255a
  5. Dec 26, 2010
  6. Dec 25, 2010
  7. Dec 24, 2010