Re: [PATCH v1 2/3] lib: math: polynomial: Don't use 'proxy' headers
From: Kuan-Wei Chiu
Date: Fri Feb 27 2026 - 11:20:03 EST
Hi Andy,
On Fri, Feb 27, 2026 at 08:47:59AM +0100, Andy Shevchenko wrote:
> Update header inclusions to follow IWYU (Include What You Use)
> principle.
>
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
> ---
> lib/math/polynomial.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/lib/math/polynomial.c b/lib/math/polynomial.c
> index 66d383445fec..805d1de56b9a 100644
> --- a/lib/math/polynomial.c
> +++ b/lib/math/polynomial.c
> @@ -10,7 +10,7 @@
> *
> */
>
> -#include <linux/kernel.h>
> +#include <linux/export.h>
> #include <linux/module.h>
> #include <linux/polynomial.h>
Since polynomial.c uses mult_frac(), perhaps we should also add an
explicit #include <linux/math.h>?
Regards,
Kuan-Wei
>
> --
> 2.50.1
>
>