On Fri, 09 Oct 2015 21:40:33 +0200, Rasmus Villemoes said: > Does this fix it for you? > > Subject: [PATCH] slab.h: hide assume_aligned attribute from sparse > > sparse apparently pretends to be gcc >= 4.9, yet isn't prepared to
Much better - it threw messages on a few files, it took me a moment to figure out what happened. CHECK init/do_mounts_initrd.c init/do_mounts_initrd.c:8:2: warning: "Sparse checking disabled for this file" include/linux/slab.h:307:43: error: attribute '__assume_aligned__': unknown attribute include/linux/slab.h:308:58: error: attribute '__assume_aligned__': unknown attribute include/linux/slab.h:337:73: error: attribute '__assume_aligned__': unknown attribute include/linux/slab.h:375:74: error: attribute '__assume_aligned__': unknown attribute include/linux/slab.h:378:80: error: attribute '__assume_aligned__': unknown attribute but there's only like a few that disable sparse. Everything else behaves now. Feel free to stick this on it: Tested-By: Valdis Kletnieks <valdis.kletni...@vt.edu>
pgpvreXX02hVD.pgp
Description: PGP signature