Re: [patch 2/4 with proper signed-off] security/selinux/ss/ebitmap.c: fix sparse warnings

From: Domen Puncer
Date: Sun Mar 20 2005 - 07:03:35 EST



Signed-off-by: Alexey Dobriyan <adobriyan@xxxxxxx>
Signed-off-by: Domen Puncer <domen@xxxxxxxxxxxx>
---


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

diff -puN security/selinux/ss/ebitmap.c~sparse-security_selinux_ss_ebitmap security/selinux/ss/ebitmap.c
--- kj/security/selinux/ss/ebitmap.c~sparse-security_selinux_ss_ebitmap 2005-03-20 12:11:31.000000000 +0100
+++ kj-domen/security/selinux/ss/ebitmap.c 2005-03-20 12:11:31.000000000 +0100
@@ -239,8 +239,9 @@ int ebitmap_read(struct ebitmap *e, void
{
int rc;
struct ebitmap_node *n, *l;
- u32 buf[3], mapsize, count, i;
- u64 map;
+ __le32 buf[3];
+ u32 mapsize, count, i;
+ __le64 map;

ebitmap_init(e);

_
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/