public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [patch 3/4] security/selinux/ss/avtab.c: fix sparse warnings
@ 2005-03-19 13:19 domen
  2005-03-20 11:59 ` [patch 3/4 with proper signed-off] " Domen Puncer
  0 siblings, 1 reply; 2+ messages in thread
From: domen @ 2005-03-19 13:19 UTC (permalink / raw)
  To: sds; +Cc: jmorris, linux-kernel, domen, adobriyan




Signed-off-by: Domen Puncer <domen@coderock.org>
---


 kj-domen/security/selinux/ss/avtab.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff -puN security/selinux/ss/avtab.c~sparse-security_selinux_ss_avtab security/selinux/ss/avtab.c
--- kj/security/selinux/ss/avtab.c~sparse-security_selinux_ss_avtab	2005-03-18 20:05:32.000000000 +0100
+++ kj-domen/security/selinux/ss/avtab.c	2005-03-18 20:05:32.000000000 +0100
@@ -303,7 +303,7 @@ void avtab_hash_eval(struct avtab *h, ch
 
 int avtab_read_item(void *fp, struct avtab_datum *avdatum, struct avtab_key *avkey)
 {
-	u32 buf[7];
+	__le32 buf[7];
 	u32 items, items2;
 	int rc;
 
@@ -370,7 +370,7 @@ int avtab_read(struct avtab *a, void *fp
 	int rc;
 	struct avtab_key avkey;
 	struct avtab_datum avdatum;
-	u32 buf[1];
+	__le32 buf[1];
 	u32 nel, i;
 
 
_

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

end of thread, other threads:[~2005-03-20 12:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-19 13:19 [patch 3/4] security/selinux/ss/avtab.c: fix sparse warnings domen
2005-03-20 11:59 ` [patch 3/4 with proper signed-off] " Domen Puncer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox