mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* slab.h debugging tags....
@ 2015-10-09  0:12 Valdis Kletnieks
  2015-10-09 19:40 ` Rasmus Villemoes
  0 siblings, 1 reply; 3+ messages in thread
From: Valdis Kletnieks @ 2015-10-09  0:12 UTC (permalink / raw)
  To: Rasmus Villemoes, Christoph Lameter; +Cc: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 913 bytes --]

Author: Rasmus Villemoes <linux@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 #2: Type: application/pgp-signature, Size: 848 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-10-10 18:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-10-09  0:12 slab.h debugging tags Valdis Kletnieks
2015-10-09 19:40 ` Rasmus Villemoes
2015-10-10 18:34   ` Valdis.Kletnieks

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®