Alex Hung (2):
drm/amd/display: Check link_res->hpo_dp_link_enc before using it
drm/amd/display: Check link_res->hpo_dp_link_enc before using it
.../drm/amd/display/dc/link/hwss/link_hwss_hpo_dp.c | 12 ++++++++++++
1 file changed, 12 insertions(+)
--
2.34.1
Hi Oleksij,
FYI, the error/warning still remains.
tree: https://gitee.com/openeuler/kernel.git openEuler-1.0-LTS
head: e833cceaa63f729c44be494d90d6ee3bfaf22faf
commit: 2bb7005696e2246baa88772341ca032ff09a63cb [1231/1231] mailbox: Add support for i.MX messaging unit
config: x86_64-buildonly-randconfig-003-20241029 (https://download.01.org/0day-ci/archive/20241104/202411040741.i4aXeK6b-lkp@…)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241104/202411040741.i4aXeK6b-lkp@…)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp(a)intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202411040741.i4aXeK6b-lkp@intel.com/
All warnings (new ones prefixed by >>):
In file included from drivers/mailbox/imx-mailbox.c:11:
include/linux/module.h:138:14: warning: 'cleanup_module' specifies less restrictive attribute than its target 'imx_mu_driver_exit': 'cold' [-Wmissing-attributes]
138 | void cleanup_module(void) __attribute__((alias(#exitfn)));
| ^~~~~~~~~~~~~~
include/linux/device.h:1558:1: note: in expansion of macro 'module_exit'
1558 | module_exit(__driver##_exit);
| ^~~~~~~~~~~
include/linux/platform_device.h:228:9: note: in expansion of macro 'module_driver'
228 | module_driver(__platform_driver, platform_driver_register, \
| ^~~~~~~~~~~~~
drivers/mailbox/imx-mailbox.c:354:1: note: in expansion of macro 'module_platform_driver'
354 | module_platform_driver(imx_mu_driver);
| ^~~~~~~~~~~~~~~~~~~~~~
In file included from include/linux/mailbox_controller.h:13,
from drivers/mailbox/imx-mailbox.c:10:
drivers/mailbox/imx-mailbox.c:354:24: note: 'cleanup_module' target declared here
354 | module_platform_driver(imx_mu_driver);
| ^~~~~~~~~~~~~
include/linux/device.h:1554:20: note: in definition of macro 'module_driver'
1554 | static void __exit __driver##_exit(void) \
| ^~~~~~~~
drivers/mailbox/imx-mailbox.c:354:1: note: in expansion of macro 'module_platform_driver'
354 | module_platform_driver(imx_mu_driver);
| ^~~~~~~~~~~~~~~~~~~~~~
include/linux/module.h:132:13: warning: 'init_module' specifies less restrictive attribute than its target 'imx_mu_driver_init': 'cold' [-Wmissing-attributes]
132 | int init_module(void) __attribute__((alias(#initfn)));
| ^~~~~~~~~~~
include/linux/device.h:1553:1: note: in expansion of macro 'module_init'
1553 | module_init(__driver##_init); \
| ^~~~~~~~~~~
include/linux/platform_device.h:228:9: note: in expansion of macro 'module_driver'
228 | module_driver(__platform_driver, platform_driver_register, \
| ^~~~~~~~~~~~~
drivers/mailbox/imx-mailbox.c:354:1: note: in expansion of macro 'module_platform_driver'
354 | module_platform_driver(imx_mu_driver);
| ^~~~~~~~~~~~~~~~~~~~~~
drivers/mailbox/imx-mailbox.c:354:24: note: 'init_module' target declared here
354 | module_platform_driver(imx_mu_driver);
| ^~~~~~~~~~~~~
include/linux/device.h:1549:19: note: in definition of macro 'module_driver'
1549 | static int __init __driver##_init(void) \
| ^~~~~~~~
drivers/mailbox/imx-mailbox.c:354:1: note: in expansion of macro 'module_platform_driver'
354 | module_platform_driver(imx_mu_driver);
| ^~~~~~~~~~~~~~~~~~~~~~
>> drivers/mailbox/.tmp_imx-mailbox.o: warning: objtool: missing symbol for section .init.text
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki