mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-02 09:16:41 +09:00
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: Dulshani Gunawardhana <dulshani.gunawardhana89@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
b047a8dc30
commit
20a6264abf
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user