Skip to contentSkip to conversation

drm/i915: fix sparse warnings

PATCH In review Hannes Eder 2 participants 2 messages Dec 18, 2008 – Dec 19, 2008 Kernel janitors

lore
Share & tools
lore
#0 lore raw

cover drm/i915: fix sparse warnings

This series of patches fixes a couple of sparse warnings in drm/i915.

Hannes Eder (6):
drm/i915: fix sparse warnings: declare one-bit bitfield as unsigned drm/i915: fix sparse warnings: make symbols static drm/i915: fix sparse warnings: move 'extern' decls to header file drm/i915: fix sparse warnings: returning void-valued expression drm/i915: comment out unused function 'i915_driver_firstopen' drm/i915: add prototype for 'intelfb_panic' to header file

 drivers/gpu/drm/i915/dvo.h           |    6 ++++++
 drivers/gpu/drm/i915/i915_dma.c      |    8 +++++---
 drivers/gpu/drm/i915/i915_drv.c      |    2 +-
 drivers/gpu/drm/i915/i915_drv.h      |    8 ++++----
 drivers/gpu/drm/i915/i915_opregion.c |    4 ++--
 drivers/gpu/drm/i915/intel_crt.c     |    2 +-
 drivers/gpu/drm/i915/intel_display.c |   10 +++++-----
 drivers/gpu/drm/i915/intel_drv.h     |    2 ++
 drivers/gpu/drm/i915/intel_dvo.c     |   10 ++--------
 drivers/gpu/drm/i915/intel_fb.c      |   10 +++++-----
 drivers/gpu/drm/i915/intel_sdvo.c    |    9 +++++----
 drivers/gpu/drm/i915/intel_tv.c      |    2 +-
 12 files changed, 39 insertions(+), 34 deletions(-)
#1 lore raw
Quoted 9 lines · Hannes Eder

This series of patches fixes a couple of sparse warnings in drm/i915.

Hannes Eder (6):
drm/i915: fix sparse warnings: declare one-bit bitfield as unsigned drm/i915: fix sparse warnings: make symbols static drm/i915: fix sparse warnings: move 'extern' decls to header file drm/i915: fix sparse warnings: returning void-valued expression drm/i915: comment out unused function 'i915_driver_firstopen' drm/i915: add prototype for 'intelfb_panic' to header file

Committed this patch series, except for replacing #5 with just deleting the function, and using the updated #6 patch. Thanks!

Signature · 2 lines
Eric Anholt
[email protected]                         [email protected]