I found also some other things and also told that Marek - but I think that not everything was included in the patch I send some weeks ago. Maybe it was only to break printk statements to fit in 80 chars per line, but I am not sure right now.
Yes, you found a way to break a long string into smaller pieces although I can't quite remember how you did it. ;-)
ANSI C/C++ allows:
"foor" "bar"
and the compiler will glue the parts back together as "foobar".
However, i often don't like the resulting code layout. I also think there might be a bug in checkpatch. The relevant code is:
#80 column limit if ($line =~ /^+/ && $prevrawline !~ //**/ && $rawline !~ /^.\s**\s*@$Ident\s/ && $line !~ /^+\s*printk\s*(\s*(?:KERN_\S+\s*)?"[X\t]*"\s*(?:,|)\s*;)\s*$/ && $length > 80) { WARN("line over 80 characters\n" . $herecurr); }
my perl is not good, but it appears to be looking for KERN_, eg KERN_ERR, KERN_WARNING etc, and maybe should be ignoring such lines?
Andrew