Re: [PATCH net-next] nfp: use struct fields for 8 bit-wide access

2017-10-21 Thread David Miller
From: Simon Horman Date: Fri, 20 Oct 2017 19:49:52 +0200 > From: Pieter Jansen van Vuuren > > Use direct access struct fields rather than PREP_FIELD() > macros to manipulate the jump ID and length, both of which > are exactly

[PATCH net-next] nfp: use struct fields for 8 bit-wide access

2017-10-20 Thread Simon Horman
From: Pieter Jansen van Vuuren Use direct access struct fields rather than PREP_FIELD() macros to manipulate the jump ID and length, both of which are exactly 8-bits wide. This simplifies the code somewhat. Signed-off-by: Simon Horman