2024-03-03 13:45:16

by R Sundar

[permalink] [raw]
Subject: [PATCH] Removed controller field description to prevent kernel-doc warnings

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

Signed-off-by: R SUNDAR <[email protected]>
---
include/linux/peci.h | 1 -
1 file changed, 1 deletion(-)

diff --git a/include/linux/peci.h b/include/linux/peci.h
index 9b3d36aff431..90e241458ef6 100644
--- a/include/linux/peci.h
+++ b/include/linux/peci.h
@@ -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
--
2.34.1



2024-03-03 20:44:57

by Randy Dunlap

[permalink] [raw]
Subject: Re: [PATCH] Removed controller field description to prevent kernel-doc warnings



On 3/3/24 05:44, R SUNDAR wrote:
> /include/linux/peci.h:84: warning: Excess struct member 'controller' description in 'peci_device'
>
> Signed-off-by: R SUNDAR <[email protected]>

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

so
Acked-by: Randy Dunlap <[email protected]>

> ---
> include/linux/peci.h | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/include/linux/peci.h b/include/linux/peci.h
> index 9b3d36aff431..90e241458ef6 100644
> --- a/include/linux/peci.h
> +++ b/include/linux/peci.h
> @@ -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

--
#Randy