[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230105184354.ea9a981aa8c76bbfd6a2c212@linux-foundation.org>
Date: Thu, 5 Jan 2023 18:43:54 -0800
From: Andrew Morton <akpm@...ux-foundation.org>
To: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
Cc: linux-kernel@...r.kernel.org
Subject: Re: [PATCH v1 1/1] util_macros.h: Add missing insclusion
On Tue, 3 Jan 2023 14:19:37 +0200 Andy Shevchenko <andriy.shevchenko@...ux.intel.com> wrote:
> The header is the direct user of definitions from the math.h,
> include it.
>
> ...
>
> --- a/include/linux/util_macros.h
> +++ b/include/linux/util_macros.h
> @@ -2,6 +2,8 @@
> #ifndef _LINUX_HELPER_MACROS_H_
> #define _LINUX_HELPER_MACROS_H_
>
> +#include <linux/math.h>
> +
> #define __find_closest(x, a, as, op) \
> ({ \
> typeof(as) __fc_i, __fc_as = (as) - 1; \
Does this fix any known build errors, or was it an I-noticed-this thing?
Powered by blists - more mailing lists