[PATCH net-next 6/8] net: mscc: improve the frame header parsing readability

2019-07-01 Thread Antoine Tenart
This cosmetic patch improves the frame header parsing readability by introducing a new macro to access and mask its fields. Signed-off-by: Antoine Tenart --- drivers/net/ethernet/mscc/ocelot_board.c | 24 +--- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/dr

[PATCH net-next 6/8] net: mscc: improve the frame header parsing readability

2019-01-17 Thread Antoine Tenart
This cosmetic patch improves the frame header parsing readability by introducing a new macro to access and mask its fields. Signed-off-by: Antoine Tenart --- drivers/net/ethernet/mscc/ocelot_board.c | 24 +--- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/dr