lkml.org 
[lkml]   [2008]   [Jan]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch 07/26] Add INIT_ARRAY() to kernel.h (updated)

On Jan 24 2008 15:54, Mathieu Desnoyers wrote:
>
>Add initialization of an array, which needs brackets that would pollute kernel
>code, to kernel.h. It is used to declare arguments passed as function parameters
>such as:
>text_poke(addr, INIT_ARRAY(unsigned char, 0xf0, len), len);
>
>Changelog :
>- [len] -> []
>- Remove whitespaces.
>- Fixed Jan's suggestion which was not checkpatch.pl-safe.

diff -dpru /dev/null <(echo ' #define INIT_ARRAY(type, val, len) ((type[]){[0 ... (len)-1] = (val)}) ') | scripts/checkpatch.pl -
ERROR: Missing Signed-off-by: line(s)
total: 1 errors, 0 warnings, 2 lines checked
Where did checkpatch play unfair again on your side? :)



\
 
 \ /
  Last update: 2008-01-24 22:11    [W:0.113 / U:0.512 seconds]
©2003-2014 Jasper Spaans. Advertise on this site