Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1632432

[PATCH] drivers: staging: lustre: lustre: llite: file.c - fixed sparse warning about different fmode_t type

From Andrea della Porta <sfaragnaus@gmail.com>
Newsgroups linux.kernel
Subject [PATCH] drivers: staging: lustre: lustre: llite: file.c - fixed sparse warning about different fmode_t type
Date 2017-04-28 01:00 +0200
Message-ID <tB0ye-7ca-15@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


fixed a couple of sparse warning complaining about type mismatch.

Signed-off-by: Andrea della Porta <sfaragnaus@gmail.com>
---
 drivers/staging/lustre/lustre/include/lustre_intent.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/lustre/lustre/include/lustre_intent.h b/drivers/staging/lustre/lustre/include/lustre_intent.h
index ed2b6c6..c036633 100644
--- a/drivers/staging/lustre/lustre/include/lustre_intent.h
+++ b/drivers/staging/lustre/lustre/include/lustre_intent.h
@@ -38,7 +38,7 @@
 struct lookup_intent {
 	int		it_op;
 	int		it_create_mode;
-	__u64		it_flags;
+	fmode_t		it_flags;
 	int		it_disposition;
 	int		it_status;
 	__u64		it_lock_handle;
-- 
2.4.10

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH] drivers: staging: lustre: lustre: llite: file.c - fixed  sparse warning about different fmode_t type Andrea della Porta <sfaragnaus@gmail.com> - 2017-04-28 01:00 +0200
  Re: [PATCH] drivers: staging: lustre: lustre: llite: file.c - fixed  sparse warning about different fmode_t type Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2017-04-28 09:40 +0200

csiph-web