2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-27 06:34:11 +08:00

staging: most: configfs: Make mdev_link_list static

Fix sparse warning:

drivers/staging/most/configfs.c:34:18: warning:
 symbol 'mdev_link_list' was not declared. Should it be static?

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
YueHaibing 2019-04-17 22:58:58 +08:00 committed by Greg Kroah-Hartman
parent 8bedf934a3
commit a5c795056c

View File

@ -31,7 +31,7 @@ struct mdev_link {
char comp_params[PAGE_SIZE];
};
struct list_head mdev_link_list;
static struct list_head mdev_link_list;
static int set_cfg_buffer_size(struct mdev_link *link)
{