On Sat, Aug 17, 2013 at 10:28:22AM -0400, Theodore Ts'o wrote: > 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? [...] > /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> Address space 4 is __rcu. This warning means you accessed an RCU pointer directly, without using the appropriate RCU primitive (rcu_assign_pointer, rcu_dereference, etc). - Josh Triplett -- To unsubscribe from this list: send the line "unsubscribe linux-sparse" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html