]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
staging:lustre: Fix variable type declaration
authorDulshani Gunawardhana <dulshani.gunawardhana89@gmail.com>
Mon, 11 Nov 2013 10:00:44 +0000 (15:30 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 11 Nov 2013 23:55:16 +0000 (15:55 -0800)
commit20a6264abf8bd77bbfcbfc9e7a279203f1630410
tree402f3d2e9fb5d78bcc05b04ae8eac831de0a7643
parentb047a8dc30a84d272d230b76b41ca2d0730f0d97
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>
drivers/staging/lustre/lustre/include/lustre_lib.h