Re: [PATCH] FAT: Fix printk format strings.

From: Bodo Eggert
Date: Thu Oct 11 2007 - 06:58:35 EST


Vegard Nossum <vegard.nossum@xxxxxxxxx> wrote:

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

> printk(KERN_WARNING
> - "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" ?
--
bus error. passengers dumped.

Friß, Spammer: GYwky2@xxxxxxxxxxxxxxxxxxxxxxxxxx
fD8g@xxxxxxxxxxxxxxxxxxxxxxxxxx VpcWe@xxxxxxxxxxxxxxxxxxxxxxxxxxx
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/