Re: [PATCH 8/10] Re: [2.6-BK-URL] NTFS: 2.1.19 sparse annotation,cleanups and a bugfix

From: Linus Torvalds
Date: Sun Sep 26 2004 - 11:41:07 EST




On Sun, 26 Sep 2004, Anton Altaparmakov wrote:
>
> What does sparse do at the moment when the enum size has been changed
> away from sizeof(int) using __attribute__ ((__packed__))?

Spatse doesn't support that at all, and will just ignore it.

Of course, since sparse doesn't actually generate any code, there's no
real impact from that. In theory, you might get sparse to complain if you
do something like "__attribute__((align(sizeof(xx)))" where the size is
now wrong and not a power-of-two, but..

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