]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: lustre: Fix sparse warning for one-bit signed bitfield
authorDulshani Gunawardhana <dulshani.gunawardhana89@gmail.com>
Mon, 11 Nov 2013 16:17:56 +0000 (21:47 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 12 Nov 2013 00:08:13 +0000 (16:08 -0800)
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>
drivers/staging/lustre/lustre/llite/llite_internal.h

index 47e443d90fe1a56cc955b40e4341a9453e2e6f56..fb7cbb5fa124a4153d3b1eb88a28db5103d846bb 100644 (file)
@@ -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;