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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Wed, 28 Sep 2022 10:43:40 +0100
From:   Lee Jones <lee@...nel.org>
To:     Jiasheng Jiang <jiasheng@...as.ac.cn>
Cc:     linux-kernel@...r.kernel.org
Subject: Re: [PATCH] mfd: sm501: Add check for platform_driver_register

On Tue, 13 Sep 2022, Jiasheng Jiang wrote:

> As platform_driver_register() can return error numbers,
> it should be better to check platform_driver_register()
> and deal with the exception.
> 
> Fixes: b6d6454fdb66 ("[PATCH] mfd: SM501 core driver")
> Signed-off-by: Jiasheng Jiang <jiasheng@...as.ac.cn>
> ---
>  drivers/mfd/sm501.c | 7 ++++++-
>  1 file changed, 6 insertions(+), 1 deletion(-)

Applied, thanks.

-- 
Lee Jones [李琼斯]

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ