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

From: hacku
Date: Fri Dec 29 2017 - 14:34:57 EST


Coding style for sizeof . If you check this file with checkpatch.pl you will see warning on this line. Yes, sorry I didn't mark this change as a coding style issue.

best regards,
Saidgani.

On 12/29/2017 07:41 PM, Andy Shevchenko wrote:
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?