* [PATCH] watchdog: diag288_wdt: pointer location foo * bar should be foo *bar
@ 2018-09-12 17:29 Jagdish Tirumala
2018-09-12 21:18 ` Guenter Roeck
0 siblings, 1 reply; 2+ messages in thread
From: Jagdish Tirumala @ 2018-09-12 17:29 UTC (permalink / raw)
To: wim, linux, yamada.masahiro
Cc: linux-watchdog, linux-arm-kernel, linux-kernel
Fix the following checkpatch error:
ERROR: pointer location foo * bar should be foo *bar
FILE: drivers/watchdog/diag288_wdt.c:202
Signed-off-by: Jagdish Tirumala <t.jag587@gmail.com>
---
drivers/watchdog/diag288_wdt.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/watchdog/diag288_wdt.c b/drivers/watchdog/diag288_wdt.c
index 806a04a676b7..046333d1beb2 100644
--- a/drivers/watchdog/diag288_wdt.c
+++ b/drivers/watchdog/diag288_wdt.c
@@ -199,7 +199,7 @@ static int wdt_ping(struct watchdog_device *dev)
return ret;
}
-static int wdt_set_timeout(struct watchdog_device * dev, unsigned int new_to)
+static int wdt_set_timeout(struct watchdog_device *dev, unsigned int new_to)
{
dev->timeout = new_to;
return wdt_ping(dev);
--
2.17.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] watchdog: diag288_wdt: pointer location foo * bar should be foo *bar
2018-09-12 17:29 [PATCH] watchdog: diag288_wdt: pointer location foo * bar should be foo *bar Jagdish Tirumala
@ 2018-09-12 21:18 ` Guenter Roeck
0 siblings, 0 replies; 2+ messages in thread
From: Guenter Roeck @ 2018-09-12 21:18 UTC (permalink / raw)
To: Jagdish Tirumala
Cc: wim, yamada.masahiro, linux-watchdog, linux-arm-kernel, linux-kernel
On Wed, Sep 12, 2018 at 10:29:07AM -0700, Jagdish Tirumala wrote:
> Fix the following checkpatch error:
>
> ERROR: pointer location foo * bar should be foo *bar
> FILE: drivers/watchdog/diag288_wdt.c:202
>
> Signed-off-by: Jagdish Tirumala <t.jag587@gmail.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
> ---
> drivers/watchdog/diag288_wdt.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/watchdog/diag288_wdt.c b/drivers/watchdog/diag288_wdt.c
> index 806a04a676b7..046333d1beb2 100644
> --- a/drivers/watchdog/diag288_wdt.c
> +++ b/drivers/watchdog/diag288_wdt.c
> @@ -199,7 +199,7 @@ static int wdt_ping(struct watchdog_device *dev)
> return ret;
> }
>
> -static int wdt_set_timeout(struct watchdog_device * dev, unsigned int new_to)
> +static int wdt_set_timeout(struct watchdog_device *dev, unsigned int new_to)
> {
> dev->timeout = new_to;
> return wdt_ping(dev);
> --
> 2.17.1
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-09-13 2:24 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-09-12 17:29 [PATCH] watchdog: diag288_wdt: pointer location foo * bar should be foo *bar Jagdish Tirumala
2018-09-12 21:18 ` Guenter Roeck
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).