RE: [PATCH 5/9] habanalabs: use FIELD_PREP() instead of <<

From: Tomer Tayar
Date: Sun Aug 16 2020 - 11:24:59 EST


On Sat, Aug 15, 2020 at 21:00 Oded Gabbay <oded.gabbay@xxxxxxxxx> wrote:
> Use the standard FIELD_PREP() macro instead of << operator to perform
> bitmask operations. This ensures type check safety and eliminate compiler
> warnings.
>
> Reported-by: kernel test robot <lkp@xxxxxxxxx>
> Signed-off-by: Oded Gabbay <oded.gabbay@xxxxxxxxx>

Reviewed-by: Tomer Tayar <ttayar@xxxxxxxxx>