diff options
author | 2014-07-15 21:17:17 +0200 | |
---|---|---|
committer | 2014-09-17 13:37:35 -0700 | |
commit | d447d0da44cd7d396277d1d8f46b418c721fbc02 (patch) | |
tree | 68404e7849867e3588e5cf6a0905ee0ab0f16a98 /tools/perf/scripts/python/syscall-counts.py | |
parent | Btrfs: use BUG_ON (diff) | |
download | linux-dev-d447d0da44cd7d396277d1d8f46b418c721fbc02.tar.xz linux-dev-d447d0da44cd7d396277d1d8f46b418c721fbc02.zip |
Btrfs: fix sparse warning
Fix the following sparse warning:
fs/btrfs/send.c:518:51: warning: incorrect type in argument 2 (different address spaces)
fs/btrfs/send.c:518:51: expected char const [noderef] <asn:1>*<noident>
fs/btrfs/send.c:518:51: got char *
We can safely use (const char __user *) with set_fs(KERNEL_DS)
__force added to avoid sparse-all warning:
fs/btrfs/send.c:518:40: warning: cast adds address space to expression (<asn:1>)
Signed-off-by: Fabian Frederick <fabf@skynet.be>
Reviewed-by: Zach Brown <zab@zabbo.net>
Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions