Re: [PATCH] hwmon: (ads1015) Handle negative conversion values correctly

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


On Thu, Feb 18, 2016 at 02:07:52PM +0100, Peter Rosin wrote:
> From: Peter Rosin <peda@xxxxxxxxxx>
> Make the divisor signed as DIV_ROUND_CLOSEST is undefined for negative
> dividends when the divisor is unsigned.
> Signed-off-by: Peter Rosin <peda@xxxxxxxxxx>
> ---
>  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.


lm-sensors mailing list

[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux