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: <f1af1b58-025f-4963-9358-808b6f5d8b01@roeck-us.net>
Date: Mon, 6 May 2024 16:19:41 -0700
From: Guenter Roeck <linux@...ck-us.net>
To: David Lechner <dlechner@...libre.com>
Cc: Liam Girdwood <lgirdwood@...il.com>, Mark Brown <broonie@...nel.org>,
	Jean Delvare <jdelvare@...e.com>, linux-kernel@...r.kernel.org,
	linux-hwmon@...r.kernel.org
Subject: Re: [PATCH 2/2] hwmon: (adc128d818) simplify final return in probe

On Mon, May 06, 2024 at 10:59:16AM -0500, David Lechner wrote:
> The final return in adc128d818_probe() can be simplified by using
> PTR_ERR_OR_ZERO rather than an if statement.
> 
> Suggested-by: Guenter Roeck <linux@...ck-us.net>
> Signed-off-by: David Lechner <dlechner@...libre.com>

Acked-by: Guenter Roeck <linux@...ck-us.net>

.. assuming the patch will be applied as part of the previous series.
Otherwise I'll apply it after that series is upstream.

Thanks,
Guenter

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ