]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
NFC: fix header file kernel-doc warnings
authorRandy Dunlap <rdunlap@infradead.org>
Thu, 26 Feb 2026 22:10:04 +0000 (14:10 -0800)
committerJakub Kicinski <kuba@kernel.org>
Sat, 28 Feb 2026 03:21:56 +0000 (19:21 -0800)
commit2164242c50084bd5b359b7d554d3a124e2c19074
tree64dfd4c44be9777d787e6033a93812ea1029f566
parent6466441a5ecd1c1168264e4c322bae455579b156
NFC: fix header file kernel-doc warnings

Repair some of the comments:
- use the correct enum names
- don't use "/**" for a non-kernel-doc comment

to fix these warnings:

Warning: include/uapi/linux/nfc.h:127 Excess enum value
 '@NFC_EVENT_DEVICE_DEACTIVATED' description in 'nfc_commands'
Warning: include/uapi/linux/nfc.h:204 Excess enum value
 '@NFC_ATTR_APDU' description in 'nfc_attrs'
Warning: include/uapi/linux/nfc.h:302 expecting prototype for Pseudo().
 Prototype was for NFC_RAW_HEADER_SIZE() instead

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Link: https://patch.msgid.link/20260226221004.1037909-1-rdunlap@infradead.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/uapi/linux/nfc.h