Skip to content

Commit 1645cca

Browse files
sfrothwelldanvet
authored andcommitted
drm/i915: use linux/stddef.h due to "isystem: trim/fixup stdarg.h and other headers"
After merging the drm tree, today's linux-next build (x86_64 allmodconfig) failed like this: In file included from drivers/gpu/drm/i915/i915_debugfs.c:39: drivers/gpu/drm/i915/gt/intel_gt_requests.h:9:10: fatal error: stddef.h: No such file or directory 9 | #include <stddef.h> | ^~~~~~~~~~ Caused by commit 564f963 ("isystem: delete global -isystem compile option") from the kbuild tree interacting with commit b97060a ("drm/i915/guc: Update intel_gt_wait_for_idle to work with GuC") Fixes: b97060a ("drm/i915/guc: Update intel_gt_wait_for_idle to work with GuC") Signed-off-by: Stephen Rothwell <[email protected]> Signed-off-by: Daniel Vetter <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent 8f0284f commit 1645cca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/i915/gt/intel_gt_requests.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
#ifndef INTEL_GT_REQUESTS_H
77
#define INTEL_GT_REQUESTS_H
88

9-
#include <stddef.h>
9+
#include <linux/stddef.h>
1010

1111
struct intel_engine_cs;
1212
struct intel_gt;

0 commit comments

Comments
 (0)