mirror of
https://github.com/torvalds/linux.git
synced 2026-03-13 23:46:14 +01:00
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 | ||