Commit d16e8d8
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 faeec14 commit d16e8d8
1 file changed
+10
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1794 | 1794 | | |
1795 | 1795 | | |
1796 | 1796 | | |
1797 | | - | |
1798 | | - | |
1799 | | - | |
1800 | | - | |
| 1797 | + | |
| 1798 | + | |
| 1799 | + | |
| 1800 | + | |
| 1801 | + | |
1801 | 1802 | | |
1802 | 1803 | | |
1803 | 1804 | | |
| |||
1876 | 1877 | | |
1877 | 1878 | | |
1878 | 1879 | | |
1879 | | - | |
1880 | | - | |
1881 | | - | |
1882 | | - | |
| 1880 | + | |
| 1881 | + | |
| 1882 | + | |
| 1883 | + | |
| 1884 | + | |
1883 | 1885 | | |
1884 | 1886 | | |
1885 | 1887 | | |
| |||
0 commit comments