Skip to content

igb: cleanup and code deduplication

Stefan Assmann netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3igb: fix typo in igb_validate_nvm_checksum_82580drivers/net/igb/e1000_82575.c+2 -10 replies
2/3igb: transform igb_{update,validate}_nvm_checksum into wrappers of their *_with_offset equivalentsdrivers/net/igb/e1000_82575.c drivers/net/igb/e1000_nvm.c drivers/net/igb/e1000_nvm.h+34 -821 reply
3/3igb: introduce igb_thermal_sensor_event for sensor checkingdrivers/net/igb/igb_main.c+34 -330 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] igb: cleanup and code deduplication

Some cleanups for igb.
First patch is just a simple typo fix.
Second patch turns igb_update_nvm_checksum and igb_validate_nvm_checksum into wrapper functions to deduplicate code.
Third patch puts the thermal sensor code into a function. This patch could use some testing as I couldn't really test it due to lack of hardware.

Stefan

Stefan Assmann (3):
igb: fix typo in igb_validate_nvm_checksum_82580
igb: transform igb_{update,validate}_nvm_checksum into wrappers of
their *_with_offset equivalents
igb: introduce igb_thermal_sensor_event for sensor checking

 drivers/net/igb/e1000_82575.c |   79 ++--------------------------------------
 drivers/net/igb/e1000_nvm.c   |   38 +++++++++++++++----
 drivers/net/igb/e1000_nvm.h   |    2 +
 drivers/net/igb/igb_main.c    |   67 +++++++++++++++++-----------------
 4 files changed, 70 insertions(+), 116 deletions(-)
Signature · 1 line
1.7.4