netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 net 0/4] Fix passing 0 to ERR_PTR in intel ether drivers
@ 2024-10-22  6:56 Yue Haibing
  2024-10-22  6:56 ` [PATCH v3 net 1/4] igc: Fix passing 0 to ERR_PTR in igc_xdp_run_prog() Yue Haibing
                   ` (4 more replies)
  0 siblings, 5 replies; 11+ messages in thread
From: Yue Haibing @ 2024-10-22  6:56 UTC (permalink / raw)
  To: anthony.l.nguyen, przemyslaw.kitszel, davem, edumazet, kuba,
	pabeni, ast, daniel, hawk, john.fastabend, maciej.fijalkowski,
	vedang.patel, jithu.joseph, andre.guedes, horms, jacob.e.keller,
	sven.auhagen, alexander.h.duyck
  Cc: intel-wired-lan, netdev, linux-kernel, bpf, yuehaibing

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


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2024-10-25  4:11 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-22  6:56 [PATCH v3 net 0/4] Fix passing 0 to ERR_PTR in intel ether drivers Yue Haibing
2024-10-22  6:56 ` [PATCH v3 net 1/4] igc: Fix passing 0 to ERR_PTR in igc_xdp_run_prog() Yue Haibing
2024-10-22  6:56 ` [PATCH v3 net 2/4] igb: Fix passing 0 to ERR_PTR in igb_run_xdp() Yue Haibing
2024-10-22  6:56 ` [PATCH v3 net 3/4] ixgbe: Fix passing 0 to ERR_PTR in ixgbe_run_xdp() Yue Haibing
2024-10-22 11:25   ` Maciej Fijalkowski
2024-10-22  6:56 ` [PATCH v3 net 4/4] ixgbevf: Fix passing 0 to ERR_PTR in ixgbevf_run_xdp() Yue Haibing
2024-10-22 11:27   ` Maciej Fijalkowski
2024-10-22  7:32 ` [PATCH v3 net 0/4] Fix passing 0 to ERR_PTR in intel ether drivers Simon Horman
2024-10-22 19:17   ` Jacob Keller
2024-10-25  3:30     ` Yue Haibing
2024-10-25  4:11       ` Przemek Kitszel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).