From: jsg Date: Sat, 15 Jun 2024 04:25:11 +0000 (+0000) Subject: drm/i915/guc: avoid FIELD_PREP warning X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=8990cd7dc94339db25905e667a609ef79aaf9450;p=openbsd drm/i915/guc: avoid FIELD_PREP warning From Arnd Bergmann d154613d2b3dd1b57bd0cc2c7a39a45e0bdf2f65 in linux-6.6.y/6.6.33 d4f36db62396b73bed383c0b6e48d36278cafa78 in mainline linux --- diff --git a/sys/dev/pci/drm/i915/gt/uc/abi/guc_klvs_abi.h b/sys/dev/pci/drm/i915/gt/uc/abi/guc_klvs_abi.h index 58012edd4eb..4f4f53c42a9 100644 --- a/sys/dev/pci/drm/i915/gt/uc/abi/guc_klvs_abi.h +++ b/sys/dev/pci/drm/i915/gt/uc/abi/guc_klvs_abi.h @@ -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