[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <mafs0bjurl176.fsf@kernel.org>
Date: Mon, 24 Feb 2025 17:09:01 +0000
From: Pratyush Yadav <pratyush@...nel.org>
To: Tudor Ambarus <tudor.ambarus@...aro.org>
Cc: Pratyush Yadav <pratyush@...nel.org>, Michael Walle
<mwalle@...nel.org>, Miquel Raynal <miquel.raynal@...tlin.com>, Richard
Weinberger <richard@....at>, Vignesh Raghavendra <vigneshr@...com>,
linux-mtd@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] mtd: spi-nor: explicitly include <linux/math64.h>
On Sun, Feb 23 2025, 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.
>
> Include the missing header.
>
> Signed-off-by: Tudor Ambarus <tudor.ambarus@...aro.org>
Reviewed-by: Pratyush Yadav <pratyush@...nel.org>
--
Regards,
Pratyush Yadav
Powered by blists - more mailing lists