[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20160219222624.GA11862@kroah.com>
Date: Fri, 19 Feb 2016 14:26:24 -0800
From: Greg KH <gregkh@...uxfoundation.org>
To: Peter Rosin <peda@...ator.liu.se>
Cc: Dirk Eibach <eibach@...ys.de>, Peter Rosin <peda@...ntia.se>,
Jean Delvare <jdelvare@...e.de>,
Guenter Roeck <linux@...ck-us.net>, lm-sensors@...sensors.org,
linux-kernel@...r.kernel.org, stable@...r.kernel.org
Subject: Re: [PATCH] hwmon: (ads1015) Handle negative conversion values
correctly
On Thu, Feb 18, 2016 at 02:07:52PM +0100, Peter Rosin wrote:
> From: Peter Rosin <peda@...ntia.se>
>
> Make the divisor signed as DIV_ROUND_CLOSEST is undefined for negative
> dividends when the divisor is unsigned.
>
> Signed-off-by: Peter Rosin <peda@...ntia.se>
> ---
> drivers/hwmon/ads1015.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
<formletter>
This is not the correct way to submit patches for inclusion in the
stable kernel tree. Please read Documentation/stable_kernel_rules.txt
for how to do this properly.
</formletter>
Powered by blists - more mailing lists