diff options
| author | Dave Gordon <david.s.gordon@intel.com> | 2016-08-09 18:35:10 +0100 |
|---|---|---|
| committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2016-08-09 22:18:26 +0200 |
| commit | aac440ff22a27155ae08f4d0fd6ac2971bfc5f3d (patch) | |
| tree | 2412c3a85fc95d93555b12949d0e82c9e92bc16e /lib/kstrtox.c | |
| parent | 1426f7157efe12bb40455e84dd7083917d21860f (diff) | |
| download | linux-aac440ff22a27155ae08f4d0fd6ac2971bfc5f3d.tar.gz linux-aac440ff22a27155ae08f4d0fd6ac2971bfc5f3d.tar.bz2 linux-aac440ff22a27155ae08f4d0fd6ac2971bfc5f3d.zip | |
drm: avoid "possible bad bitmask?" warning
Recent versions of gcc say this:
include/drm/i915_drm.h:96:34: warning: result of β65535 << 20β
requires 37 bits to represent, but βintβ only has 32 bits
[-Wshift-overflow=]
Reported-by: David Binderman <linuxdev.baldrick@gmail.com>
Signed-off-by: Dave Gordon <david.s.gordon@intel.com>
Cc: Dave Airlie <airlied@gmail.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1470764110-23855-1-git-send-email-david.s.gordon@intel.com
Diffstat (limited to 'lib/kstrtox.c')
0 files changed, 0 insertions, 0 deletions
