[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <6f6c68db-d67a-0bc1-dfc4-7c990e102cbb@kernel.dk>
Date: Mon, 7 Sep 2020 13:41:40 -0600
From: Jens Axboe <axboe@...nel.dk>
To: Wang Hai <wanghai38@...wei.com>, rostedt@...dmis.org,
mingo@...hat.com
Cc: linux-kernel@...r.kernel.org, linux-block@...r.kernel.org
Subject: Re: [PATCH -next] blktrace: make function blk_trace_bio_get_cgid()
static
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
Powered by blists - more mailing lists