diff options
author | 2023-09-22 06:45:12 -0700 | |
---|---|---|
committer | 2023-10-05 13:18:18 +0200 | |
commit | 7360a48bd0f5e62b2d00c387d5d3f2821eb290ce (patch) | |
tree | e3e0961723994d5e166825115c679c4152d5de40 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | device property: Replace custom implementation of COUNT_ARGS() (diff) | |
download | wireguard-linux-7360a48bd0f5e62b2d00c387d5d3f2821eb290ce.tar.xz wireguard-linux-7360a48bd0f5e62b2d00c387d5d3f2821eb290ce.zip |
debugfs: Fix __rcu type comparison warning
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: 86b5488121db ("debugfs: Add write support to debugfs_create_str()")
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202309091933.BRWlSnCq-lkp@intel.com/
Signed-off-by: Mike Tipton <quic_mdtipton@quicinc.com>
Link: https://lore.kernel.org/r/20230922134512.5126-1-quic_mdtipton@quicinc.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions