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    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site