linux-next: build warning after merge of the pm tree
Hi all,
After merging the pm tree, today's linux-next build (x86_64 allmodconfig) produced this warning:
In file included from drivers/gpu/drm/gma500/mdfld_output.c:28:arch/x86/include/asm/intel_scu_ipc.h:23:12: warning: 'struct module' declared inside parameter list will not be visible outside of this definition or declaration
23 | struct module *owner);
| ^~~~~~
arch/x86/include/asm/intel_scu_ipc.h:33:17: warning: 'struct module' declared inside parameter list will not be visible outside of this definition or declaration
33 | struct module *owner);
| ^~~~~~Introduced by commit
bfc838f8598e ("drm/gma500: Convert to use new SCU IPC API")
OK, these will go away when the drm-misc tree removes this file in commit
e1da811218d2 ("drm/gma500: Remove Medfield support")
So, if you don't want to see these warnings in Linus' build testing, you need to make sure that the drm-misc tree is merged before the pm tree (or the drivers-x86 tree). Or you need to include module.h in mdfld_output.c before intel_scu_ipc.h (or in intel_scu_ipc.h itself).
Signature · 2 lines
Cheers, Stephen Rothwell
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Quoted 18 lines · Stephen Rothwell
Hi all,
After merging the pm tree, today's linux-next build (
x86_64allmodconfig) produced this warning:In file included from
drivers/gpu/drm/gma500/mdfld_output.c:28:arch/x86/include/asm/intel_scu_ipc.h:23:12: warning: 'struct module' declared inside parameter list will not be visible outside of this definition or declaration23 | struct module *owner); | ^~~~~~ arch/x86/include/asm/intel_scu_ipc.h:33:17: warning: 'struct module' declared inside parameter list will not be visible outside of this definition or declaration 33 | struct module *owner); | ^~~~~~Introduced by commit
bfc838f8598e("drm/gma500: Convert to use new SCU IPC API")
Quoted 8 lines
OK, these will go away when the drm-misc tree removes this file in commit
e1da811218d2("drm/gma500: Remove Medfield support")So, if you don't want to see these warnings in Linus' build testing, you need to make sure that the drm-misc tree is merged before the pm tree (or the drivers-x86 tree). Or you need to include
module.hinmdfld_output.cbeforeintel_scu_ipc.h(or inintel_scu_ipc.hitself).
Thanks for the report.
I guess the DRM tree should carry this burden, or they can merge the immutable tag themselves.
Signature · 6 lines
With Best Regards, Andy Shevchenko _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
+Cc: Patrik (JFYI).
Quoted 36 lines · Andy Shevchenko
Quoted 18 lines · Stephen Rothwell
Hi all,
After merging the pm tree, today's linux-next build (
x86_64allmodconfig) produced this warning:In file included from
drivers/gpu/drm/gma500/mdfld_output.c:28:arch/x86/include/asm/intel_scu_ipc.h:23:12: warning: 'struct module' declared inside parameter list will not be visible outside of this definition or declaration23 | struct module *owner); | ^~~~~~ arch/x86/include/asm/intel_scu_ipc.h:33:17: warning: 'struct module' declared inside parameter list will not be visible outside of this definition or declaration 33 | struct module *owner); | ^~~~~~Introduced by commit
bfc838f8598e("drm/gma500: Convert to use new SCU IPC API")Quoted 8 lines
OK, these will go away when the drm-misc tree removes this file in commit
e1da811218d2("drm/gma500: Remove Medfield support")So, if you don't want to see these warnings in Linus' build testing, you need to make sure that the drm-misc tree is merged before the pm tree (or the drivers-x86 tree). Or you need to include
module.hinmdfld_output.cbeforeintel_scu_ipc.h(or inintel_scu_ipc.hitself).Thanks for the report.
I guess the DRM tree should carry this burden, or they can merge the immutable tag themselves.--
With Best Regards,
Andy Shevchenko
Signature · 6 lines
With Best Regards, Andy Shevchenko _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
Hi all,
Quoted 18 lines · On Mon, 15 Feb 2021 11:39:39 +1100 Stephen Rothwell <[email protected]>…
Hi all,
After merging the pm tree, today's linux-next build (
x86_64allmodconfig) produced this warning:In file included from
drivers/gpu/drm/gma500/mdfld_output.c:28:arch/x86/include/asm/intel_scu_ipc.h:23:12: warning: 'struct module' declared inside parameter list will not be visible outside of this definition or declaration23 | struct module *owner); | ^~~~~~ arch/x86/include/asm/intel_scu_ipc.h:33:17: warning: 'struct module' declared inside parameter list will not be visible outside of this definition or declaration 33 | struct module *owner); | ^~~~~~Introduced by commit
bfc838f8598e("drm/gma500: Convert to use new SCU IPC API")
Quoted 8 lines
OK, these will go away when the drm-misc tree removes this file in commit
e1da811218d2("drm/gma500: Remove Medfield support")So, if you don't want to see these warnings in Linus' build testing, you need to make sure that the drm-misc tree is merged before the pm tree (or the drivers-x86 tree). Or you need to include
module.hinmdfld_output.cbeforeintel_scu_ipc.h(or inintel_scu_ipc.hitself).
The above drm-misc commit is now in Linus' tree.
Signature · 2 lines
Cheers, Stephen Rothwell
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel