Re: [PATCH] warnkill trivia 2/2

David S. Miller (davem@redhat.com)
Sun, 01 Sep 2002 05:16:11 -0700 (PDT)


From: Tomas Szepe <szepe@pinerecords.com>
Date: Sun, 1 Sep 2002 14:10:53 +0200

> Let's keep the sparc atomic_read() how it is so more bugs
> like this can be found.

I don't know, though... scratching my head here -- Is GCC actually
able to distinguish between 'const int *a' and 'int const *a'?

No I don't mean this in a "C" sense, I mean conceptually that marking
an object const which has members which are volatile and updated
asynchronously makes zero sense.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/