Add missing "static" to the local functions

Signed-off-by: Robert Baldyga <robert.baldyga@huawei.com>
This commit is contained in:
Robert Baldyga
2024-05-11 00:29:56 +02:00
parent 7dd5fa8029
commit 5c4b5634cb
8 changed files with 21 additions and 23 deletions

View File

@@ -1,5 +1,6 @@
/*
* Copyright(c) 2012-2022 Intel Corporation
* Copyright(c) 2024 Huawei Technologies
* SPDX-License-Identifier: BSD-3-Clause
*/
@@ -52,7 +53,7 @@ static void _cas_page_set_cpu(struct page *page, int cpu)
page->private = cpu;
}
void *_cas_alloc_page_rpool(void *allocator_ctx, int cpu)
static void *_cas_alloc_page_rpool(void *allocator_ctx, int cpu)
{
struct page *page;
@@ -81,7 +82,7 @@ static int _cas_page_get_cpu(struct page *page)
/*
*
*/
ctx_data_t *__cas_ctx_data_alloc(uint32_t pages, bool zalloc)
static ctx_data_t *__cas_ctx_data_alloc(uint32_t pages, bool zalloc)
{
struct blk_data *data;
uint32_t i;