Re: [PATCH] drivers: net: lmc: fix case value for target abort error

From: David Miller
Date: Thu Aug 02 2018 - 17:42:07 EST


From: Colin King <colin.king@xxxxxxxxxxxxx>
Date: Wed, 1 Aug 2018 18:22:41 +0100

> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
>
> Current value for a target abort error is 0x010, however, this value
> should in fact be 0x002. As it stands, the range of error is 0..7 so
> it is currently never being detected. This bug has been in the driver
> since the early 2.6.12 days (or before).
>
> Detected by CoverityScan, CID#744290 ("Logically dead code")
>
> Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx>

Applied, thanks Colin.