On Fri, 2023-12-01 at 16:38 +0000, Shuah Khan wrote: > On 12/1/23 06:13, Marcos Paulo de Souza wrote: > > On Thu, Nov 30, 2023 at 04:24:26PM -0700, Shuah Khan wrote: > > > > > > > Missing module name? Is there a reason to not name this module? > > > > Can you please elaborate? This new module use the same MODULE_ > > macros used by > > the current livepatch selftests. What do you mean by module name? > > > > Pre-commit checpatch script spdx check complained about the module > name. > Please run it to see the message. I've ran checkpatch on all the tree patches, and so far it complained about MAINTANERS file needing to be updated (since we removed lib/livepatch and it's mentioned on MAINTAINERS file): $ ./scripts/checkpatch.pl 000*.patch ----------------------------------------------------------- 0001-kselftests-lib.mk-Add-TEST_GEN_MODS_DIR-variable.patch ----------------------------------------------------------- total: 0 errors, 0 warnings, 68 lines checked 0001-kselftests-lib.mk-Add-TEST_GEN_MODS_DIR-variable.patch has no obvious style problems and is ready for submission. --------------------------------------------------------------- 0002-livepatch-Move-tests-from-lib-livepatch-to-selftests.patch --------------------------------------------------------------- WARNING: Prefer a maximum 75 chars per line (possible unwrapped commit description?) #17: debug and rebuild the tests by running make on the selftests/livepatch directory, WARNING: added, moved or deleted file(s), does MAINTAINERS need updating? #82: rename {lib/livepatch => tools/testing/selftests/livepatch/test_modules}/test_klp_atomic_replace .c (100%) total: 0 errors, 2 warnings, 519 lines checked NOTE: For some of the reported defects, checkpatch may be able to mechanically convert to the typical style using --fix or --fix- inplace. 0002-livepatch-Move-tests-from-lib-livepatch-to-selftests.patch has style problems, please review. --------------------------------------------------------------- 0003-selftests-livepatch-Test-livepatching-a-heavily-call.patch --------------------------------------------------------------- WARNING: added, moved or deleted file(s), does MAINTAINERS need updating? #60: new file mode 100755 total: 0 errors, 1 warnings, 237 lines checked NOTE: For some of the reported defects, checkpatch may be able to mechanically convert to the typical style using --fix or --fix- inplace. 0003-selftests-livepatch-Test-livepatching-a-heavily-call.patch has style problems, please review. NOTE: If any of the errors are false positives, please report them to the maintainer, see CHECKPATCH in MAINTAINERS. I couldn't find any mention about "missing module name". Is your script showing more warnings than these ones? Can you please share your output? I'll fix MAINTAINERS file but I'll wait until I understand what's missing in your checkpatch script to resend the patchset. Thanks, Marcos > > thanks, > -- Shuah >