Skip to contentSkip to conversation

Removed controller field description to prevent kernel-doc warnings

PATCH In review R SUNDAR 2 participants 2 messages Mar 3, 2024 PECI

lore
Share & tools
lore

R SUNDAR

author
#0 lore raw

PATCH 1/1 Removed controller field description to prevent kernel-doc warnings

./include/linux/peci.h:84: warning: Excess struct member 'controller' description in 'peci_device'

---
 include/linux/peci.h | 1 -
 1 file changed, 1 deletion(-)
include/linux/peci.h +0 -1
index 9b3d36aff431..90e241458ef6 100644
@@ -58,7 +58,6 @@ static inline struct peci_controller *to_peci_controller(void *d)
 /**
  * struct peci_device - PECI device
  * @dev: device object to register PECI device to the device model
- * @controller: manages the bus segment hosting this PECI device
  * @info: PECI device characteristics
  * @info.family: device family
  * @info.model: device model
Signature · 1 line
2.34.1
Acked-by on v1 1/1
#1 lore raw
Quoted 3 lines · R SUNDAR

/include/linux/peci.h:84: warning: Excess struct member 'controller' description in 'peci_device'

Yes, or
https://lore.kernel.org/lkml/[email protected]/

so

Quoted 16 lines
---
 include/linux/peci.h | 1 -
 1 file changed, 1 deletion(-)
include/linux/peci.h +0 -1
index 9b3d36aff431..90e241458ef6 100644
@@ -58,7 +58,6 @@ static inline struct peci_controller *to_peci_controller(void *d)
 /**
  * struct peci_device - PECI device
  * @dev: device object to register PECI device to the device model
- * @controller: manages the bus segment hosting this PECI device
  * @info: PECI device characteristics
  * @info.family: device family
  * @info.model: device model
Signature · 1 line
#Randy