diff options
| author | David Sterba <[email protected]> | 2020-07-27 15:38:19 +0000 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2020-08-19 16:39:21 +0000 |
| commit | 604997b4a3803f33e70799b2696bd3dbfed7276c (patch) | |
| tree | 0a0e243657829914d40e317533e34b653ec6103c /lib/assoc_array.c | |
| parent | btrfs: reset compression level for lzo on remount (diff) | |
| download | kernel-604997b4a3803f33e70799b2696bd3dbfed7276c.tar.gz kernel-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 <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'lib/assoc_array.c')
0 files changed, 0 insertions, 0 deletions
