mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Jens Axboe <axboe@kernel.dk>
To: Wang Hai <wanghai38@huawei.com>, rostedt@goodmis.org, mingo@redhat.com
Cc: linux-kernel@vger.kernel.org, linux-block@vger.kernel.org
Subject: Re: [PATCH -next] blktrace: make function blk_trace_bio_get_cgid() static
Date: Mon, 7 Sep 2020 13:41:40 -0600	[thread overview]
Message-ID: <6f6c68db-d67a-0bc1-dfc4-7c990e102cbb@kernel.dk> (raw)
In-Reply-To: <20200907140652.9060-1-wanghai38@huawei.com>

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


      reply	other threads:[~2020-09-07 19:41 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-07 14:06 Wang Hai
2020-09-07 19:41 ` Jens Axboe [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6f6c68db-d67a-0bc1-dfc4-7c990e102cbb@kernel.dk \
    --to=axboe@kernel.dk \
    --cc=linux-block@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@redhat.com \
    --cc=rostedt@goodmis.org \
    --cc=wanghai38@huawei.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®