diff options
| author | Thadeu Lima de Souza Cascardo <[email protected]> | 2025-04-30 16:36:28 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2025-04-30 19:03:52 +0000 |
| commit | 20acf4dd46e4c0905676ad2a1d9a32041469893f (patch) | |
| tree | d7c938eb4803737717b22426f25bd00b67f1dcf8 /net/core/dev_api.c | |
| parent | Merge 6.15-rc4 into char-misc-next (diff) | |
| download | kernel-20acf4dd46e4c0905676ad2a1d9a32041469893f.tar.gz kernel-20acf4dd46e4c0905676ad2a1d9a32041469893f.zip | |
char: misc: make miscdevice unit test built-in only
Since it uses __init symbols, it cannot be a module. Builds with
CONFIG_TEST_MISC_MINOR=m will fail with:
ERROR: modpost: "init_mknod" [drivers/misc/misc_minor_kunit.ko] undefined!
ERROR: modpost: "init_unlink" [drivers/misc/misc_minor_kunit.ko] undefined!
Reported-by: Stephen Rothwell <[email protected]>
Closes: https://lore.kernel.org/linux-next/[email protected]/
Reported-by: kernel test robot <[email protected]>
Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
Fixes: 45f0de4f8dc3 ("char: misc: add test cases")
Signed-off-by: Thadeu Lima de Souza Cascardo <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'net/core/dev_api.c')
0 files changed, 0 insertions, 0 deletions
