Messages in this thread | | | Subject | Re: [PATCH] [trivial]treewide: Fix typo in various drivers | From | Joe Perches <> | Date | Fri, 28 Dec 2012 09:33:53 -0800 |
| |
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.
| |