History

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

Randy Dunlap committed 8 months ago

Commit 21642421 parent 64664411 file · +3 −3Browse files

Showing the changes to include/uapi (1 of 1 file). Show all

Unified · Split

include/uapi/linux/nfc.h+3−3
@@ -55,7 +55,7 @@ · 54 unmodified lines
55 * (it sends %NFC_ATTR_DEVICE_INDEX)55 * (it sends %NFC_ATTR_DEVICE_INDEX)
56 * @NFC_EVENT_TM_ACTIVATED: event emitted when the adapter is activated in56 * @NFC_EVENT_TM_ACTIVATED: event emitted when the adapter is activated in
57 * target mode.57 * target mode.
58 * @NFC_EVENT_DEVICE_DEACTIVATED: event emitted when the adapter is deactivated58 * @NFC_EVENT_TM_DEACTIVATED: event emitted when the adapter is deactivated
59 * from target mode.59 * from target mode.
60 * @NFC_CMD_LLC_GET_PARAMS: request LTO, RW, and MIUX parameters for a device60 * @NFC_CMD_LLC_GET_PARAMS: request LTO, RW, and MIUX parameters for a device
61 * @NFC_CMD_LLC_SET_PARAMS: set one or more of LTO, RW, and MIUX parameters for61 * @NFC_CMD_LLC_SET_PARAMS: set one or more of LTO, RW, and MIUX parameters for
@@ -156,7 +156,7 @@ enum nfc_commands { · 94 unmodified lines
156 * @NFC_ATTR_SE_INDEX: Secure element index156 * @NFC_ATTR_SE_INDEX: Secure element index
157 * @NFC_ATTR_SE_TYPE: Secure element type (UICC or EMBEDDED)157 * @NFC_ATTR_SE_TYPE: Secure element type (UICC or EMBEDDED)
158 * @NFC_ATTR_FIRMWARE_DOWNLOAD_STATUS: Firmware download operation status158 * @NFC_ATTR_FIRMWARE_DOWNLOAD_STATUS: Firmware download operation status
159 * @NFC_ATTR_APDU: Secure element APDU159 * @NFC_ATTR_SE_APDU: Secure element APDU
160 * @NFC_ATTR_TARGET_ISO15693_DSFID: ISO 15693 Data Storage Format Identifier160 * @NFC_ATTR_TARGET_ISO15693_DSFID: ISO 15693 Data Storage Format Identifier
161 * @NFC_ATTR_TARGET_ISO15693_UID: ISO 15693 Unique Identifier161 * @NFC_ATTR_TARGET_ISO15693_UID: ISO 15693 Unique Identifier
162 * @NFC_ATTR_SE_PARAMS: Parameters data from an evt_transaction162 * @NFC_ATTR_SE_PARAMS: Parameters data from an evt_transaction
@@ -291,7 +291,7 @@ struct sockaddr_nfc_llcp { · 128 unmodified lines
291 291
292#define NFC_HEADER_SIZE 1292#define NFC_HEADER_SIZE 1
293 293
294/**294/*
295 * Pseudo-header info for raw socket packets295 * Pseudo-header info for raw socket packets
296 * First byte is the adapter index296 * First byte is the adapter index
297 * Second byte contains flags297 * Second byte contains flags