Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 20a6264a authored by Dulshani Gunawardhana's avatar Dulshani Gunawardhana Committed by Greg Kroah-Hartman
Browse files

staging:lustre: Fix variable type declaration



Fix the following sparse warnings generated by AND-ing FMODE_* constant
with a normal integer.

drivers/staging/lustre/lustre/llite/file.c:102:32: warning: restricted
fmode_t degrades to integer

Signed-off-by: default avatarDulshani Gunawardhana <dulshani.gunawardhana89@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent b047a8dc
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -85,7 +85,7 @@ struct obd_client_handle {
	struct lu_fid	 och_fid;
	struct md_open_data  *och_mod;
	__u32 och_magic;
	int och_flags;
	fmode_t och_flags;
};
#define OBD_CLIENT_HANDLE_MAGIC 0xd15ea5ed