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: <DFGU4A5WRAFB.2PVUYY20ACOS7@bootlin.com>
Date: Mon, 05 Jan 2026 18:34:14 +0100
From: "Luca Ceresoli" <luca.ceresoli@...tlin.com>
To: "Thorsten Blum" <thorsten.blum@...ux.dev>, "Rafael J. Wysocki"
 <rafael@...nel.org>, "Daniel Lezcano" <daniel.lezcano@...aro.org>, "Zhang
 Rui" <rui.zhang@...el.com>, "Lukasz Luba" <lukasz.luba@....com>, "Florian
 Fainelli" <florian.fainelli@...adcom.com>, "Broadcom internal kernel review
 list" <bcm-kernel-feedback-list@...adcom.com>, "Ray Jui"
 <rjui@...adcom.com>, "Scott Branden" <sbranden@...adcom.com>, "Geert
 Uytterhoeven" <geert+renesas@...der.be>
Cc: <linux-pm@...r.kernel.org>, <linux-rpi-kernel@...ts.infradead.org>,
 <linux-arm-kernel@...ts.infradead.org>, <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH RESEND] thermal: broadcom: Use clamp to simplify
 bcm2835_thermal_temp2adc

On Mon Jan 5, 2026 at 1:13 PM CET, Thorsten Blum wrote:
> Use clamp() to simplify bcm2835_thermal_temp2adc() and improve its
> readability. Explicitly cast BIT() to int to prevent a signedness error.
>
> Signed-off-by: Thorsten Blum <thorsten.blum@...ux.dev>

Reviewed-by: Luca Ceresoli <luca.ceresoli@...tlin.com>

--
Luca Ceresoli, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ