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]
Message-ID: <2b5e38cd-ea1e-4ec3-b8ca-4b7ab9db7b85@roeck-us.net>
Date: Mon, 19 May 2025 21:56:30 -0700
From: Guenter Roeck <linux@...ck-us.net>
To: Yikai Tsai <yikai.tsai.wiwynn@...il.com>
Cc: patrick@...cx.xyz,
	Carsten Spieß <mail@...sten-spiess.de>,
	Jean Delvare <jdelvare@...e.com>, linux-hwmon@...r.kernel.org,
	linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 1/1] hwmon: (isl28022) Fix current reading calculation

On Mon, May 19, 2025 at 04:40:51PM +0800, Yikai Tsai wrote:
> According to the ISL28022 datasheet, bit15 of the current register is
> representing -32768. Fix the calculation to properly handle this bit,
> ensuring correct measurements for negative values.
> 
> Signed-off-by: Yikai Tsai <yikai.tsai.wiwynn@...il.com>

Applied.

Guenter

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ