On 7/21/24 17:18, Diego Vieira wrote:
Add KUnit tests for the kfifo data structure.
They test the vast majority of macros defined in the kfifo
header (include/linux/kfifo.h).

These are inspired by the existing tests for the 'list' doubly
linked in lib/list-test.c [1].

[1] 
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/lib/list-test.c

Signed-off-by: Diego Vieira <[email protected]>
---
  lib/Kconfig.debug |  14 +++
  lib/Makefile      |   1 +
  lib/kfifo-test.c  | 222 ++++++++++++++++++++++++++++++++++++++++++++++
  3 files changed, 237 insertions(+)
  create mode 100644 lib/kfifo-test.c
...
+MODULE_LICENSE("GPL");

Since commit 1fffe7a34c89 ("script: modpost: emit a warning when the description is missing") a module without a MODULE_DESCRIPTION() will result in a warning with make W=1

Multiple developers, including myself, have been fixing the existing warnings for 6.11 so please don't introduce a new one :)

/jeff

Reply via email to