Searched hist:ce95ab0f (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/fs/ |
H A D | dax.c | ce95ab0f Mon Nov 07 18:31:44 CST 2016 Ross Zwisler <ross.zwisler@linux.intel.com> dax: make 'wait_table' global variable static
The global 'wait_table' variable is only used within fs/dax.c, and generates the following sparse warning:
fs/dax.c:39:19: warning: symbol 'wait_table' was not declared. Should it be static?
Make it static so it has scope local to fs/dax.c, and to make sparse happy.
Signed-off-by: Ross Zwisler <ross.zwisler@linux.intel.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Jan Kara <jack@suse.cz> Signed-off-by: Dave Chinner <david@fromorbit.com> ce95ab0f Mon Nov 07 18:31:44 CST 2016 Ross Zwisler <ross.zwisler@linux.intel.com> dax: make 'wait_table' global variable static The global 'wait_table' variable is only used within fs/dax.c, and generates the following sparse warning: fs/dax.c:39:19: warning: symbol 'wait_table' was not declared. Should it be static? Make it static so it has scope local to fs/dax.c, and to make sparse happy. Signed-off-by: Ross Zwisler <ross.zwisler@linux.intel.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Jan Kara <jack@suse.cz> Signed-off-by: Dave Chinner <david@fromorbit.com>
|