新手入门
- 积分
- 4
- 金钱
- 4
- 注册时间
- 2022-3-17
- 在线时间
- 0 小时
|
1金钱
make -C /home/wzlwy/linux/wzl_linux/kernel_wzl/wzl_linux_4.19.35_imx6ull M=/home/wzlwy/linux/wzl_linux/linux_drivers/17_platform modules
make[1]: 进入目录“/home/wzlwy/linux/wzl_linux/kernel_wzl/wzl_linux_4.19.35_imx6ull”
CC [M] /home/wzlwy/linux/wzl_linux/linux_drivers/17_platform/leddevice.o
In file included from /home/wzlwy/linux/wzl_linux/linux_drivers/17_platform/leddevice.c:6:
./include/linux/module.h:133:6: warning: ‘init_module’ specifies less restrictive attribute than its target ‘leddevice_init’: ‘cold’ [-Wmissing-attributes]
133 | int init_module(void) __attribute__((alias(#initfn)));
| ^~~~~~~~~~~
/home/wzlwy/linux/wzl_linux/linux_drivers/17_platform/leddevice.c:38:1: note: in expansion of macro ‘module_init’
38 | module_init(leddevice_init);
| ^~~~~~~~~~~
/home/wzlwy/linux/wzl_linux/linux_drivers/17_platform/leddevice.c:24:19: note: ‘init_module’ target declared here
24 | static int __init leddevice_init(void)
| ^~~~~~~~~~~~~~
In file included from /home/wzlwy/linux/wzl_linux/linux_drivers/17_platform/leddevice.c:6:
./include/linux/module.h:139:7: warning: ‘cleanup_module’ specifies less restrictive attribute than its target ‘leddevice_exit’: ‘cold’ [-Wmissing-attributes]
139 | void cleanup_module(void) __attribute__((alias(#exitfn)));
| ^~~~~~~~~~~~~~
/home/wzlwy/linux/wzl_linux/linux_drivers/17_platform/leddevice.c:39:1: note: in expansion of macro ‘module_exit’
39 | module_exit(leddevice_exit);
| ^~~~~~~~~~~
/home/wzlwy/linux/wzl_linux/linux_drivers/17_platform/leddevice.c:33:20: note: ‘cleanup_module’ target declared here
33 | static void __exit leddevice_exit(void)
| ^~~~~~~~~~~~~~
Building modules, stage 2.
MODPOST 1 modules
LD [M] /home/wzlwy/linux/wzl_linux/linux_drivers/17_platform/leddevice.ko
make[1]: 离开目录“/home/wzlwy/linux/wzl_linux/kernel_wzl/wzl_linux_4.19.35_imx6ull”
|
|