Skip to contentSkip to conversation

platform/x86: int1092: intel_sar.h: fix kernel-doc warnings

PATCH In review Randy Dunlap 2 participants 2 messages Dec 1

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 platform/x86: int1092: intel_sar.h: fix kernel-doc warnings

Convert 4 structures to kernel-doc format and remove one excess struct member comment.

Fixes these warnings:
Warning: drivers/platform/x86/intel/int1092/intel_sar.h:18 This comment
starts with '/**', but isn't a kernel-doc comment.
* Structure wwan_device_mode_info - device mode information
Warning: drivers/platform/x86/intel/int1092/intel_sar.h:34 This comment
starts with '/**', but isn't a kernel-doc comment.
* Structure wwan_device_mode_configuration - device configuration
Warning: drivers/platform/x86/intel/int1092/intel_sar.h:48 This comment
starts with '/**', but isn't a kernel-doc comment.
* Structure wwan_supported_info - userspace datastore
Warning: drivers/platform/x86/intel/int1092/intel_sar.h:63 This comment
starts with '/**', but isn't a kernel-doc comment.
* Structure wwan_sar_context - context of SAR
Warning: drivers/platform/x86/intel/int1092/intel_sar.h:84 Excess struct
member 'sar_kobject' description in 'wwan_sar_context'

---
Cc: Hans de Goede <[email protected]>
Cc: Ilpo Järvinen <[email protected]>
Cc: [email protected]

 drivers/platform/x86/intel/int1092/intel_sar.h |    9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)
drivers/platform/x86/intel/int1092/intel_sar.h +4 -5
@@ -16,7 +16,7 @@
 #define TOTAL_DATA 4
 
 /**
- * Structure wwan_device_mode_info - device mode information
+ * struct wwan_device_mode_info - device mode information
  * Holds the data that needs to be passed to userspace.
  * The data is updated from the BIOS sensor information.
  * @device_mode: Specific mode of the device
@@ -32,7 +32,7 @@ struct wwan_device_mode_info {
 };
 
 /**
- * Structure wwan_device_mode_configuration - device configuration
+ * struct wwan_device_mode_configuration - device configuration
  * Holds the data that is configured and obtained on probe event.
  * The data is updated from the BIOS sensor information.
  * @version: Mode configuration version
@@ -46,7 +46,7 @@ struct wwan_device_mode_configuration {
 };
 
 /**
- * Structure wwan_supported_info - userspace datastore
+ * struct wwan_supported_info - userspace datastore
  * Holds the data that is obtained from userspace
  * The data is updated from the userspace and send value back in the
  * structure format that is mentioned here.
@@ -61,7 +61,7 @@ struct wwan_supported_info {
 };
 
 /**
- * Structure wwan_sar_context - context of SAR
+ * struct wwan_sar_context - context of SAR
  * Holds the complete context as long as the driver is in existence
  * The context holds instance of the data used for different cases.
  * @guid: Group id
@@ -69,7 +69,6 @@ struct wwan_supported_info {
  * @reg_value: regulatory value
  * Regulatory 0: FCC, 1: CE, 2: ISED
  * @sar_device: platform_device type
- * @sar_kobject: kobject for sysfs
  * @supported_data: wwan_supported_info struct
  * @sar_data: wwan_device_mode_info struct
  * @config_data: wwan_device_mode_configuration array struct
maintainer
#1 lore raw
Quoted 19 lines · Randy Dunlap

Convert 4 structures to kernel-doc format and remove one excess struct member comment.

Fixes these warnings:
Warning: drivers/platform/x86/intel/int1092/intel_sar.h:18 This comment
starts with '/**', but isn't a kernel-doc comment.
* Structure wwan_device_mode_info - device mode information
Warning: drivers/platform/x86/intel/int1092/intel_sar.h:34 This comment
starts with '/**', but isn't a kernel-doc comment.
* Structure wwan_device_mode_configuration - device configuration
Warning: drivers/platform/x86/intel/int1092/intel_sar.h:48 This comment
starts with '/**', but isn't a kernel-doc comment.
* Structure wwan_supported_info - userspace datastore
Warning: drivers/platform/x86/intel/int1092/intel_sar.h:63 This comment
starts with '/**', but isn't a kernel-doc comment.
* Structure wwan_sar_context - context of SAR
Warning: drivers/platform/x86/intel/int1092/intel_sar.h:84 Excess struct
member 'sar_kobject' description in 'wwan_sar_context'

Quoted 1 line

[...]

Thank you for your contribution, it has been applied to my local review-ilpo-next branch. Note it will show up in the public platform-drivers-x86/review-ilpo-next branch only once I've pushed my local branch there, which might take a while.

FYI [if applicable to your patch], as per Linus' policy change, also fixes are mostly routed through for-next unless the fix is for a commit introduced in the most recent cycle or is clearly a regression fix.

The list of commits applied:
[1/1] platform/x86: int1092: intel_sar.h: fix kernel-doc warnings

      commit: 64a199418869a556d202cf573ed8dd9b24bc1229

--
i.