Re: [PATCH v2] mtd: spi-nor: explicitly include <linux/math64.h>

From: Tudor Ambarus
Date: Fri Mar 07 2025 - 01:38:05 EST



On Sun, 23 Feb 2025 06:51:10 +0000, Tudor Ambarus wrote:
> swp and otp drivers use div_u64 and div64_u64 and rely on implicit
> inclusion of <linux/math64.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.
>
> [...]

Applied, thanks!

[1/1] mtd: spi-nor: explicitly include <linux/math64.h>
https://git.kernel.org/mtd/c/93020292fea7

Best regards,
--
Tudor Ambarus <tudor.ambarus@xxxxxxxxxx>