mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 15:11:48 -04: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:
parent
b047a8dc30
commit
20a6264abf
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue