All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] add unsigned to unused bit field in a.out.h
@ 2007-03-21 11:26 Robert Reif
  2007-03-27 23:39 ` David Miller
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Robert Reif @ 2007-03-21 11:26 UTC (permalink / raw)
  To: sparclinux

Add unsigned to unused bit field in a.out.h to make sparse happy.

diff --git a/include/asm-sparc/a.out.h b/include/asm-sparc/a.out.h
index e4e83eb..9090060 100644
--- a/include/asm-sparc/a.out.h
+++ b/include/asm-sparc/a.out.h
@@ -80,7 +80,7 @@ struct relocation_info /* used when header.a_machtype
= M_SPARC */
         unsigned long   r_address;  /* relocation addr */
         unsigned int    r_index:24; /* segment index or symbol index */
         unsigned int    r_extern:1; /* if F, r_index=SEG#; if T, SYM
idx */
-        int             r_pad:2;    /* <unused> */
+        unsigned int    r_pad:2;    /* <unused> */
         enum reloc_type r_type:5;   /* type of relocation to perform */
         long            r_addend;   /* addend for relocation value */
 };




^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-03-28 21:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-21 11:26 [PATCH] add unsigned to unused bit field in a.out.h Robert Reif
2007-03-27 23:39 ` David Miller
2007-03-28 20:28 ` Robert Reif
2007-03-28 21:21 ` David Miller

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.