summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/hisilicon/hns/hns_dsaf_misc.h
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2016-12-01 08:48:30 +0300
committerDavid S. Miller <davem@davemloft.net>2016-12-06 20:18:22 +0300
commit163117e8d4fd7a235ec48479e31bbda0c74eff56 (patch)
tree3f5aa5e729a87e0b1fa9f78155442bbe675a75f9 /drivers/net/ethernet/hisilicon/hns/hns_dsaf_misc.h
parent88abd8249ee8bcebb98c90e890ea5e342db832af (diff)
downloadlinux-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