diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2016-12-01 08:48:30 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-12-06 20:18:22 +0300 |
commit | 163117e8d4fd7a235ec48479e31bbda0c74eff56 (patch) | |
tree | 3f5aa5e729a87e0b1fa9f78155442bbe675a75f9 /drivers/net/ethernet/hisilicon/hns/hns_dsaf_misc.h | |
parent | 88abd8249ee8bcebb98c90e890ea5e342db832af (diff) | |
download | linux-163117e8d4fd7a235ec48479e31bbda0c74eff56.tar.xz |
dbri: move dereference after check for NULL
We accidentally introduced a dereference before the NULL check in
xmit_descs() as part of silencing a GCC warning.
Fixes: 16f46050e709 ("dbri: Fix compiler warning")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/hisilicon/hns/hns_dsaf_misc.h')
0 files changed, 0 insertions, 0 deletions