Searched hist:b8af344c (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/net/ethernet/hisilicon/hns3/ |
H A D | hns3_debugfs.c | b8af344c Fri Nov 26 06:03:16 CST 2021 Hao Chen <chenhao288@hisilicon.com> net: hns3: add check NULL address for page pool
When page pool is not enabled, its address value is still NULL and page pool should not be accessed, so add a check for it.
Fixes: 850bfb912a6d ("net: hns3: debugfs add support dumping page pool info") Signed-off-by: Hao Chen <chenhao288@hisilicon.com> Signed-off-by: Guangbin Huang <huangguangbin2@huawei.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
|