Re: [PATCH net v2] ice: use proper macro for testing bit

From: Simon Horman
Date: Sat Jun 15 2024 - 11:16:55 EST


On Fri, Jun 14, 2024 at 11:43:38AM +0200, Petr Oros wrote:
> Do not use _test_bit() macro for testing bit. The proper macro for this
> is one without underline.

Hi Petr,

it might be nice to include a brief explanation as to
why test_bit() is correct.

>
> Fixes: 4da71a77fc3b ("ice: read internal temperature sensor")
> Signed-off-by: Petr Oros <poros@xxxxxxxxxx>
> Acked-by: Ivan Vecera <ivecera@xxxxxxxxxx>

...