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:
parent
8bedf934a3
commit
a5c795056c
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user