Linux SPARSE checker discussions
 help / color / mirror / Atom feed
* What does this sparse warning mean in posix_acl.h?
@ 2013-08-17 14:28 Theodore Ts'o
  2013-08-17 16:16 ` Linus Torvalds
  2013-08-17 16:17 ` Josh Triplett
  0 siblings, 2 replies; 9+ messages in thread
From: Theodore Ts'o @ 2013-08-17 14:28 UTC (permalink / raw)
  To: linux-fsdevel, linux-sparse


It apparently has something to do with rcu and "address spaces" but I'm
not completely sure what sparse is complaining about --- and whether it
is a false positive or a bug in the posix_acl.h.

Can someone explain what's going on, and whether it's something to be
concerned about?

Thanks,

                                                        - Ted

% ../make-ext4 C=1 fs/ext4/acl.o
make[2]: Nothing to be done for `all'.
  GEN     /u1/ext4/Makefile
  CHK     include/generated/uapi/linux/version.h
make[2]: Nothing to be done for `relocs'.
  Using /usr/projects/linux/ext4 as source for kernel
  CHK     include/generated/utsrelease.h
  CALL    /usr/projects/linux/ext4/scripts/checksyscalls.sh
<stdin>:1220:2: warning: #warning syscall kcmp not implemented [-Wcpp]
<stdin>:1223:2: warning: #warning syscall finit_module not implemented [-Wcpp]
  CHECK   /usr/projects/linux/ext4/fs/ext4/acl.c
/usr/projects/linux/ext4/include/linux/posix_acl.h:137:9: warning: incorrect type in assignment (different address spaces)
/usr/projects/linux/ext4/include/linux/posix_acl.h:137:9:    expected struct posix_acl *<noident>
/usr/projects/linux/ext4/include/linux/posix_acl.h:137:9:    got struct posix_acl [noderef] <asn:4>*<noident>
/usr/projects/linux/ext4/include/linux/posix_acl.h:137:9: warning: incorrect type in assignment (different address spaces)
/usr/projects/linux/ext4/include/linux/posix_acl.h:137:9:    expected struct posix_acl *<noident>
/usr/projects/linux/ext4/include/linux/posix_acl.h:137:9:    got struct posix_acl [noderef] <asn:4>*<noident>

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

end of thread, other threads:[~2013-08-17 21:31 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-17 14:28 What does this sparse warning mean in posix_acl.h? Theodore Ts'o
2013-08-17 16:16 ` Linus Torvalds
2013-08-17 20:55   ` Theodore Ts'o
2013-08-17 21:14     ` Linus Torvalds
2013-08-17 21:23       ` Theodore Ts'o
2013-08-17 21:31         ` Linus Torvalds
2013-08-17 21:23       ` Linus Torvalds
2013-08-17 16:17 ` Josh Triplett
2013-08-17 16:33   ` Linus Torvalds

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox