]> err.no Git - linux-2.6/commitdiff
[IA64] Remove sparse warning from unwind code
authorKeith Owens <kaos@sgi.com>
Thu, 1 Mar 2007 05:19:00 +0000 (16:19 +1100)
committerTony Luck <tony.luck@intel.com>
Thu, 8 Mar 2007 18:28:48 +0000 (10:28 -0800)
Running ia64 through sparse gives warnings in the unwind code.

  include/asm-ia64/unwind.h:84:17: error: dubious bitfield without explicit `signed' or `unsigned'

Make the bitfield explicitly unsigned.

Signed-off-by: Keith Owens <kaos@sgi.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
include/asm-ia64/unwind.h

index 5df0276b0493eaa6354cbdd019b69d35b20440c5..1af3875f1a57b1be81467582f9951788ddcfc3a8 100644 (file)
@@ -81,7 +81,7 @@ struct unw_frame_info {
        struct unw_ireg {
                unsigned long *loc;
                struct unw_ireg_nat {
-                       long type : 3;                  /* enum unw_nat_type */
+                       unsigned long type : 3;         /* enum unw_nat_type */
                        signed long off : 61;           /* NaT word is at loc+nat.off */
                } nat;
        } r4, r5, r6, r7;