== Series Details == Series: drm/i915: Tidy up some error messages around reset failure URL : https://patchwork.freedesktop.org/series/37807/ State : failure == Summary == CHK include/config/kernel.release CHK include/generated/uapi/linux/version.h CHK include/generated/utsrelease.h CHK include/generated/bounds.h CHK include/generated/timeconst.h CHK include/generated/asm-offsets.h CALL scripts/checksyscalls.sh DESCEND objtool CHK scripts/mod/devicetable-offsets.h CHK include/generated/compile.h CHK kernel/config_data.h CC [M] drivers/gpu/drm/i915/i915_gem.o drivers/gpu/drm/i915/i915_gem.c: In function ‘i915_gem_init_hw’: drivers/gpu/drm/i915/i915_gem.c:5143:12: error: invalid storage class for function ‘__intel_engines_record_defaults’ static int __intel_engines_record_defaults(struct drm_i915_private *i915) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/gpu/drm/i915/i915_gem.c:5143:1: error: ISO C90 forbids mixed declarations and code [-Werror=declaration-after-statement] static int __intel_engines_record_defaults(struct drm_i915_private *i915) ^~~~~~ drivers/gpu/drm/i915/i915_gem.c:5449:13: error: invalid storage class for function ‘i915_gem_init__mm’ static void i915_gem_init__mm(struct drm_i915_private *i915) ^~~~~~~~~~~~~~~~~ In file included from drivers/gpu/drm/i915/selftests/scatterlist.c:25:0, from drivers/gpu/drm/i915/i915_gem.c:5959: ./include/linux/random.h:30:20: error: invalid storage class for function ‘add_latent_entropy’ static inline void add_latent_entropy(void) {} ^~~~~~~~~~~~~~~~~~ ./include/linux/random.h:49:28: error: invalid storage class for function ‘get_random_int’ static inline unsigned int get_random_int(void) ^~~~~~~~~~~~~~ ./include/linux/random.h:53:29: error: invalid storage class for function ‘get_random_long’ static inline unsigned long get_random_long(void) ^~~~~~~~~~~~~~~ ./include/linux/random.h:76:29: error: invalid storage class for function ‘get_random_canary’ static inline unsigned long get_random_canary(void) ^~~~~~~~~~~~~~~~~ ./include/linux/random.h:85:19: error: invalid storage class for function ‘get_random_bytes_wait’ static inline int get_random_bytes_wait(void *buf, int nbytes) ^~~~~~~~~~~~~~~~~~~~~ ./include/linux/random.h:95:20: error: invalid storage class for function ‘get_random_u32_wait’ static inline int get_random_ ## var ## _wait(var *out) { \ ^ ./include/linux/random.h:102:1: note: in expansion of macro ‘declare_get_random_var_wait’ declare_get_random_var_wait(u32) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/random.h:95:20: error: invalid storage class for function ‘get_random_u64_wait’ static inline int get_random_ ## var ## _wait(var *out) { \ ^ ./include/linux/random.h:103:1: note: in expansion of macro ‘declare_get_random_var_wait’ declare_get_random_var_wait(u64) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/random.h:95:20: error: invalid storage class for function ‘get_random_int_wait’ static inline int get_random_ ## var ## _wait(var *out) { \ ^ ./include/linux/random.h:104:1: note: in expansion of macro ‘declare_get_random_var_wait’ declare_get_random_var_wait(int) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/random.h:95:20: error: invalid storage class for function ‘get_random_long_wait’ static inline int get_random_ ## var ## _wait(var *out) { \ ^ ./include/linux/random.h:105:1: note: in expansion of macro ‘declare_get_random_var_wait’ declare_get_random_var_wait(long) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/random.h:138:19: error: invalid storage class for function ‘prandom_u32_max’ static inline u32 prandom_u32_max(u32 ep_ro) ^~~~~~~~~~~~~~~ ./include/linux/random.h:146:19: error: invalid storage class for function ‘__seed’ static inline u32 __seed(u32 x, u32 m) ^~~~~~ ./include/linux/random.h:156:20: error: invalid storage class for function ‘prandom_seed_state’ static inline void prandom_seed_state(struct rnd_state *state, u64 seed) ^~~~~~~~~~~~~~~~~~ In file included from ./include/linux/random.h:167:0, from drivers/gpu/drm/i915/selftests/scatterlist.c:25, from drivers/gpu/drm/i915/i915_gem.c:5959: ./arch/x86/include/asm/archrandom.h:43:20: error: invalid storage class for function ‘rdrand_long’ static inline bool rdrand_long(unsigned long *v) ^~~~~~~~~~~ ./arch/x86/include/asm/archrandom.h:57:20: error: invalid storage class for function ‘rdrand_int’ static inline bool rdrand_int(unsigned int *v) ^~~~~~~~~~ ./arch/x86/include/asm/archrandom.h:71:20: error: invalid storage class for function ‘rdseed_long’ static inline bool rdseed_long(unsigned long *v) ^~~~~~~~~~~ ./arch/x86/include/asm/archrandom.h:80:20: error: invalid storage class for function ‘rdseed_int’ static inline bool rdseed_int(unsigned int *v) ^~~~~~~~~~ ./arch/x86/include/asm/archrandom.h:100:20: error: invalid storage class for function ‘arch_get_random_long’ static inline bool arch_get_random_long(unsigned long *v) ^~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/archrandom.h:105:20: error: invalid storage class for function ‘arch_get_random_int’ static inline bool arch_get_random_int(unsigned int *v) ^~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/archrandom.h:110:20: error: invalid storage class for function ‘arch_get_random_seed_long’ static inline bool arch_get_random_seed_long(unsigned long *v) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/archrandom.h:115:20: error: invalid storage class for function ‘arch_get_random_seed_int’ static inline bool arch_get_random_seed_int(unsigned int *v) ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from drivers/gpu/drm/i915/selftests/scatterlist.c:25:0, from drivers/gpu/drm/i915/i915_gem.c:5959: ./include/linux/random.h:196:19: error: invalid storage class for function ‘next_pseudo_random32’ static inline u32 next_pseudo_random32(u32 seed) ^~~~~~~~~~~~~~~~~~~~ In file included from drivers/gpu/drm/i915/i915_gem.c:5959:0: drivers/gpu/drm/i915/selftests/scatterlist.c:40:21: error: invalid storage class for function ‘expect_pfn_sg’ static noinline int expect_pfn_sg(struct pfn_table *pt, ^~~~~~~~~~~~~ drivers/gpu/drm/i915/selftests/scatterlist.c:80:21: error: invalid storage class for function ‘expect_pfn_sg_page_iter’ static noinline int expect_pfn_sg_page_iter(struct pfn_table *pt, ^~~~~~~~~~~~~~~~~~~~~~~ drivers/gpu/drm/i915/selftests/scatterlist.c:111:21: error: invalid storage class for function ‘expect_pfn_sgtiter’ static noinline int expect_pfn_sgtiter(struct pfn_table *pt, ^~~~~~~~~~~~~~~~~~ drivers/gpu/drm/i915/selftests/scatterlist.c:141:12: error: invalid storage class for function ‘expect_pfn_sgtable’ static int expect_pfn_sgtable(struct pfn_table *pt, ^~~~~~~~~~~~~~~~~~ drivers/gpu/drm/i915/selftests/scatterlist.c:164:21: error: invalid storage class for function ‘one’ static unsigned int one(unsigned long n, ^~~ drivers/gpu/drm/i915/selftests/scatterlist.c:171:21: error: invalid storage class for function ‘grow’ static unsigned int grow(unsigned long n, ^~~~ drivers/gpu/drm/i915/selftests/scatterlist.c:178:21: error: invalid storage class for function ‘shrink’ static unsigned int shrink(unsigned long n, ^~~~~~ drivers/gpu/drm/i915/selftests/scatterlist.c:185:21: error: invalid storage class for function ‘random’ static unsigned int random(unsigned long n, ^~~~~~ drivers/gpu/drm/i915/selftests/scatterlist.c:192:21: error: invalid storage class for function ‘random_page_size_pages’ static unsigned int random_page_size_pages(unsigned long n, ^~~~~~~~~~~~~~~~~~~~~~ drivers/gpu/drm/i915/selftests/scatterlist.c:206:20: error: invalid storage class for function ‘page_contiguous’ static inline bool page_contiguous(struct page *first, ^~~~~~~~~~~~~~~ drivers/gpu/drm/i915/selftests/scatterlist.c:213:12: error: invalid storage class for function ‘alloc_table’ static int alloc_table(struct pfn_table *pt, ^~~~~~~~~~~ drivers/gpu/drm/i915/selftests/scatterlist.c:265:2: error: initializer element is not constant one, ^~~ drivers/gpu/drm/i915/selftests/scatterlist.c:265:2: note: (near initialization for ‘npages_funcs[0]’) drivers/gpu/drm/i915/selftests/scatterlist.c:266:2: error: initializer element is not constant grow, ^~~~ drivers/gpu/drm/i915/selftests/scatterlist.c:266:2: note: (near initialization for ‘npages_funcs[1]’) drivers/gpu/drm/i915/selftests/scatterlist.c:267:2: error: initializer element is not constant shrink, ^~~~~~ drivers/gpu/drm/i915/selftests/scatterlist.c:267:2: note: (near initialization for ‘npages_funcs[2]’) drivers/gpu/drm/i915/selftests/scatterlist.c:268:2: error: initializer element is not constant random, ^~~~~~ drivers/gpu/drm/i915/selftests/scatterlist.c:268:2: note: (near initialization for ‘npages_funcs[3]’) drivers/gpu/drm/i915/selftests/scatterlist.c:269:2: error: initializer element is not constant random_page_size_pages, ^~~~~~~~~~~~~~~~~~~~~~ drivers/gpu/drm/i915/selftests/scatterlist.c:269:2: note: (near initialization for ‘npages_funcs[4]’) drivers/gpu/drm/i915/selftests/scatterlist.c:273:12: error: invalid storage class for function ‘igt_sg_alloc’ static int igt_sg_alloc(void *ignored) ^~~~~~~~~~~~ drivers/gpu/drm/i915/selftests/scatterlist.c:320:12: error: invalid storage class for function ‘igt_sg_trim’ static int igt_sg_trim(void *ignored) ^~~~~~~~~~~ In file included from drivers/gpu/drm/i915/intel_ringbuffer.h:10:0, from drivers/gpu/drm/i915/intel_lrc.h:27, from drivers/gpu/drm/i915/i915_drv.h:63, from drivers/gpu/drm/i915/i915_gem.c:31: drivers/gpu/drm/i915/selftests/scatterlist.c: In function ‘scatterlist_mock_selftests’: drivers/gpu/drm/i915/selftests/scatterlist.c:374:11: error: initializer element is not constant SUBTEST(igt_sg_alloc), ^ drivers/gpu/drm/i915/i915_selftest.h:75:22: note: in definition of macro ‘SUBTEST’ #define SUBTEST(x) { x, #x } ^ drivers/gpu/drm/i915/selftests/scatterlist.c:374:11: note: (near initialization for ‘tests[0].func’) SUBTEST(igt_sg_alloc), ^ drivers/gpu/drm/i915/i915_selftest.h:75:22: note: in definition of macro ‘SUBTEST’ #define SUBTEST(x) { x, #x } ^ drivers/gpu/drm/i915/selftests/scatterlist.c:375:11: error: initializer element is not constant SUBTEST(igt_sg_trim), ^ drivers/gpu/drm/i915/i915_selftest.h:75:22: note: in definition of macro ‘SUBTEST’ #define SUBTEST(x) { x, #x } ^ drivers/gpu/drm/i915/selftests/scatterlist.c:375:11: note: (near initialization for ‘tests[1].func’) SUBTEST(igt_sg_trim), ^ drivers/gpu/drm/i915/i915_selftest.h:75:22: note: in definition of macro ‘SUBTEST’ #define SUBTEST(x) { x, #x } ^ In file included from drivers/gpu/drm/i915/selftests/mock_gem_device.c:25:0, from drivers/gpu/drm/i915/i915_gem.c:5960: ./include/linux/pm_domain.h: In function ‘i915_gem_init_hw’: ./include/linux/pm_domain.h:98:41: error: invalid storage class for function ‘pd_to_genpd’ static inline struct generic_pm_domain *pd_to_genpd(struct dev_pm_domain *pd) ^~~~~~~~~~~ ./include/linux/pm_domain.h:162:46: error: invalid storage class for function ‘dev_gpd_data’ static inline struct generic_pm_domain_data *dev_gpd_data(struct device *dev) ^~~~~~~~~~~~ ./include/linux/pm_domain.h:166:19: error: invalid storage class for function ‘__pm_genpd_add_device’ static inline int __pm_genpd_add_device(struct generic_pm_domain *genpd, ^~~~~~~~~~~~~~~~~~~~~ ./include/linux/pm_domain.h:172:19: error: invalid storage class for function ‘pm_genpd_remove_device’ static inline int pm_genpd_remove_device(struct generic_pm_domain *genpd, ^~~~~~~~~~~~~~~~~~~~~~ ./include/linux/pm_domain.h:177:19: error: invalid storage class for function ‘pm_genpd_add_subdomain’ static inline int pm_genpd_add_subdomain(struct generic_pm_domain *genpd, ^~~~~~~~~~~~~~~~~~~~~~ ./include/linux/pm_domain.h:182:19: error: invalid storage class for function ‘pm_genpd_remove_subdomain’ static inline int pm_genpd_remove_subdomain(struct generic_pm_domain *genpd, ^~~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/pm_domain.h:187:19: error: invalid storage class for function ‘pm_genpd_init’ static inline int pm_genpd_init(struct generic_pm_domain *genpd, ^~~~~~~~~~~~~ ./include/linux/pm_domain.h:192:19: error: invalid storage class for function ‘pm_genpd_remove’ static inline int pm_genpd_remove(struct generic_pm_domain *genpd) ^~~~~~~~~~~~~~~ ./include/linux/pm_domain.h:197:19: error: invalid storage class for function ‘dev_pm_genpd_set_performance_state’ static inline int dev_pm_genpd_set_performance_state(struct device *dev, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/pm_domain.h:207:19: error: invalid storage class for function ‘pm_genpd_add_device’ static inline int pm_genpd_add_device(struct generic_pm_domain *genpd, ^~~~~~~~~~~~~~~~~~~ ./include/linux/pm_domain.h:217:20: error: invalid storage class for function ‘pm_genpd_syscore_poweroff’ static inline void pm_genpd_syscore_poweroff(struct device *dev) {} ^~~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/pm_domain.h:218:20: error: invalid storage class for function ‘pm_genpd_syscore_poweron’ static inline void pm_genpd_syscore_poweron(struct device *dev) {} ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/pm_domain.h:249:19: error: invalid storage class for function ‘of_genpd_add_provider_simple’ static inline int of_genpd_add_provider_simple(struct device_node *np, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/pm_domain.h:255:19: error: invalid storage class for function ‘of_genpd_add_provider_onecell’ static inline int of_genpd_add_provider_onecell(struct device_node *np, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/pm_domain.h:261:20: error: invalid storage class for function ‘of_genpd_del_provider’ static inline void of_genpd_del_provider(struct device_node *np) {} ^~~~~~~~~~~~~~~~~~~~~ ./include/linux/pm_domain.h:263:19: error: invalid storage class for function ‘of_genpd_add_device’ static inline int of_genpd_add_device(struct of_phandle_args *args, ^~~~~~~~~~~~~~~~~~~ ./include/linux/pm_domain.h:269:19: error: invalid storage class for function ‘of_genpd_add_subdomain’ static inline int of_genpd_add_subdomain(struct of_phandle_args *parent, ^~~~~~~~~~~~~~~~~~~~~~ ./include/linux/pm_domain.h:275:19: error: invalid storage class for function ‘of_genpd_parse_idle_states’ static inline int of_genpd_parse_idle_states(struct device_node *dn, ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/pm_domain.h:281:19: error: invalid storage class for function ‘genpd_dev_pm_attach’ static inline int genpd_dev_pm_attach(struct device *dev) ^~~~~~~~~~~~~~~~~~~ ./include/linux/pm_domain.h:287:27: error: invalid storage class for function ‘of_genpd_remove_last’ struct generic_pm_domain *of_genpd_remove_last(struct device_node *np) ^~~~~~~~~~~~~~~~~~~~ In file included from drivers/gpu/drm/i915/selftests/mock_gem_device.c:26:0, from drivers/gpu/drm/i915/i915_gem.c:5960: ./include/linux/pm_runtime.h:29:20: error: invalid storage class for function ‘queue_pm_work’ static inline bool queue_pm_work(struct work_struct *work) ^~~~~~~~~~~~~ ./include/linux/pm_runtime.h:64:20: error: invalid storage class for function ‘pm_suspend_ignore_children’ static inline void pm_suspend_ignore_children(struct device *dev, bool enable) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/pm_runtime.h:69:20: error: invalid storage class for function ‘pm_runtime_get_noresume’ static inline void pm_runtime_get_noresume(struct device *dev) ^~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/pm_runtime.h:74:20: error: invalid storage class for function ‘pm_runtime_put_noidle’ static inline void pm_runtime_put_noidle(struct device *dev) ^~~~~~~~~~~~~~~~~~~~~ ./include/linux/pm_runtime.h:79:20: error: invalid storage class for function ‘pm_runtime_suspended’ static inline bool pm_runtime_suspended(struct device *dev) ^~~~~~~~~~~~~~~~~~~~ ./include/linux/pm_runtime.h:85:20: error: invalid storage class for function ‘pm_runtime_active’ static inline bool pm_runtime_active(struct device *dev) ^~~~~~~~~~~~~~~~~ ./include/linux/pm_runtime.h:91:20: error: invalid storage class for function ‘pm_runtime_status_suspended’ static inline bool pm_runtime_status_suspended(struct device *dev) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/pm_runtime.h:96:20: error: invalid storage class for function ‘pm_runtime_enabled’ static inline bool pm_runtime_enabled(struct device *dev) ^~~~~~~~~~~~~~~~~~ ./include/linux/pm_runtime.h:101:20: error: invalid storage class for function ‘pm_runtime_callbacks_present’ static inline bool pm_runtime_callbacks_present(struct device *dev) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/pm_runtime.h:106:20: error: invalid storage class for function ‘pm_runtime_mark_last_busy’ static inline void pm_runtime_mark_last_busy(struct device *dev) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/pm_runtime.h:111:20: error: invalid storage class for function ‘pm_runtime_is_irq_safe’ static inline bool pm_runtime_is_irq_safe(struct device *dev) ^~~~~~~~~~~~~~~~~~~~~~ ./include/linux/pm_runtime.h:183:19: error: invalid storage class for function ‘pm_runtime_idle’ static inline int pm_runtime_idle(struct device *dev) ^~~~~~~~~~~~~~~ ./include/linux/pm_runtime.h:188:19: error: invalid storage class for function ‘pm_runtime_suspend’ static inline int pm_runtime_suspend(struct device *dev) ^~~~~~~~~~~~~~~~~~ ./include/linux/pm_runtime.h:193:19: error: invalid storage class for function ‘pm_runtime_autosuspend’ static inline int pm_runtime_autosuspend(struct device *dev) ^~~~~~~~~~~~~~~~~~~~~~ ./include/linux/pm_runtime.h:198:19: error: invalid storage class for function ‘pm_runtime_resume’ static inline int pm_runtime_resume(struct device *dev) ^~~~~~~~~~~~~~~~~ ./include/linux/pm_runtime.h:203:19: error: invalid storage class for function ‘pm_request_idle’ static inline int pm_request_idle(struct device *dev) ^~~~~~~~~~~~~~~ ./include/linux/pm_runtime.h:208:19: error: invalid storage class for function ‘pm_request_resume’ static inline int pm_request_resume(struct device *dev) ^~~~~~~~~~~~~~~~~ ./include/linux/pm_runtime.h:213:19: error: invalid storage class for function ‘pm_request_autosuspend’ static inline int pm_request_autosuspend(struct device *dev) ^~~~~~~~~~~~~~~~~~~~~~ ./include/linux/pm_runtime.h:218:19: error: invalid storage class for function ‘pm_runtime_get’ static inline int pm_runtime_get(struct device *dev) ^~~~~~~~~~~~~~ ./include/linux/pm_runtime.h:223:19: error: invalid storage class for function ‘pm_runtime_get_sync’ static inline int pm_runtime_get_sy _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx