Re: [PATCH] i2c: jz4780: really prevent potential division by zero

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

 



2016-04-08 18:03 GMT+08:00 Wolfram Sang <wsa@xxxxxxxxxxxxx>:
> Make sure that 'ret' is populated before we leave and check the variable
> which is actually used as a divisor. Add missing '\n' while we are here.
>
> Reported-by: Axel Lin <axel.lin@xxxxxxxxxx>
> Signed-off-by: Wolfram Sang <wsa@xxxxxxxxxxxxx>
> Fixes: 34cf2acdafaa ("i2c: jz4780: prevent potential division by zero")

Looks good to me.
Thanks
--
To unsubscribe from this list: send the line "unsubscribe linux-i2c" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux GPIO]     [Linux SPI]     [Linux Hardward Monitoring]     [LM Sensors]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux