Re: [PATCH -next] blktrace: make function blk_trace_bio_get_cgid() static
From: Jens Axboe
Date: Mon Sep 07 2020 - 15:41:48 EST
On 9/7/20 8:06 AM, Wang Hai wrote:
> The sparse tool complains as follows:
>
> kernel/trace/blktrace.c:796:5: warning:
> symbol 'blk_trace_bio_get_cgid' was not declared. Should it be static?
>
> This function is not used outside of blktrace.c, so this commit
> marks it static.
Applied, thanks.
--
Jens Axboe