summaryrefslogtreecommitdiff
path: root/fs/btrfs/disk-io.c
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2020-07-27 17:38:19 +0200
committerDavid Sterba <dsterba@suse.com>2020-08-19 18:39:21 +0200
commit604997b4a3803f33e70799b2696bd3dbfed7276c (patch)
tree0a0e243657829914d40e317533e34b653ec6103c /fs/btrfs/disk-io.c
parent282dd7d7718444679b046b769d872b188818ca35 (diff)
downloadlwn-604997b4a3803f33e70799b2696bd3dbfed7276c.tar.gz
lwn-604997b4a3803f33e70799b2696bd3dbfed7276c.zip
btrfs: use the correct const function attribute for btrfs_get_num_csums
The build robot reports compiler: h8300-linux-gcc (GCC) 9.3.0 In file included from fs/btrfs/tests/extent-map-tests.c:8: >> fs/btrfs/tests/../ctree.h:2166:8: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] 2166 | size_t __const btrfs_get_num_csums(void); | ^~~~~~~ The function attribute for const does not follow the expected scheme and in this case is confused with a const type qualifier. Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/disk-io.c')
0 files changed, 0 insertions, 0 deletions