lkml.org 
[lkml]   [2018]   [Sep]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] watchdog: diag288_wdt: pointer location foo * bar should be foo *bar
Date
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
\
 
 \ /
  Last update: 2018-09-12 19:30    [W:0.073 / U:1.384 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site