2023-01-17 07:06:26

by Randy Dunlap

[permalink] [raw]
Subject: [PATCH] nvmem: rave-sp-eeprm: fix kernel-doc bad line warning

Convert an empty line to " *" to avoid a kernel-doc warning:

drivers/nvmem/rave-sp-eeprom.c:48: warning: bad line:

Signed-off-by: Randy Dunlap <[email protected]>
Cc: Srinivas Kandagatla <[email protected]>
Cc: Andrey Vostrikov <[email protected]>
Cc: Nikita Yushchenko <[email protected]>
Cc: Andrey Smirnov <[email protected]>
---
drivers/nvmem/rave-sp-eeprom.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff -- a/drivers/nvmem/rave-sp-eeprom.c b/drivers/nvmem/rave-sp-eeprom.c
--- a/drivers/nvmem/rave-sp-eeprom.c
+++ b/drivers/nvmem/rave-sp-eeprom.c
@@ -45,7 +45,7 @@ enum rave_sp_eeprom_header_size {
* @type: Access type (see enum rave_sp_eeprom_access_type)
* @success: Success flag (Success = 1, Failure = 0)
* @data: Read data
-
+ *
* Note this structure corresponds to RSP_*_EEPROM payload from RAVE
* SP ICD
*/


2023-01-20 18:27:08

by Srinivas Kandagatla

[permalink] [raw]
Subject: Re: [PATCH] nvmem: rave-sp-eeprm: fix kernel-doc bad line warning



On 17/01/2023 07:02, Randy Dunlap wrote:
> Convert an empty line to " *" to avoid a kernel-doc warning:
>
> drivers/nvmem/rave-sp-eeprom.c:48: warning: bad line:
>
> Signed-off-by: Randy Dunlap <[email protected]>
> Cc: Srinivas Kandagatla <[email protected]>
> Cc: Andrey Vostrikov <[email protected]>
> Cc: Nikita Yushchenko <[email protected]>
> Cc: Andrey Smirnov <[email protected]>
> ---

Applied thanks,

--srini
> drivers/nvmem/rave-sp-eeprom.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff -- a/drivers/nvmem/rave-sp-eeprom.c b/drivers/nvmem/rave-sp-eeprom.c
> --- a/drivers/nvmem/rave-sp-eeprom.c
> +++ b/drivers/nvmem/rave-sp-eeprom.c
> @@ -45,7 +45,7 @@ enum rave_sp_eeprom_header_size {
> * @type: Access type (see enum rave_sp_eeprom_access_type)
> * @success: Success flag (Success = 1, Failure = 0)
> * @data: Read data
> -
> + *
> * Note this structure corresponds to RSP_*_EEPROM payload from RAVE
> * SP ICD
> */