mirror-linux/include/uapi
Geert Uytterhoeven f2881dfdaa drm/xe/oa/uapi: Make bit masks unsigned
When building with gcc-5:

    In function ‘decode_oa_format.isra.26’,
	inlined from ‘xe_oa_set_prop_oa_format’ at drivers/gpu/drm/xe/xe_oa.c:1664:6:
    ././include/linux/compiler_types.h:510:38: error: call to ‘__compiletime_assert_1336’ declared with attribute error: FIELD_GET: mask is not constant
    [...]
    ./include/linux/bitfield.h:155:3: note: in expansion of macro ‘__BF_FIELD_CHECK’
       __BF_FIELD_CHECK(_mask, _reg, 0U, "FIELD_GET: "); \
       ^
    drivers/gpu/drm/xe/xe_oa.c:1573:18: note: in expansion of macro ‘FIELD_GET’
      u32 bc_report = FIELD_GET(DRM_XE_OA_FORMAT_MASK_BC_REPORT, fmt);
		      ^

Fixes: b6fd51c621 ("drm/xe/oa/uapi: Define and parse OA stream properties")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240729092634.2227611-1-geert+renesas@glider.be
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
2024-07-30 13:45:38 -07:00
..
asm-generic mseal: wire up mseal syscall 2024-05-23 19:40:26 -07:00
drm drm/xe/oa/uapi: Make bit masks unsigned 2024-07-30 13:45:38 -07:00
linux drm-misc-next for 6.10: 2024-06-21 10:31:27 +10:00
misc misc/pvpanic: add shutdown event definition 2024-04-11 15:12:10 +02:00
mtd
rdma RDMA/efa: Support QP with unsolicited write w/ imm. receive 2024-05-08 11:18:26 +03:00
regulator
scsi SCSI misc on 20240514 2024-05-14 18:25:53 -07:00
sound ASoC: Updates for v6.10 2024-05-13 11:39:49 +02:00
video
xen xen/gntalloc: Replace UAPI 1-element array 2024-02-13 09:06:48 +01:00
Kbuild