From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Fri, 19 Feb 2016 14:26:24 -0800 From: Greg KH To: Peter Rosin Cc: Dirk Eibach , Peter Rosin , Jean Delvare , Guenter Roeck , lm-sensors@lm-sensors.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org Subject: Re: [PATCH] hwmon: (ads1015) Handle negative conversion values correctly Message-ID: <20160219222624.GA11862@kroah.com> References: <1455800872-24431-1-git-send-email-peda@lysator.liu.se> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1455800872-24431-1-git-send-email-peda@lysator.liu.se> Sender: linux-kernel-owner@vger.kernel.org List-ID: On Thu, Feb 18, 2016 at 02:07:52PM +0100, Peter Rosin wrote: > From: Peter Rosin > > Make the divisor signed as DIV_ROUND_CLOSEST is undefined for negative > dividends when the divisor is unsigned. > > Signed-off-by: Peter Rosin > --- > drivers/hwmon/ads1015.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) 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.