On 6/4/19 7:42 AM, Leyi Rong wrote:
Replace the use of the magic number 8 by BITS_PER_BYTE when calculating
the number of bits from the number of bytes.

Signed-off-by: Bruce Allan<[email protected]>
Signed-off-by: Paul M Stillwell Jr<[email protected]>
Signed-off-by: Leyi Rong<[email protected]>
---
  drivers/net/ice/base/ice_flex_pipe.c |  4 +-
  drivers/net/ice/base/ice_flow.c      | 74 +++++++++++++++-------------
  2 files changed, 43 insertions(+), 35 deletions(-)

Acked-by: Maxime Coquelin <[email protected]>

Reply via email to