
From: Yonglong Liu <liuyonglong@huawei.com> driver inclusion category: bugfix bugzilla: NA CVE: NA ---------------------------- This patch adds missing header guard to the hns3_cae_pfc_storm.h. Signed-off-by: Yonglong Liu <liuyonglong@huawei.com> Reviewed-by: li yongxin <liyongxin1@huawei.com> Signed-off-by: Yang Yingliang <yangyingliang@huawei.com> --- .../ethernet/hisilicon/hns3/hns3_cae/hns3_cae_pfc_storm.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/drivers/net/ethernet/hisilicon/hns3/hns3_cae/hns3_cae_pfc_storm.h b/drivers/net/ethernet/hisilicon/hns3/hns3_cae/hns3_cae_pfc_storm.h index ff0cc359bf07c..2d3f5e866ac64 100644 --- a/drivers/net/ethernet/hisilicon/hns3/hns3_cae/hns3_cae_pfc_storm.h +++ b/drivers/net/ethernet/hisilicon/hns3/hns3_cae/hns3_cae_pfc_storm.h @@ -1,6 +1,9 @@ /* SPDX-License-Identifier: GPL-2.0+ */ /* Copyright (c) 2016-2019 Hisilicon Limited. */ +#ifndef __HNS3_CAE_PFC_STORM_H__ +#define __HNS3_CAE_PFC_STORM_H__ + #include "hns3_cae_cmd.h" #include "hns3_enet.h" @@ -27,3 +30,5 @@ struct cmd_pfc_storm_param { int hns3_cae_pfc_storm_cfg(const struct hns3_nic_priv *net_priv, void *buf_in, u32 in_size, void *buf_out, u32 out_size); + +#endif -- 2.25.1