[PATCH v4 02/16] spi: s3c64xx: explicitly include <linux/bits.h>

Peter Griffin peter.griffin at linaro.org
Mon Feb 5 07:25:14 PST 2024


On Mon, 5 Feb 2024 at 12:45, Tudor Ambarus <tudor.ambarus at linaro.org> wrote:
>
> The driver uses GENMASK() but does not include <linux/bits.h>.
>
> It is good practice to directly include all headers used, it avoids
> implicit dependencies and spurious breakage if someone rearranges
> headers and causes the implicit include to vanish.
>
> Include the missing header.
>
> Fixes: 1224e29572f6 ("spi: s3c64xx: Fix large transfers with DMA")
> Signed-off-by: Tudor Ambarus <tudor.ambarus at linaro.org>
> ---

Reviewed-by: Peter Griffin <peter.griffin at linaro.org>



More information about the linux-arm-kernel mailing list