diff options
author | Tom Rix <trix@redhat.com> | 2023-04-08 16:16:09 +0200 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2023-04-19 01:29:56 +0200 |
commit | f6365881bf797c734bf4cf1353bfa59ffd444f8f (patch) | |
tree | 6c72f452bd752f1e0cffe6b1f2e54d3ce65a2cb8 /Makefile | |
parent | maple_tree: use correct variable type in sizeof (diff) | |
download | linux-f6365881bf797c734bf4cf1353bfa59ffd444f8f.tar.xz linux-f6365881bf797c734bf4cf1353bfa59ffd444f8f.zip |
mm: backing-dev: set variables dev_attr_min,max_bytes storage-class-specifier to static
smatch reports
mm/backing-dev.c:266:1: warning: symbol
'dev_attr_min_bytes' was not declared. Should it be static?
mm/backing-dev.c:294:1: warning: symbol
'dev_attr_max_bytes' was not declared. Should it be static?
These variables are only used in one file so should be static.
Link: https://lkml.kernel.org/r/20230408141609.2703647-1-trix@redhat.com
Signed-off-by: Tom Rix <trix@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions