]> git.baikalelectronics.ru Git - kernel.git/commit
net: mscc: improve the frame header parsing readability
authorAntoine Tenart <antoine.tenart@bootlin.com>
Mon, 12 Aug 2019 14:45:35 +0000 (16:45 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 15 Aug 2019 23:31:11 +0000 (16:31 -0700)
commitdbb89eae19d53defc86fc12cdb65ca61f9c2bf6f
tree1f3201dc4b4b1deed55f12a230533b0ee208d744
parent518b9255e0b20aa594198a0be60653887deb3924
net: mscc: improve the frame header parsing readability

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 <antoine.tenart@bootlin.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mscc/ocelot_board.c