Skip to content

Misc Intel driver cleanups

Alexander Duyck intel-wired-lan 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5fm10k: Cleanup MSI-X interrupts in case of failuredrivers/net/ethernet/intel/fm10k/fm10k_main.c+3 -12 replies
2/5fm10k: Cleanup exception handling for mailbox interruptdrivers/net/ethernet/intel/fm10k/fm10k_pci.c+11 -22 replies
3/5fm10k: Cleanup exception handling for changing queuesdrivers/net/ethernet/intel/fm10k/fm10k_netdev.c drivers/net/ethernet/intel/fm10k/fm10k_pci.c+55 -177 replies
4/5e1000e: Switch e1000e_up to void, drop code checking for error resultdrivers/net/ethernet/intel/e1000e/e1000.h drivers/net/ethernet/intel/e1000e/netdev.c+5 -121 reply
5/5igb: Fix unused variable warningdrivers/net/ethernet/intel/igb/igb_main.c+0 -11 reply

Reviews trailers per patch

3 of 5 patches have a Reviewed-by or Acked-by.

PatchBruce AllanKrishneil SinghAaron Brown
1/5R-b T-b
2/5R-b T-b
3/5R-b T-b
4/5T-b
5/5T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [Intel-wired-lan] [next PATCH 0/5] Misc Intel driver cleanups

These are some assorted cleanups that occurred to me over the last several days. They are compile tested only.

The first three are based on review of some patches I saw recently accepted into fm10k. We weren't doing consistent exception handling when we probably should have been. Also it looks like there are some exception paths what would have likely resulted in a kernel panic so I decided to try and address those.

The fourth is based on a suggestion I had given to Nick but he ignored. Basically e1000e_up is always returning 0, there was code that was checking for it returning non-zero so I make e1000e_up void and dropped all code that was checking it for a non-zero return value.

The last patch is a minor tweak to an existing patch in the dev-queue. Feel free to just fold it into the patch it fixes and add my signed-off-by or carry it separately. I am good either way.

---

Alexander Duyck (5):
fm10k: Cleanup MSI-X interrupts in case of failure
fm10k: Cleanup exception handling for mailbox interrupt
fm10k: Cleanup exception handling for changing queues
e1000e: Switch e1000e_up to void, drop code checking for error result
igb: Fix unused variable warning

 drivers/net/ethernet/intel/e1000e/e1000.h       |    2 -
 drivers/net/ethernet/intel/e1000e/netdev.c      |   15 +----
 drivers/net/ethernet/intel/fm10k/fm10k_main.c   |    4 +
 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c |   17 ++++--
 drivers/net/ethernet/intel/fm10k/fm10k_pci.c    |   68 ++++++++++++++++++-----
 drivers/net/ethernet/intel/igb/igb_main.c       |    1 
 6 files changed, 74 insertions(+), 33 deletions(-)

--