aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-sub-ui.c
diff options
context:
space:
mode:
authorRuiqi Gong <[email protected]>2021-05-14 10:05:48 +0800
committerGreg Kroah-Hartman <[email protected]>2021-05-21 22:04:58 +0200
commitfd03c075e362edc2ad637dfb5b945d304f80efe5 (patch)
tree17052f2992735f58003a8730d6294d00f8ea97c4 /lib/mpi/mpi-sub-ui.c
parentfb05b14c5b99a7a462d6e733155e4b2e80e28646 (diff)
drivers/base/node.c: make CACHE_ATTR define static DEVICE_ATTR_RO
Mark DEVICE_ATTR_RO(name) in CACHE_ATTR(name, fmt)'s definition as static to fix the following Sparse tool reports: drivers/base/node.c:239:1: warning: symbol 'dev_attr_line_size' was not declared. Should it be static? drivers/base/node.c:240:1: warning: symbol 'dev_attr_indexing' was not declared. Should it be static? Where dev_attr_{line_size,indexing} are generated by CACHE_ATTR's expansion. Reported-by: Hulk Robot <[email protected]> Signed-off-by: Ruiqi Gong <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions