lkml.org 
[lkml]   [2017]   [Dec]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] arch/x86/boot: sizeof macro
From
Date
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@gmail.com> 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?
>

\
 
 \ /
  Last update: 2017-12-29 20:35    [W:0.065 / U:5.772 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site