Re: [patch][-mm] selinux: Reduce memory use by avtab

From: Alexey Dobriyan
Date: Fri Aug 12 2005 - 15:05:33 EST


On Fri, Aug 12, 2005 at 08:47:20AM -0400, Stephen Smalley wrote:
> Should -Wbitwise be included in CHECKFLAGS in the kernel Makefile by
> default?

It should but not right now ;-).

$ grep -c "warning: " W_sparse_*
W_sparse_i386:14887
W_sparse_ppc:16214
W_sparse_ppc64:15765
W_sparse_sparc:8906
W_sparse_sparc64:14446
W_sparse_x86_64:14366

(allmodconfig)

Most of them exist because of things like "ntohl(u32 struct->field)"
where "field" is really __be32 but nobody bothered to annotate it. I'm
slowly digging through logs.

-
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/