add unsigned to unused bit field in a.out.h
PATCH 1/1 add unsigned to unused bit field in a.out.h
Add unsigned to unused bit field in a.out.h to make sparse happy.
include/asm-sparc/a.out.h +0 -0
@@ -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 */};
From: Robert Reif <[email protected]>
Date: 21 Mar 2007 07:26:56 -0400
Quoted 1 line
Add unsigned to unused bit field in
a.out.hto make sparse happy.
Same problems here as the cg3 patch.
Please resubmit these patches with a proper Signed-off-by:
line and fix your mail client not to corrupt the patch. Test this by emailing the patch to yourself and trying to apply it.
Thanks.
Add unsigned to unused bit field in a.out.h to make sparse happy.
Signed-off-by Robert Reif <[email protected]>
include/asm-sparc/a.out.h +1 -1
@@ -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 */ };
David Miller
AppliedFrom: Robert Reif <[email protected]>
Date: Wed, 28 Mar 2007 16:28:27 -0400
Quoted 3 lines
Add unsigned to unused bit field in
a.out.hto make sparse happy.Signed-off-by Robert Reif <[email protected]>
Applied, thanks Robert.