security/selinux/ss/avtab.c: fix sparse warnings
Subsystems (2)
PATCH 1/1 security/selinux/ss/avtab.c: fix sparse warnings
Signed-off-by Alexey Dobriyan <[email protected]>
security/selinux/ss/avtab.c +2 -2
@@ -303,7 +303,7 @@ void avtab_hash_eval(struct avtab *h, chint 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 *fpint rc;struct avtab_key avkey;struct avtab_datum avdatum; -u32 buf[1 ]; +__le32 buf[1 ];u32 nel, i;
_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors