[Intel-gfx] [PATCH 1/2] drm/i915: make field unsigned
Lucas De Marchi
lucas.demarchi at intel.com
Tue Aug 28 17:41:45 UTC 2018
subvendor and subdevice are unsigned, so fix their initialization in
INTEL_VGA_DEVICE.
Cc: Chris Wilson <chris at chris-wilson.co.uk>
Signed-off-by: Lucas De Marchi <lucas.demarchi at intel.com>
---
include/drm/i915_pciids.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/drm/i915_pciids.h b/include/drm/i915_pciids.h
index fd965ffbb92e..754ce4b10129 100644
--- a/include/drm/i915_pciids.h
+++ b/include/drm/i915_pciids.h
@@ -37,7 +37,7 @@
*/
#define INTEL_VGA_DEVICE(id, info) { \
0x8086, id, \
- ~0, ~0, \
+ ~0u, ~0u, \
0x030000, 0xff0000, \
(unsigned long) info }
--
2.17.1
More information about the Intel-gfx
mailing list