Commit 9ed4d6a
committed
wdc: invalid customer ID fix
The return value of this function represents what commands are supported
by the target, so returning a -1 here incorrectly enables all capability
checks. Instead, this updates the behavior to just log the error and
continue to report the actual device capabilities.
Reviewed-by: Jeffrey Lien <[email protected]>
Signed-off-by: Brandon Paupore <[email protected]>1 parent 438304a commit 9ed4d6a
2 files changed
Lines changed: 11 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1784 | 1784 | | |
1785 | 1785 | | |
1786 | 1786 | | |
1787 | | - | |
1788 | | - | |
1789 | | - | |
1790 | | - | |
| 1787 | + | |
| 1788 | + | |
| 1789 | + | |
| 1790 | + | |
| 1791 | + | |
1791 | 1792 | | |
1792 | 1793 | | |
1793 | 1794 | | |
| |||
1866 | 1867 | | |
1867 | 1868 | | |
1868 | 1869 | | |
1869 | | - | |
1870 | | - | |
1871 | | - | |
1872 | | - | |
| 1870 | + | |
| 1871 | + | |
| 1872 | + | |
| 1873 | + | |
| 1874 | + | |
1873 | 1875 | | |
1874 | 1876 | | |
1875 | 1877 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
0 commit comments