[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20241022065623.1282224-1-yuehaibing@huawei.com>
Date: Tue, 22 Oct 2024 14:56:19 +0800
From: Yue Haibing <yuehaibing@...wei.com>
To: <anthony.l.nguyen@...el.com>, <przemyslaw.kitszel@...el.com>,
<davem@...emloft.net>, <edumazet@...gle.com>, <kuba@...nel.org>,
<pabeni@...hat.com>, <ast@...nel.org>, <daniel@...earbox.net>,
<hawk@...nel.org>, <john.fastabend@...il.com>,
<maciej.fijalkowski@...el.com>, <vedang.patel@...el.com>,
<jithu.joseph@...el.com>, <andre.guedes@...el.com>, <horms@...nel.org>,
<jacob.e.keller@...el.com>, <sven.auhagen@...eatech.de>,
<alexander.h.duyck@...el.com>
CC: <intel-wired-lan@...ts.osuosl.org>, <netdev@...r.kernel.org>,
<linux-kernel@...r.kernel.org>, <bpf@...r.kernel.org>,
<yuehaibing@...wei.com>
Subject: [PATCH v3 net 0/4] Fix passing 0 to ERR_PTR in intel ether drivers
Fixing sparse error in xdp run code by introducing new variable xdp_res
instead of overloading this into the skb pointer as i40e drivers done
in commit 12738ac4754e ("i40e: Fix sparse errors in i40e_txrx.c") and
commit ae4393dfd472 ("i40e: fix broken XDP support").
v3: Fix uninitialized 'xdp_res' in patch 3 and 4 which Reported-by
kernel test robot
v2: Fix this as i40e drivers done instead of return NULL in xdp run code
Yue Haibing (4):
igc: Fix passing 0 to ERR_PTR in igc_xdp_run_prog()
igb: Fix passing 0 to ERR_PTR in igb_run_xdp()
ixgbe: Fix passing 0 to ERR_PTR in ixgbe_run_xdp()
ixgbevf: Fix passing 0 to ERR_PTR in ixgbevf_run_xdp()
drivers/net/ethernet/intel/igb/igb_main.c | 22 +++++++-----------
drivers/net/ethernet/intel/igc/igc_main.c | 20 ++++++----------
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c | 23 ++++++++-----------
.../net/ethernet/intel/ixgbevf/ixgbevf_main.c | 23 ++++++++-----------
4 files changed, 34 insertions(+), 54 deletions(-)
--
2.34.1
Powered by blists - more mailing lists