Re: linux-next: cifs tree build warning

From: Jeff Layton
Date: Tue Jun 16 2009 - 06:38:41 EST


On Tue, 16 Jun 2009 16:07:51 +1000
Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> wrote:

> Hi Steve,
>
> Today's linux-next build (x86_64 allmodconfig) produced this warning:
>
> fs/cifs/dns_resolve.c: In function 'is_ip':
> fs/cifs/dns_resolve.c:42: warning: passing argument 1 of 'cifs_convert_address' discards qualifiers from pointer target type
> fs/cifs/cifsproto.h:77: note: expected 'char *' but argument is of type 'const char *'
>
> Introduced by commit 1e68b2b2756fc3488ecbade5ad5f13302b3aaafc ("cifs: add
> new routine for converting AF_INET and AF_INET6 addrs").
>

Known problem. The warning is pretty harmless (that variable doesn't
ever get changed). Once Steve commits the last patch in that series
the warning will go away.

--
Jeff Layton <jlayton@xxxxxxxxxx>
--
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/