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

From: Randy Dunlap
Date: Sun Mar 03 2024 - 11:37:03 EST




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 <prosunofficial@xxxxxxxxx>

Yes, or
https://lore.kernel.org/lkml/20231223050605.13961-1-rdunlap@xxxxxxxxxxxxx/

so
Acked-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>

> ---
> 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