Re: [PATCH] arch/x86/boot: sizeof macro

From: Andy Shevchenko
Date: Fri Dec 29 2017 - 13:41:48 EST


On Fri, Dec 29, 2017 at 8:30 PM, Saidgani Musaev <cpu808694@xxxxxxxxx> wrote:

No changelog, no explanation why...
No SoB tag...

> - ireg.cx = sizeof buf;
> + ireg.cx = sizeof(buf);

sizeof is operator, not a function.
So, what are you trying to achieve?

--
With Best Regards,
Andy Shevchenko