1. 12 1月, 2012 2 次提交
  2. 11 1月, 2012 34 次提交
  3. 10 1月, 2012 4 次提交
    • D
      drm/nouveau/pm: fix build with HWMON off · 095f979a
      Dave Airlie 提交于
      Reported-by: NRandy Dunlap <rdunlap@xenotime.net>
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      095f979a
    • D
      gma500: silence gcc warnings in mid_get_vbt_data() · 96067adf
      Dan Carpenter 提交于
      Add a cast here to silence a Gcc warning.
      drivers/gpu/drm/gma500/mid_bios.c:214:28: warning:
        cast from pointer to integer of different size [-Wpointer-to-int-cast]
      Signed-off-by: NDan Carpenter <dan.carpenter@oracle.com>
      Acked-by: NAlan Cox <alan@linux.intel.com>
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      96067adf
    • D
      drm/ttm: fix condition (and vs or) · 7920aa5a
      Dan Carpenter 提交于
      The "if (!p && !p->dev)" condition isn't right because || was intended
      instead of &&.  But actually, "p" is the list cursor and so it's always
      non-NULL and we can just remove that bit.  We can remove the another
      similar check as well.
      Signed-off-by: NDan Carpenter <dan.carpenter@oracle.com>
      Reviewed-by: NJerome Glisse <jglisse@redhat.com>
      Acked-by: NKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      7920aa5a
    • G
      rtc-puv3: solve section mismatch in rtc-puv3.c · b3a0aa3a
      Guan Xuetao 提交于
      The patch renames puv3_rtcdrv to puv3_rtc_driver, so that modpost will know
      that this is simply a list of pointers to driver functions, in which case
      the section mismatch is OK. (Thanks Michal Marek)
      
      Cc: Axel Lin <axel.lin@gmail.com>
      Cc: Michal Marek <mmarek@suse.cz>
      Cc: Arnd Bergmann <arnd@arndb.de>
      Cc: Alessandro Zummo <a.zummo@towertech.it>
      Cc: rtc-linux@googlegroups.com
      Signed-off-by: NGuan Xuetao <gxt@mprc.pku.edu.cn>
      
      --
      Section mismatch warning information:
      
      WARNING: drivers/rtc/built-in.o(.data+0x90): Section mismatch in
      reference from the variable puv3_rtcdrv to the
      function .devinit.text:puv3_rtc_probe()
      The variable puv3_rtcdrv references
      the function __devinit puv3_rtc_probe()
      If the reference is valid then annotate the
      variable with __init* or __refdata (see linux/init.h) or name the
      variable:
      *driver, *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one,
      *_console
      
      WARNING: drivers/rtc/built-in.o(.data+0x94): Section mismatch in
      reference from the variable puv3_rtcdrv to the
      function .devexit.text:puv3_rtc_remove()
      The variable puv3_rtcdrv references
      the function __devexit puv3_rtc_remove()
      If the reference is valid then annotate the
      variable with __exit* (see linux/init.h) or name the variable:
      *driver, *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one,
      *_console
      
      WARNING: drivers/built-in.o(.data+0x6c04): Section mismatch in reference
      from the variable puv3_rtcdrv to the
      function .devinit.text:puv3_rtc_probe()
      The variable puv3_rtcdrv references
      the function __devinit puv3_rtc_probe()
      If the reference is valid then annotate the
      variable with __init* or __refdata (see linux/init.h) or name the
      variable:
      *driver, *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one,
      *_console
      
      WARNING: drivers/built-in.o(.data+0x6c08): Section mismatch in reference
      from the variable puv3_rtcdrv to the
      function .devexit.text:puv3_rtc_remove()
      The variable puv3_rtcdrv references
      the function __devexit puv3_rtc_remove()
      If the reference is valid then annotate the
      variable with __exit* (see linux/init.h) or name the variable:
      *driver, *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one,
      *_console
      
      WARNING: vmlinux.o(.data+0x1126c): Section mismatch in reference from
      the variable puv3_rtcdrv to the function .devinit.text:puv3_rtc_probe()
      The variable puv3_rtcdrv references
      the function __devinit puv3_rtc_probe()
      If the reference is valid then annotate the
      variable with __init* or __refdata (see linux/init.h) or name the
      variable:
      *driver, *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one,
      *_console
      
      WARNING: vmlinux.o(.data+0x11270): Section mismatch in reference from
      the variable puv3_rtcdrv to the function .devexit.text:puv3_rtc_remove()
      The variable puv3_rtcdrv references
      the function __devexit puv3_rtc_remove()
      If the reference is valid then annotate the
      variable with __exit* (see linux/init.h) or name the variable:
      *driver, *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one,
      *_console
      b3a0aa3a