Skip to contentSkip to conversation

peci: linux/peci.h: fix Excess kernel-doc description warning

PATCH In review Randy Dunlap 2 participants 2 messages Mar 29, 2024 – Apr 3, 2024 PECI

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 peci: linux/peci.h: fix Excess kernel-doc description warning

Remove the @controller: line to prevent the kernel-doc warning:

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

---
v2: add Rev-by, add gregkh email

Would it make sense to add Greg as M: in the MAINTAINERS file? How does someone know to Cc: Greg on PECI patches?

 include/linux/peci.h |    1 -
 1 file changed, 1 deletion(-)
include/linux/peci.h +0 -1
diff -- a/include/linux/peci.h b/include/linux/peci.h
@@ -58,7 +58,6 @@ static inline struct peci_controller *to
 /**
  * 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
maintainer
#1 lore raw
Quoted 10 lines · Randy Dunlap

Remove the @controller: line to prevent the kernel-doc warning:

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

Quoted 5 lines

---
v2: add Rev-by, add gregkh email

Would it make sense to add Greg as M: in the MAINTAINERS file? How does someone know to Cc: Greg on PECI patches?

Hi Randy,

Normally I was taking PECI related patches into peci-next [1] and sending a PR to Greg. Unfortunately, I didn't manage to send it in v6.9 cycle, which is why your patch didn't land in mainline yet. Sorry about that delay.

[1] https://git.kernel.org/pub/scm/linux/kernel/git/iwi/linux.git/log/?h=peci-next

-Iwona

Quoted 15 lines

 include/linux/peci.h |    1 -

 1 file changed, 1 deletion(-)

diff -- a/include/linux/peci.h b/include/linux/peci.h

include/linux/peci.h +0 -1
@@ -58,7 +58,6 @@ static inline struct peci_controller *to
  /**
   * 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