lkml.org 
[lkml]   [2012]   [Dec]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] [trivial]treewide: Fix typo in various drivers
From
Date
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.



\
 
 \ /
  Last update: 2012-12-28 19:21    [W:0.034 / U:1.740 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site