Messages in this thread | | | Subject | Re: [PATCH] staging: lustre: lnet: lnet: Added a space | From | Trevor Woerner <> | Date | Mon, 14 Sep 2015 17:15:30 -0400 |
| |
On 09/13/15 06:14, Anjali Menon wrote: > Added a space to fix the following coding style warning detected by > checkpatch:
Both your commit title and message say (or imply) you've added a space, but this patch, in fact, removes a space, doesn't it?
> WARNING: space prohibited between function name and open parenthesis '(' > > Signed-off-by: Anjali Menon <cse.anjalimenon@gmail.com> > --- > drivers/staging/lustre/lnet/lnet/router.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/staging/lustre/lnet/lnet/router.c b/drivers/staging/lustre/lnet/lnet/router.c > index 8510bae..be23e06 100644 > --- a/drivers/staging/lustre/lnet/lnet/router.c > +++ b/drivers/staging/lustre/lnet/lnet/router.c > @@ -1511,7 +1511,7 @@ lnet_notify(lnet_ni_t *ni, lnet_nid_t nid, int alive, unsigned long when) > unsigned long now = cfs_time_current(); > int cpt = lnet_cpt_of_nid(nid); > > - LASSERT(!in_interrupt ()); > + LASSERT(!in_interrupt()); > > CDEBUG(D_NET, "%s notifying %s: %s\n", > (ni == NULL) ? "userspace" : libcfs_nid2str(ni->ni_nid),
| |