[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <68829dec-8bfa-4969-84fa-0cc63a8ee012@roeck-us.net>
Date: Wed, 25 Oct 2023 12:38:30 -0700
From: Guenter Roeck <linux@...ck-us.net>
To: Antoniu Miclaus <antoniu.miclaus@...log.com>
Cc: Jean Delvare <jdelvare@...e.com>, linux-hwmon@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] drivers: hwmon: ltc2992: avoid division by zero
On Wed, Oct 11, 2023 at 04:57:53PM +0300, Antoniu Miclaus wrote:
> Do not allow setting shunt resistor to 0. This results in a division by
> zero when performing current value computations based on input voltages
> and connected resistor values.
>
> Signed-off-by: Antoniu Miclaus <antoniu.miclaus@...log.com>
Applied. Please note that the subject should not include "drivers:".
Guenter
Powered by blists - more mailing lists