diff mbox

watchdog: core: fix trivial typo in a comment

Message ID 1460476571-2351-1-git-send-email-wsa@the-dreams.de (mailing list archive)
State Accepted
Delegated to: Geert Uytterhoeven
Headers show

Commit Message

Wolfram Sang April 12, 2016, 3:56 p.m. UTC
From: Wolfram Sang <wsa+renesas@sang-engineering.com>

Let's have balanced round brackets.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
---
 drivers/watchdog/watchdog_core.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Guenter Roeck April 12, 2016, 5:11 p.m. UTC | #1
On Tue, Apr 12, 2016 at 05:56:11PM +0200, Wolfram Sang wrote:
> From: Wolfram Sang <wsa+renesas@sang-engineering.com>
> 
> Let's have balanced round brackets.
> 
> Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>

Nice catch. Shows that someone is actually reading comments :-)

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

> ---
>  drivers/watchdog/watchdog_core.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/watchdog/watchdog_core.c b/drivers/watchdog/watchdog_core.c
> index c1658fe73d58a1..6249ed34214a9f 100644
> --- a/drivers/watchdog/watchdog_core.c
> +++ b/drivers/watchdog/watchdog_core.c
> @@ -104,7 +104,7 @@ static void watchdog_check_min_max_timeout(struct watchdog_device *wdd)
>   * timeout module parameter (if it is valid value) or the timeout-sec property
>   * (only if it is a valid value and the timeout_parm is out of bounds).
>   * If none of them are valid then we keep the old value (which should normally
> - * be the default timeout value.
> + * be the default timeout value).
>   *
>   * A zero is returned on success and -EINVAL for failure.
>   */
> -- 
> 2.7.0
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-watchdog" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
Wim Van Sebroeck May 14, 2016, 4:42 p.m. UTC | #2
Hi Wolfram,

> From: Wolfram Sang <wsa+renesas@sang-engineering.com>
> 
> Let's have balanced round brackets.
> 
> Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
> ---
>  drivers/watchdog/watchdog_core.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/watchdog/watchdog_core.c b/drivers/watchdog/watchdog_core.c
> index c1658fe73d58a1..6249ed34214a9f 100644
> --- a/drivers/watchdog/watchdog_core.c
> +++ b/drivers/watchdog/watchdog_core.c
> @@ -104,7 +104,7 @@ static void watchdog_check_min_max_timeout(struct watchdog_device *wdd)
>   * timeout module parameter (if it is valid value) or the timeout-sec property
>   * (only if it is a valid value and the timeout_parm is out of bounds).
>   * If none of them are valid then we keep the old value (which should normally
> - * be the default timeout value.
> + * be the default timeout value).
>   *
>   * A zero is returned on success and -EINVAL for failure.
>   */
> -- 
> 2.7.0
> 

This patch has been added to linux-watchdog-next.

Kind regards,
Wim.
diff mbox

Patch

diff --git a/drivers/watchdog/watchdog_core.c b/drivers/watchdog/watchdog_core.c
index c1658fe73d58a1..6249ed34214a9f 100644
--- a/drivers/watchdog/watchdog_core.c
+++ b/drivers/watchdog/watchdog_core.c
@@ -104,7 +104,7 @@  static void watchdog_check_min_max_timeout(struct watchdog_device *wdd)
  * timeout module parameter (if it is valid value) or the timeout-sec property
  * (only if it is a valid value and the timeout_parm is out of bounds).
  * If none of them are valid then we keep the old value (which should normally
- * be the default timeout value.
+ * be the default timeout value).
  *
  * A zero is returned on success and -EINVAL for failure.
  */