All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] Fixed signedness check
@ 2016-12-26 15:44 ` Guillermo O. Freschi
  0 siblings, 0 replies; 11+ messages in thread
From: Guillermo O. Freschi @ 2016-12-26 15:43 UTC (permalink / raw)
  To: Oleg Drokin, lustre-devel, linux-kernel; +Cc: Guillermo O. Freschi

Was `unsigned int`, but `enum`s are signed.

Signed-off-by: Guillermo O. Freschi <kedrot@gmail.com>
---
 drivers/staging/lustre/lustre/ldlm/ldlm_lock.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/lustre/lustre/ldlm/ldlm_lock.c b/drivers/staging/lustre/lustre/ldlm/ldlm_lock.c
index a4a291acb659..f4cbc89b4f24 100644
--- a/drivers/staging/lustre/lustre/ldlm/ldlm_lock.c
+++ b/drivers/staging/lustre/lustre/ldlm/ldlm_lock.c
@@ -1148,7 +1148,7 @@ static int lock_matches(struct ldlm_lock *lock, struct lock_match_data *data)
 	return INTERVAL_ITER_STOP;
 }
 
-static unsigned int itree_overlap_cb(struct interval_node *in, void *args)
+static enum interval_iter itree_overlap_cb(struct interval_node *in, void *args)
 {
 	struct ldlm_interval *node = to_ldlm_interval(in);
 	struct lock_match_data *data = args;
-- 
2.11.0

^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2017-01-16 16:45 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-12-26 15:43 [PATCH 1/2] Fixed signedness check Guillermo O. Freschi
2016-12-26 15:44 ` [lustre-devel] " Guillermo O. Freschi
2016-12-26 15:43 ` [PATCH 2/2] Style fixes Guillermo O. Freschi
2016-12-26 15:44   ` [lustre-devel] " Guillermo O. Freschi
2017-01-13  1:20   ` Dilger, Andreas
2017-01-13  1:20     ` Dilger, Andreas
2017-01-13 20:48   ` [PATCH v2] " Guillermo O. Freschi
2017-01-16 16:45     ` [lustre-devel] " Oleg Drokin
2017-01-16 16:45       ` Oleg Drokin
2017-01-13  1:17 ` [lustre-devel] [PATCH 1/2] Fixed signedness check Dilger, Andreas
2017-01-13  1:17   ` Dilger, Andreas

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.