Messages in this thread | | | Subject | Re: [PATCH 18/25] drivers/serial/suncore.c: Use static const char arrays | From | Joe Perches <> | Date | Mon, 13 Sep 2010 14:17:20 -0700 |
| |
On Mon, 2010-09-13 at 17:11 -0400, Nick Bowler wrote: > On 2010-09-13 13:22 -0700, Joe Perches wrote: > > It tries to standardize the style use and it avoids possible > > future checkpatch warnings of: > > char foo[] = "bar" > > char array could possibly be static const. > Whoa, back up a second here. I've seen patches to avoid questionable > checkpatch warnings before, but I think this is the first time I've seen > a patch to avoid *hypothetical checkpatch warnings that don't even > exist*!
Pretty cool huh? cheers, Joe
| |