summaryrefslogtreecommitdiffstats
path: root/drivers/staging
diff options
context:
space:
mode:
authorDulshani Gunawardhana2013-11-11 17:17:56 +0100
committerGreg Kroah-Hartman2013-11-12 01:08:13 +0100
commit5fb0a2fa24441a71275e1c42eac1590938a1ec9f (patch)
tree7e1c313cf3a92343fa7a6220d63061903f8c70d6 /drivers/staging
parentstaging:lustre: Fix variable type declaration (diff)
downloadkernel-qcow2-linux-5fb0a2fa24441a71275e1c42eac1590938a1ec9f.tar.gz
kernel-qcow2-linux-5fb0a2fa24441a71275e1c42eac1590938a1ec9f.tar.xz
kernel-qcow2-linux-5fb0a2fa24441a71275e1c42eac1590938a1ec9f.zip
staging: lustre: Fix sparse warning for one-bit signed bitfield
Fix the following sparse warning: drivers/staging/lustre/lustre/llite/llite_internal.h:461:49: error:dubious one-bit signed bitfield Signed-off-by: Dulshani Gunawardhana <dulshani.gunawardhana89@gmail.com> Reviewed-by: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging')
-rw-r--r--drivers/staging/lustre/lustre/llite/llite_internal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/lustre/lustre/llite/llite_internal.h b/drivers/staging/lustre/lustre/llite/llite_internal.h
index 47e443d90fe1..fb7cbb5fa124 100644
--- a/drivers/staging/lustre/lustre/llite/llite_internal.h
+++ b/drivers/staging/lustre/lustre/llite/llite_internal.h
@@ -458,7 +458,7 @@ struct ll_sb_info {
struct lu_fid ll_root_fid; /* root object fid */
int ll_flags;
- int ll_umounting:1;
+ unsigned int ll_umounting:1;
struct list_head ll_conn_chain; /* per-conn chain of SBs */
struct lustre_client_ocd ll_lco;