Author: Rasmus Villemoes <li...@rasmusvillemoes.dk>
Date:   Wed Oct 7 15:09:20 2015 +1100

    slab.h: sprinkle __assume_aligned attributes

causes *tons* of whinges if you do 'make C=2' with sparse 0.5.0:

  CHECK   drivers/media/usb/pwc/pwc-if.c
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

[/usr/src/linux-next] grep CHECK build.default | wc
   1779    3558   59132
[/usr/src/linux-next] grep slab.h build.default | wc
   7225   43350  621350

Canned it after about 1/3 of the build.

Where's a sparse that can handle this?

Attachment: pgpc5fMlWhtgj.pgp
Description: PGP signature

Reply via email to