tree: git://anongit.freedesktop.org/drm-intel drm-intel-next-queued head: d892e9398ecf6defc7972a62227b77dad6be20bd commit: 953c7f82eb890085c60dbe22578e883d6837c674 [11/59] drm/i915: Provide a hook for selftests config: x86_64-randconfig-s1-02150712 (attached as .config) compiler: gcc-4.4 (Debian 4.4.7-8) 4.4.7 reproduce: git checkout 953c7f82eb890085c60dbe22578e883d6837c674 # save the attached .config to linux build tree make ARCH=x86_64
All warnings (new ones prefixed by >>):
In file included from drivers/gpu/drm/i915/selftests/i915_selftest.c:68: drivers/gpu/drm/i915/selftests/i915_mock_selftests.h:11: error: unknown field 'mock' specified in initializer
drivers/gpu/drm/i915/selftests/i915_mock_selftests.h:11: warning: missing braces around initializer
drivers/gpu/drm/i915/selftests/i915_mock_selftests.h:11: warning: (near initialization for 'mock_selftests[0].<anonymous>') In file included from drivers/gpu/drm/i915/selftests/i915_selftest.c:74: drivers/gpu/drm/i915/selftests/i915_live_selftests.h:11: error: unknown field 'live' specified in initializer
drivers/gpu/drm/i915/selftests/i915_live_selftests.h:11: warning: missing braces around initializer
drivers/gpu/drm/i915/selftests/i915_live_selftests.h:11: warning: (near initialization for 'live_selftests[0].<anonymous>')
drivers/gpu/drm/i915/selftests/i915_live_selftests.h:11: warning: initialization from incompatible pointer type
vim +11 drivers/gpu/drm/i915/selftests/i915_mock_selftests.h
1 /* List each unit test as selftest(name, function) 2 * 3 * The name is used as both an enum and expanded as subtest__name to create 4 * a module parameter. It must be unique and legal for a C identifier. 5 * 6 * The function should be of type int function(void). It may be conditionally 7 * compiled using #if IS_ENABLED(DRM_I915_SELFTEST). 8 * 9 * Tests are executed in order by igt/drv_selftest 10 */
11 selftest(sanitycheck, i915_mock_sanitycheck) /* keep first (igt selfcheck) */
--- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation