mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* linux-next: cifs tree build warning
@ 2009-06-16  6:07 Stephen Rothwell
  2009-06-16 10:38 ` Jeff Layton
  0 siblings, 1 reply; 2+ messages in thread
From: Stephen Rothwell @ 2009-06-16  6:07 UTC (permalink / raw)
  To: Steve French; +Cc: linux-next, linux-kernel, Jeff Layton

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

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").

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

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

* Re: linux-next: cifs tree build warning
  2009-06-16  6:07 linux-next: cifs tree build warning Stephen Rothwell
@ 2009-06-16 10:38 ` Jeff Layton
  0 siblings, 0 replies; 2+ messages in thread
From: Jeff Layton @ 2009-06-16 10:38 UTC (permalink / raw)
  To: Stephen Rothwell; +Cc: Steve French, linux-next, linux-kernel

On Tue, 16 Jun 2009 16:07:51 +1000
Stephen Rothwell <sfr@canb.auug.org.au> 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@redhat.com>

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

end of thread, other threads:[~2009-06-16 10:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-06-16  6:07 linux-next: cifs tree build warning Stephen Rothwell
2009-06-16 10:38 ` Jeff Layton

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®