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] [day] [month] [year] [list]
Message-ID: <0ea33217-321e-40e5-a2f0-77693fa7e3f0@kernel.org>
Date: Fri, 30 Aug 2024 20:13:10 +0200
From: Krzysztof Kozlowski <krzk@...nel.org>
To: ulf.hansson@...aro.org
Cc: florian.fainelli@...adcom.com, Shen Lichuan <shenlichuan@...o.com>,
 bcm-kernel-feedback-list@...adcom.com, linux-pm@...r.kernel.org,
 linux-kernel@...r.kernel.org, opensource.kernel@...o.com, rafal@...ecki.pl
Subject: Re: [PATCH v1] pmdomain: bcm: Convert to use dev_err_probe()

On 30/08/2024 13:32, Shen Lichuan wrote:
> Use dev_err_probe() to simplify the error path and unify a message
> template.
> 
> Using this helper is totally fine even if err is known to never
> be -EPROBE_DEFER.
> 
> The benefit compared to a normal dev_err() is the standardized format
> of the error code, it being emitted symbolically and the fact that
> the error code is returned which allows more compact error paths.
> 
> Signed-off-by: Shen Lichuan <shenlichuan@...o.com>
> ---
>  drivers/pmdomain/bcm/bcm-pmb.c | 6 ++----

Ulf,

Since ~2 weeks there is tremendous amount of trivial patches coming from
vivo.com. I identified at least 6 buggy, where the contributor did not
understand the code. Not sure about intention, but I advise extra
carefulness when dealing with these "trivial" improvements (because we
tend to apply things which look trivial).

Best regards,
Krzysztof


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ