drm/i915: Match bitmask size to types in intel_fb_initial_config()
authorChris Wilson <chris@chris-wilson.co.uk>
Sat, 2 Jul 2016 14:36:02 +0000 (15:36 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Sat, 2 Jul 2016 18:19:56 +0000 (19:19 +0100)
commit86f40bb655ccde1d6ea2f1eaab7c1e62e9ee7742
tree1040db5bb8fca0af5f01ae951cee930a93ba2f63
parenta98b7e58e93c7f937cb2283e600ed2d0a2bb74f4
drm/i915: Match bitmask size to types in intel_fb_initial_config()

smatch complains of:
drivers/gpu/drm/i915/intel_fbdev.c:403
intel_fb_initial_config() warn: should '1 << i' be a 64 bit type?
drivers/gpu/drm/i915/intel_fbdev.c:422 intel_fb_initial_config() warn:
should '1 << i' be a 64 bit type?
drivers/gpu/drm/i915/intel_fbdev.c:501 intel_fb_initial_config() warn:
should '1 << i' be a 64 bit type?

We are prepared to iterate over a u64 but don't limit the number of
connectors we try to configure to a maximum of 64.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: http://patchwork.freedesktop.org/patch/msgid/1467470166-31717-5-git-send-email-chris@chris-wilson.co.uk
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
drivers/gpu/drm/i915/intel_fbdev.c