* [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
* Re: [PATCH] add unsigned to unused bit field in a.out.h
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
2 siblings, 0 replies; 4+ messages in thread
From: David Miller @ 2007-03-27 23:39 UTC (permalink / raw)
To: sparclinux
From: Robert Reif <reif@earthlink.net>
Date: 21 Mar 2007 07:26:56 -0400
> Add unsigned to unused bit field in a.out.h to 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.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] add unsigned to unused bit field in a.out.h
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
2 siblings, 0 replies; 4+ messages in thread
From: Robert Reif @ 2007-03-28 20:28 UTC (permalink / raw)
To: sparclinux
[-- Attachment #1: Type: text/plain, Size: 118 bytes --]
Add unsigned to unused bit field in a.out.h to make sparse happy.
Signed-off-by: Robert Reif <reif@earthlink.net>
[-- Attachment #2: a.out.diff.txt --]
[-- Type: text/plain, Size: 709 bytes --]
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
* Re: [PATCH] add unsigned to unused bit field in a.out.h
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
2 siblings, 0 replies; 4+ messages in thread
From: David Miller @ 2007-03-28 21:21 UTC (permalink / raw)
To: sparclinux
From: Robert Reif <reif@earthlink.net>
Date: Wed, 28 Mar 2007 16:28:27 -0400
> Add unsigned to unused bit field in a.out.h to make sparse happy.
>
> Signed-off-by: Robert Reif <reif@earthlink.net>
Applied, thanks Robert.
^ permalink raw reply [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.