dm init: Set file local variable static
authorDamien Le Moal <damien.lemoal@wdc.com>
Thu, 16 Jul 2020 04:38:15 +0000 (13:38 +0900)
committerMike Snitzer <snitzer@redhat.com>
Tue, 4 Aug 2020 19:51:28 +0000 (15:51 -0400)
commit90e6bf0659f11f3d8ffa7ae1d7a4fa2af015747a
treeb8d31fc1c6714e48ecfdf00af5967e4fe6bf110f
parent1aeb6e7cd118b90f1a227c79b26100af6a15960e
dm init: Set file local variable static

Declare dm_allowed_targets as static to avoid the warning:

drivers/md/dm-init.c:39:12: warning: symbol 'dm_allowed_targets' was
not declared. Should it be static?

when compiling with C=1.

Signed-off-by: Damien Le Moal <damien.lemoal@wdc.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm-init.c