diff options
author | Colin Ian King <colin.king@canonical.com> | 2018-08-01 18:22:41 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-08-02 14:41:43 -0700 |
commit | afb41bb039656f0cecb54eeb8b2e2088201295f5 (patch) | |
tree | 3e99f37263bc376049c617fbf1b5531c7a48966d /drivers/power | |
parent | 258fe208f2829d75ac837c17dbdc697ef653a395 (diff) | |
download | linux-afb41bb039656f0cecb54eeb8b2e2088201295f5.tar.bz2 |
drivers: net: lmc: fix case value for target abort error
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@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/power')
0 files changed, 0 insertions, 0 deletions