lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <3d05a866-ea95-7fa3-13de-8baf54f31653@roeck-us.net>
Date:   Sun, 10 Apr 2022 19:43:40 -0700
From:   Guenter Roeck <linux@...ck-us.net>
To:     Tzung-Bi Shih <tzungbi@...nel.org>,
        Jean-Jacques Hiblot <jjhiblot@...phandler.com>
Cc:     wim@...ux-watchdog.org, geert+renesas@...der.be,
        linux-watchdog@...r.kernel.org, linux-renesas-soc@...r.kernel.org,
        linux-kernel@...r.kernel.org,
        Phil Edworthy <phil.edworthy@...esas.com>
Subject: Re: [PATCH v5 2/2] watchdog: Add Renesas RZ/N1 Watchdog driver

On 4/10/22 18:50, Tzung-Bi Shih wrote:
> On Fri, Apr 08, 2022 at 10:02:05PM +0200, Jean-Jacques Hiblot wrote:
>> From: Phil Edworthy <phil.edworthy@...esas.com>
>>
>> This is a driver for the standard WDT on the RZ/N1 devices. This WDT has
>> very limited timeout capabilities. However, it can reset the device.
>> To do so, the corresponding bits in the SysCtrl RSTEN register need to
>> be enabled. This is not done by this driver.
>>
>> Signed-off-by: Phil Edworthy <phil.edworthy@...esas.com>
>> Signed-off-by: Jean-Jacques Hiblot <jjhiblot@...phandler.com>
> 
> With a minor comment:
> Reviewed-by: Tzung-Bi Shih <tzungbi@...nel.org>
> 
>> +static int rzn1_wdt_probe(struct platform_device *pdev)
>> +{
> [...]
>> +	wdt->wdtdev.timeout = DEFAULT_TIMEOUT;
>> +	ret = watchdog_init_timeout(&wdt->wdtdev, 0, dev);
> 
> Could it drop the assignment if `ret` is unused?

Good catch. Yes, that assignment is pretty pointless.

Guenter

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ