[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <11321.1227219571@redhat.com>
Date: Thu, 20 Nov 2008 22:19:31 +0000
From: David Howells <dhowells@...hat.com>
To: "Hannes Eder" <hannes@...neseder.net>
Cc: dhowells@...hat.com, linux-kernel@...r.kernel.org,
kernel-janitors@...r.kernel.org
Subject: Re: [PATCH] CRED: fix compilation warning in function 'get_cred'
Hannes Eder <hannes@...neseder.net> wrote:
> Fix to following warning by introducing a temporary variable:
>
> include/linux/cred.h: In function 'get_cred':
> include/linux/cred.h:187: warning: passing argument 1 of
> 'get_new_cred' discards qualifiers from pointer target type
Interesting. I believe that's a compiler bug. Explicitly casting away the
const should avoid this warning.
David
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists