Messages in this thread | | | Date | Thu, 5 Jan 2023 18:43:54 -0800 | From | Andrew Morton <> | 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@linux.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?
| |