From: Dulshani Gunawardhana Date: Mon, 11 Nov 2013 16:17:56 +0000 (+0530) Subject: staging: lustre: Fix sparse warning for one-bit signed bitfield X-Git-Tag: v3.14-rc1~13^2~783^2~104 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5fb0a2fa24441a71275e1c42eac1590938a1ec9f;p=platform%2Fkernel%2Flinux-stable.git 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 Reviewed-by: Peter P Waskiewicz Jr Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/lustre/lustre/llite/llite_internal.h b/drivers/staging/lustre/lustre/llite/llite_internal.h index 47e443d..fb7cbb5 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;