lkml.org 
[lkml]   [2008]   [Dec]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] Misuse of sizeof
On Sat, Dec 13, 2008 at 5:31 PM, Giangiacomo Mariotti
<giangiacomo.mariotti@gmail.com> wrote:
> IMO there's a bug in the use of sizeof in /arch/x86/boot/main.c, it's
> also a strange style.
>

It is not a bug. You don't need to use parenthesis when used on
variables. See 6.5.3.4.


\
 
 \ /
  Last update: 2008-12-13 17:47    [W:0.065 / U:0.040 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site