drm: Fix shift operations for drm_fb_helper::drm_target_preferred()
authorChris Wilson <chris@chris-wilson.co.uk>
Sun, 27 Nov 2016 17:09:10 +0000 (17:09 +0000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 28 Nov 2016 07:40:03 +0000 (08:40 +0100)
commitc96521eebc24d49eb109013dcdae08c0c37e4f1e
tree305408ee8c71dcb8794bffaa7e595d4c8d4ad547
parenta2ec1c132a593ac4f05eb8d02834c4675a4aea07
drm: Fix shift operations for drm_fb_helper::drm_target_preferred()

smatch correctly warns:

drivers/gpu/drm/drm_fb_helper.c:1960 drm_target_preferred() warn: should '1 << i' be a 64 bit type?
drivers/gpu/drm/drm_fb_helper.c:2001 drm_target_preferred() warn: should '1 << i' be a 64 bit type?

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/drm_fb_helper.c