Re: [PATCH 1/1] fs: fix warning message with inserting a single space

From: Artem Bityutskiy
Date: Mon Dec 08 2008 - 08:25:26 EST


Artem Bityutskiy wrote:
Nick Andrew wrote:
On Mon, Dec 08, 2008 at 01:54:12PM +0200, Hiroshi DOYU wrote:
- printk(KERN_WARNING "%s: %s passed in a files array"
+ printk(KERN_WARNING "%s: %s passed in a files array "
"with an index of 1!\n", __func__,
s->s_type->name);

Yep. These look like the same kind of thing:

arch/powerpc/platforms/cell/iommu.c +1109
pr_debug("iommu: hash window doesn't fit in"
"real DMA window\n");

Do we have such kind of check in checkpatch.pl? Would be useful.

Although I guess it is difficult to formalize this.

--
Best Regards,
Artem Bityutskiy (ÐÑÑÑÐ ÐÐÑÑÑÐÐÐ)
--
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/