diff options
author | Li Qiong <liqiong@nfschina.com> | 2022-07-27 18:03:41 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-08-01 13:45:15 +0300 |
commit | 5121db6afb999d0049d37e911b08cd440f6f8f82 (patch) | |
tree | 669498d17b1e2b9cd3c5483085c7dacfc598eeb8 /net/ethernet | |
parent | 9e98f8c7707f8bf4552806b17e42c54548d29527 (diff) | |
download | linux-5121db6afb999d0049d37e911b08cd440f6f8f82.tar.xz |
net/rds: Use PTR_ERR instead of IS_ERR for rdsdebug()
If 'local_odp_mr->r_trans_private' is a error code,
it is better to print the error code than to print
the value of IS_ERR().
Signed-off-by: Li Qiong <liqiong@nfschina.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ethernet')
0 files changed, 0 insertions, 0 deletions