drm/i915/guc: avoid FIELD_PREP warning
authorjsg <jsg@openbsd.org>
Sat, 15 Jun 2024 04:25:11 +0000 (04:25 +0000)
committerjsg <jsg@openbsd.org>
Sat, 15 Jun 2024 04:25:11 +0000 (04:25 +0000)
From Arnd Bergmann
d154613d2b3dd1b57bd0cc2c7a39a45e0bdf2f65 in linux-6.6.y/6.6.33
d4f36db62396b73bed383c0b6e48d36278cafa78 in mainline linux

sys/dev/pci/drm/i915/gt/uc/abi/guc_klvs_abi.h

index 58012ed..4f4f53c 100644 (file)
@@ -29,9 +29,9 @@
  */
 
 #define GUC_KLV_LEN_MIN                                1u
-#define GUC_KLV_0_KEY                          (0xffff << 16)
-#define GUC_KLV_0_LEN                          (0xffff << 0)
-#define GUC_KLV_n_VALUE                                (0xffffffff << 0)
+#define GUC_KLV_0_KEY                          (0xffffu << 16)
+#define GUC_KLV_0_LEN                          (0xffffu << 0)
+#define GUC_KLV_n_VALUE                                (0xffffffffu << 0)
 
 /**
  * DOC: GuC Self Config KLVs