Re: [PATCH v1 1/1] minmax: Deduplicate __unconst_integer_typeof()
From: Herve Codina
Date: Tue Aug 15 2023 - 11:14:13 EST
Hi Andy,
On Tue, 15 Aug 2023 14:35:34 +0300
Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx> wrote:
> It appears that compiler_types.h already have an implementation
> of the __unconst_integer_typeof() called __unqual_scalar_typeof().
> Use it instead of the copy.
>
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
> ---
>
> As the initial code is in Linux Next via ASoC tree, it's assumed
> to go via that tree as well.
>
> include/linux/minmax.h | 26 +++-----------------------
> 1 file changed, 3 insertions(+), 23 deletions(-)
>
Sure. I missed the __unqual_scalar_typeof(). Sorry.
Acked-by: Herve Codina <herve.codina@xxxxxxxxxxx>
Best regards,
Hervé