Skip to contentSkip to conversation

FAT: Fix printk format strings.

PATCH Bodo Eggert 2 participants 2 messages Oct 11, 2007 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

Review

Quoted 9 lines · Vegard Nossum

This makes sure printk format strings contain no more than a single line.

printk(KERN_WARNING

(quoted diff) +2 -1
-                            "FAT: Did not find valid FSINFO signature.\n"
+                            "FAT: Did not find valid FSINFO signature.\n");
+                     printk(KERN_WARNING
 "     Found signature1 0x%08x signature2 0x%08x"
 " (sector = %lu)\n",

What about something like
"Fat32: Invalid FSINFO signatures 0x%08x, 0x%08x; expected 0x%08x, 0x%08\n" ? or
"Fat32: Invalid FSINFO signatures 0x%08x, 0x%08x\n" ?

Signature · 4 lines
bus error. passengers dumped.

Friß, Spammer: [email protected]
 [email protected] [email protected]
#2 lore raw
Quoted 12 lines · Bodo Eggert

Review

Quoted 9 lines · Vegard Nossum

This makes sure printk format strings contain no more than a single line.

printk(KERN_WARNING

(quoted diff) +2 -1
-                            "FAT: Did not find valid FSINFO signature.\n"
+                            "FAT: Did not find valid FSINFO signature.\n");
+                     printk(KERN_WARNING
 "     Found signature1 0x%08x signature2 0x%08x"
 " (sector = %lu)\n",
Quoted 4 lines

What about something like
"Fat32: Invalid FSINFO signatures 0x%08x, 0x%08x; expected 0x%08x, 0x%08\n" ? or
"Fat32: Invalid FSINFO signatures 0x%08x, 0x%08x\n" ?

Looks good to me. I'll modify a patch, and apply it.

Thanks.

Signature · 1 line
OGAWA Hirofumi <[email protected]>