APPLIED[bionic]: [PATCH][Bionic][SRU Artful][SRU Xenial] i2c: octeon: Prevent error message on bus error

Seth Forshee seth.forshee at canonical.com
Thu Mar 15 13:10:03 UTC 2018


On Wed, Mar 07, 2018 at 05:11:33PM +0100, dann frazier wrote:
> From: Jan Glauber <jglauber at cavium.com>
> 
> BugLink: https://bugs.launchpad.net/bugs/1754076
> 
> The error message:
> 
> [Fri Feb 16 13:42:13 2018] i2c-thunderx 0000:01:09.4: unhandled state: 0
> 
> is mis-leading as state 0 (bus error) is not an unknown state.
> 
> Return -EIO as before but avoid printing the message. Also rename
> STAT_ERROR to STATE_BUS_ERROR.
> 
> Signed-off-by: Jan Glauber <jglauber at cavium.com>
> Signed-off-by: Wolfram Sang <wsa at the-dreams.de>
> (cherry picked from commit 7c4246797b84e55e2dfaaf8a18033de9df7c18c1)
> Signed-off-by: dann frazier <dann.frazier at canonical.com>

Applied to bionic/master-next, thanks!




More information about the kernel-team mailing list