diff options
author | Wei Yongjun <weiyj.lk@gmail.com> | 2016-08-02 00:55:34 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-08-01 21:37:35 -0700 |
commit | 1b4985b5e8c308e0c2e2046f1bb8dc6180d45b9f (patch) | |
tree | 2e3dad57a87a6b849e26e1b95be2be4a253a597b /drivers/net/ethernet/realtek/8139too.c | |
parent | 43dcff349f091b6a2f5f491c35d89b173df41acf (diff) | |
download | linux-1b4985b5e8c308e0c2e2046f1bb8dc6180d45b9f.tar.bz2 |
qed: Fix error return code in qed_resc_alloc()
Fix to return error code -EINVAL instead of 0 when EQ elements is
too larger, as done elsewhere in this function.
Signed-off-by: Wei Yongjun <weiyj.lk@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/realtek/8139too.c')
0 files changed, 0 insertions, 0 deletions