Re: [Intel-gfx] [PATCH] drm/i915: Remove unused BSM_MASK causing warning

2016-10-12 Thread Joonas Lahtinen
On ke, 2016-10-12 at 08:42 +0100, Chris Wilson wrote: > greps ok. > Reviewed-by: Chris Wilson Merged, thanks for the review. Regards, Joonas -- Joonas Lahtinen Open Source Technology Center Intel Corporation ___ Intel-gfx mailing list Intel-gfx@lists.

Re: [Intel-gfx] [PATCH] drm/i915: Remove unused BSM_MASK causing warning

2016-10-12 Thread Chris Wilson
On Wed, Oct 12, 2016 at 10:18:54AM +0300, Joonas Lahtinen wrote: > Remove never used BSM{,_MASK}. BSM_MASK #define also causes a warning. > > include/drm/i915_drm.h:96:34: warning: result of ‘65535 << 20’ > requires 37 bits to represent, but ‘int’ only has 32 bits > [-Wshiftoverflow=] >#define

[Intel-gfx] [PATCH] drm/i915: Remove unused BSM_MASK causing warning

2016-10-12 Thread Joonas Lahtinen
Remove never used BSM{,_MASK}. BSM_MASK #define also causes a warning. include/drm/i915_drm.h:96:34: warning: result of ‘65535 << 20’ requires 37 bits to represent, but ‘int’ only has 32 bits [-Wshiftoverflow=] #define INTEL_BSM_MASK (0x << 20) Reported-by: Linus Torvalds Signed-off-by: