diff mbox series

[1/4] watchdog: it87_wdt: add blank line after variable declaration

Message ID 20231213094525.11849-1-devlists@wefi.net (mailing list archive)
State New
Headers show
Series [1/4] watchdog: it87_wdt: add blank line after variable declaration | expand

Commit Message

Werner Fischer Dec. 13, 2023, 9:45 a.m. UTC
This patch fixes the following checkpatch.pl warning:

WARNING: Missing a blank line after declarations

Signed-off-by: Werner Fischer <devlists@wefi.net>
---
 drivers/watchdog/it87_wdt.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Guenter Roeck Dec. 13, 2023, 2:54 p.m. UTC | #1
On Wed, Dec 13, 2023 at 10:45:22AM +0100, Werner Fischer wrote:
> This patch fixes the following checkpatch.pl warning:
> 
> WARNING: Missing a blank line after declarations
> 
> Signed-off-by: Werner Fischer <devlists@wefi.net>

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

> ---
>  drivers/watchdog/it87_wdt.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/watchdog/it87_wdt.c b/drivers/watchdog/it87_wdt.c
> index e888b1bdd1f2..6b7f7ec03633 100644
> --- a/drivers/watchdog/it87_wdt.c
> +++ b/drivers/watchdog/it87_wdt.c
> @@ -146,6 +146,7 @@ static inline void superio_outb(int val, int reg)
>  static inline int superio_inw(int reg)
>  {
>  	int val;
> +
>  	outb(reg++, REG);
>  	val = inb(VAL) << 8;
>  	outb(reg, REG);
> -- 
> 2.39.2
>
diff mbox series

Patch

diff --git a/drivers/watchdog/it87_wdt.c b/drivers/watchdog/it87_wdt.c
index e888b1bdd1f2..6b7f7ec03633 100644
--- a/drivers/watchdog/it87_wdt.c
+++ b/drivers/watchdog/it87_wdt.c
@@ -146,6 +146,7 @@  static inline void superio_outb(int val, int reg)
 static inline int superio_inw(int reg)
 {
 	int val;
+
 	outb(reg++, REG);
 	val = inb(VAL) << 8;
 	outb(reg, REG);