* [PATCH 2/2] Staging: lustre: Fix return does not need parantheses
@ 2014-01-05 20:18 MonamAgarwal
2014-01-08 23:56 ` Greg KH
0 siblings, 1 reply; 2+ messages in thread
From: MonamAgarwal @ 2014-01-05 20:18 UTC (permalink / raw)
To: gregkh, rashika.kheria, peter.p.waskiewicz.jr, monamagarwal123,
andreas.dilger, devel, linux-kernel
This patch fixes the following checkpatch.pl warning in
lustre/ldlm/interval_tree.c
ERROR: return is not a function, parentheses are not required
Signed-off-by: MonamAgarwal <monamagarwal123@gmail.com>
---
drivers/staging/lustre/lustre/ldlm/interval_tree.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/lustre/lustre/ldlm/interval_tree.c b/drivers/staging/lustre/lustre/ldlm/interval_tree.c
index f61bf19..9338203 100644
--- a/drivers/staging/lustre/lustre/ldlm/interval_tree.c
+++ b/drivers/staging/lustre/lustre/ldlm/interval_tree.c
@@ -578,8 +578,8 @@ EXPORT_SYMBOL(interval_erase);
static inline int interval_may_overlap(struct interval_node *node,
struct interval_node_extent *ext)
{
- return (ext->start <= node->in_max_high &&
- ext->end >= interval_low(node));
+ return ext->start <= node->in_max_high &&
+ ext->end >= interval_low(node);
}
/*
--
1.7.9.5
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH 2/2] Staging: lustre: Fix return does not need parantheses
2014-01-05 20:18 [PATCH 2/2] Staging: lustre: Fix return does not need parantheses MonamAgarwal
@ 2014-01-08 23:56 ` Greg KH
0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2014-01-08 23:56 UTC (permalink / raw)
To: MonamAgarwal
Cc: rashika.kheria, peter.p.waskiewicz.jr, andreas.dilger, devel,
linux-kernel
On Mon, Jan 06, 2014 at 01:48:07AM +0530, MonamAgarwal wrote:
> This patch fixes the following checkpatch.pl warning in
> lustre/ldlm/interval_tree.c
> ERROR: return is not a function, parentheses are not required
>
> Signed-off-by: MonamAgarwal <monamagarwal123@gmail.com>
I need a semblance of a "real" name, which usually consists of a first
and last name for most places.
thanks,
greg k-h
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-01-08 23:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-05 20:18 [PATCH 2/2] Staging: lustre: Fix return does not need parantheses MonamAgarwal
2014-01-08 23:56 ` Greg KH
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.