1
0
mirror of https://github.com/morrownr/8821cu-20210916.git synced 2024-11-16 02:40:41 +00:00
Commit Graph

4 Commits

Author SHA1 Message Date
Steve Jeong
b9ba026425 fix: os_dep/osdep_service.c: Add a checking kernel version (>=5.4) for MODULE_IMPORT_NS
[error 1] in Rockchip v20230524 kernel 5.10.y

ERROR: modpost: module 8821cu uses symbol kernel_write from namespace VFS_internal_I_am_really_a_filesystem_and_am_NOT_a_driver, but does not import it.
ERROR: modpost: module 8821cu uses symbol kernel_read from namespace VFS_internal_I_am_really_a_filesystem_and_am_NOT_a_driver, but does not import it.
ERROR: modpost: module 8821cu uses symbol filp_open from namespace VFS_internal_I_am_really_a_filesystem_and_am_NOT_a_driver, but does not import it.
make[1]: *** [scripts/Makefile.modpost:168: modules-only.symvers] Error 1
make[1]: *** Deleting file 'modules-only.symvers'
make: *** [Makefile:1524: modules] Error 2
make: *** Waiting for unfinished jobs....

[error 2] build error in kernel 4.19.y

type defaults to 'int' in declaration of 'MODULE_IMPORT_NS' [-Werror=implicit-int]
...

Signed-off-by: Steve Jeong <steve@how2flow.net>
2023-08-03 14:48:11 +09:00
Steve Jeong
1644c2d576 os_dep/osdep_service.c: improve code
Signed-off-by: Steve Jeong <steve@how2flow.net>
2023-07-19 10:28:58 +09:00
Steve Jeong
d6a07317b4 fix: os_dep/osdep_service.c: add VFS namespace
Error in Rockchip v20230524 kernel 5.10.y

ERROR: modpost: module 8821cu uses symbol kernel_write from namespace VFS_internal_I_am_really_a_filesystem_and_am_NOT_a_driver, but does not import it.
ERROR: modpost: module 8821cu uses symbol kernel_read from namespace VFS_internal_I_am_really_a_filesystem_and_am_NOT_a_driver, but does not import it.
ERROR: modpost: module 8821cu uses symbol filp_open from namespace VFS_internal_I_am_really_a_filesystem_and_am_NOT_a_driver, but does not import it.
make[1]: *** [scripts/Makefile.modpost:168: modules-only.symvers] Error 1
make[1]: *** Deleting file 'modules-only.symvers'
make: *** [Makefile:1524: modules] Error 2
make: *** Waiting for unfinished jobs....

Signed-off-by: Steve Jeong <steve@how2flow.net>
2023-07-18 16:27:24 +09:00
morrownr
1d6ef930b9 initial commit 2022-11-17 08:26:57 -06:00