mm: backing-dev: set variables dev_attr_min,max_bytes storage-class-specifier to...
authorTom Rix <trix@redhat.com>
Sat, 8 Apr 2023 14:16:09 +0000 (10:16 -0400)
committerAndrew Morton <akpm@linux-foundation.org>
Tue, 18 Apr 2023 23:29:56 +0000 (16:29 -0700)
commitf6365881bf797c734bf4cf1353bfa59ffd444f8f
tree6c72f452bd752f1e0cffe6b1f2e54d3ce65a2cb8
parentfb20e99a74f8f08c53061e0186d0c26d546dc843
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>
mm/backing-dev.c