warning building cifs in recent mainline

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I see this warning building mainline from a few days ago.  Do you also
see these warnings about struct cred?

  CHECK   client/cifsacl.c
client/cifsacl.c: note: in included file (through
/home/smfrench/smb3-kernel/include/linux/sched/signal.h,
/home/smfrench/smb3-kernel/include/linux/rcuwait.h,
/home/smfrench/smb3-kernel/include/linux/percpu-rwsem.h, ...):
/home/smfrench/smb3-kernel/include/linux/cred.h:175:41: warning:
incorrect type in initializer (different address spaces)
/home/smfrench/smb3-kernel/include/linux/cred.h:175:41:    expected
struct cred const *old
/home/smfrench/smb3-kernel/include/linux/cred.h:175:41:    got struct
cred const [noderef] __rcu *cred
/home/smfrench/smb3-kernel/include/linux/cred.h:183:51: warning:
incorrect type in initializer (different address spaces)
/home/smfrench/smb3-kernel/include/linux/cred.h:183:51:    expected
struct cred const *override_cred
/home/smfrench/smb3-kernel/include/linux/cred.h:183:51:    got struct
cred const [noderef] __rcu *cred
/home/smfrench/smb3-kernel/include/linux/cred.h:175:41: warning:
incorrect type in initializer (different address spaces)
/home/smfrench/smb3-kernel/include/linux/cred.h:175:41:    expected
struct cred const *old
/home/smfrench/smb3-kernel/include/linux/cred.h:175:41:    got struct
cred const [noderef] __rcu *cred
/home/smfrench/smb3-kernel/include/linux/cred.h:183:51: warning:
incorrect type in initializer (different address spaces)
/home/smfrench/smb3-kernel/include/linux/cred.h:183:51:    expected
struct cred const *override_cred
/home/smfrench/smb3-kernel/include/linux/cred.h:183:51:    got struct
cred const [noderef] __rcu *cred
  CC [M]  client/fs_context.o
  CHECK   client/fs_context.c
  CC [M]  client/dns_resolve.o
  CHECK   client/dns_resolve.c
  CC [M]  client/cifs_spnego_negtokeninit.asn1.o
  CHECK   client/cifs_spnego_negtokeninit.asn1.c
  CC [M]  client/asn1.o
  CHECK   client/asn1.c
  CC [M]  client/namespace.o
  CHECK   client/namespace.c
  CC [M]  client/reparse.o
  CHECK   client/reparse.c
  CC [M]  client/xattr.o
  CHECK   client/xattr.c
  CC [M]  client/cifs_spnego.o
  CHECK   client/cifs_spnego.c
client/cifs_spnego.c: note: in included file (through
/home/smfrench/smb3-kernel/include/linux/sched/signal.h,
/home/smfrench/smb3-kernel/include/linux/rcuwait.h,
/home/smfrench/smb3-kernel/include/linux/percpu-rwsem.h, ...):
/home/smfrench/smb3-kernel/include/linux/cred.h:175:41: warning:
incorrect type in initializer (different address spaces)
/home/smfrench/smb3-kernel/include/linux/cred.h:175:41:    expected
struct cred const *old
/home/smfrench/smb3-kernel/include/linux/cred.h:175:41:    got struct
cred const [noderef] __rcu *cred
/home/smfrench/smb3-kernel/include/linux/cred.h:183:51: warning:
incorrect type in initializer (different address spaces)
/home/smfrench/smb3-kernel/include/linux/cred.h:183:51:    expected
struct cred const *override_cred
/home/smfrench/smb3-kernel/include/linux/cred.h:183:51:    got struct
cred const [noderef] __rcu *cred


-- 
Thanks,

Steve




[Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux