mirror of
https://github.com/torvalds/linux.git
synced 2024-11-21 19:41:42 +00:00
7360a48bd0
Sparse reports the following:
fs/debugfs/file.c:942:9: sparse: sparse: incompatible types in comparison expression (different address spaces):
fs/debugfs/file.c:942:9: sparse: char [noderef] __rcu *
fs/debugfs/file.c:942:9: sparse: char *
rcu_assign_pointer() expects that it's assigning to pointers annotated
with __rcu. We can't annotate the generic struct file::private_data, so
cast it instead.
Fixes:
|
||
---|---|---|
.. | ||
file.c | ||
inode.c | ||
internal.h | ||
Makefile |