Re: [PATCH] [trivial]treewide: Fix typo in various drivers

From: Joe Perches
Date: Fri Dec 28 2012 - 12:33:45 EST


On Fri, 2012-12-28 at 17:39 +0100, Anders Larsen wrote:
> On 2012-12-28 16:49, Masanari Iida wrote:
> > Correct spelling typo in printk within various drivers.
> > ---
> > diff --git a/net/caif/cfcnfg.c b/net/caif/cfcnfg.c
[]
> > @@ -402,7 +402,7 @@ cfcnfg_linkup_rsp(struct cflayer *layer, u8
> > channel_id, enum cfctrl_srv serv,
> >
> > phyinfo = cfcnfg_get_phyinfo_rcu(cnfg, phyid);
> > if (phyinfo == NULL) {
> > - pr_err("ERROR: Link Layer Device dissapeared"
> > + pr_err("ERROR: Link Layer Device dissappeared"
>
> that should rather be
> + pr_err("ERROR: Link Layer Device disappeared"
>
> > "while connecting\n");

Instead use:

pr_err("ERROR: Link Layer Device disappeared while connecting\n");

so there a space between before while
and it's easier to grep

Because it's already pr_err, I think the
"ERROR: " prefix doesn't have any added
value either.

--
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/