[v1,1/1] watchdog: mlx-wdt: Parameter desctiption warning fix

Message ID 20231026082558.12142-1-michaelsh@nvidia.com
State New
Headers
Series [v1,1/1] watchdog: mlx-wdt: Parameter desctiption warning fix |

Commit Message

michaelsh@nvidia.com Oct. 26, 2023, 8:25 a.m. UTC
  From: Michael Shych <michaelsh@nvidia.com>

Add parameter desription to fix warning.

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202310241044.lvqeOGli-lkp@intel.com
Signed-off-by: Michael Shych <michaelsh@nvidia.com>
Signed-off-by: Vadim Pasternak <vadimp@nvidia.com>
---
 drivers/watchdog/mlx_wdt.c | 1 +
 1 file changed, 1 insertion(+)
  

Comments

Guenter Roeck Oct. 26, 2023, 2:30 p.m. UTC | #1
On 10/26/23 01:25, michaelsh@nvidia.com wrote:
> From: Michael Shych <michaelsh@nvidia.com>
> 
> Add parameter desription to fix warning.
> 
> Reported-by: kernel test robot <lkp@intel.com>
> Closes: https://lore.kernel.org/oe-kbuild-all/202310241044.lvqeOGli-lkp@intel.com
> Signed-off-by: Michael Shych <michaelsh@nvidia.com>
> Signed-off-by: Vadim Pasternak <vadimp@nvidia.com>

Reviewed-by: Guenter Roeck <linux@roeck-us.net>

> ---
>   drivers/watchdog/mlx_wdt.c | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/watchdog/mlx_wdt.c b/drivers/watchdog/mlx_wdt.c
> index 9c5b6616fc87..667e2c5b3431 100644
> --- a/drivers/watchdog/mlx_wdt.c
> +++ b/drivers/watchdog/mlx_wdt.c
> @@ -39,6 +39,7 @@
>    * @tleft_idx:	index for direct access to time left register;
>    * @ping_idx:	index for direct access to ping register;
>    * @reset_idx:	index for direct access to reset cause register;
> + * @regmap_val_sz: size of value in register map;
>    * @wd_type:	watchdog HW type;
>    */
>   struct mlxreg_wdt {
  

Patch

diff --git a/drivers/watchdog/mlx_wdt.c b/drivers/watchdog/mlx_wdt.c
index 9c5b6616fc87..667e2c5b3431 100644
--- a/drivers/watchdog/mlx_wdt.c
+++ b/drivers/watchdog/mlx_wdt.c
@@ -39,6 +39,7 @@ 
  * @tleft_idx:	index for direct access to time left register;
  * @ping_idx:	index for direct access to ping register;
  * @reset_idx:	index for direct access to reset cause register;
+ * @regmap_val_sz: size of value in register map;
  * @wd_type:	watchdog HW type;
  */
 struct mlxreg_wdt {