diff options
| author | Arthur Kiyanovski <akiyano@amazon.com> | 2020-05-22 12:08:55 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2020-05-22 14:12:48 -0700 |
| commit | adb3fb388933e03c61e941bce4a0dac4a6ae98c0 (patch) | |
| tree | 887ef5ee10bea9d76d3d7a5525fc5df8e2a07238 /scripts/gdb/linux/proc.py | |
| parent | f391503b7a11c6ca033a6e916cee23b85e21a1f1 (diff) | |
net: ena: fix ena_com_comp_status_to_errno() return value
Default return value should be -EINVAL since the input
in this case was unexpected.
Also remove the now redundant check in the beginning
of the function.
Signed-off-by: Sameeh Jubran <sameehj@amazon.com>
Signed-off-by: Arthur Kiyanovski <akiyano@amazon.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions
