linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Kemeng Shi <shikemeng@huaweicloud.com>
To: Andrew Morton <akpm@linux-foundation.org>, SeongJae Park <sj@kernel.org>
Cc: kernel test robot <lkp@intel.com>,
	llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
	Linux Memory Management List <linux-mm@kvack.org>,
	Tim Chen <tim.c.chen@linux.intel.com>,
	Baoquan He <bhe@redhat.com>
Subject: Re: [linux-next:master 1753/1936] mm/swapfile.c:1517:20: warning: function 'swap_is_last_ref' is not needed and will not be emitted
Date: Thu, 10 Apr 2025 14:34:24 +0800	[thread overview]
Message-ID: <8d237c70-5aac-924f-a8a3-31c6ef11a25e@huaweicloud.com> (raw)
In-Reply-To: <20250409174233.b3703db45767fbe5b9cd3b5b@linux-foundation.org>



on 4/10/2025 8:42 AM, Andrew Morton wrote:
> On Wed,  9 Apr 2025 09:54:52 -0700 SeongJae Park <sj@kernel.org> wrote:
> 
>>> I'll add this:
>>>
>>
>> ...
>>
>> This makes my build fails when CONFIG_DEBUG_VM is unset as below.
> 
> Uh, OK.  I'll leave this to Kemeng to address, please.
> 
Sure. Thanks to Baoquan and SeongJae for providing the solution and
testing it. I will address build warning by adding __maybe_unused
as Baoquan menthioned and update confusion comment before
swap_is_last_ref().

Thanks,
Kemeng



      reply	other threads:[~2025-04-10  6:34 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-04-08 10:06 kernel test robot
2025-04-09  0:39 ` Andrew Morton
2025-04-09  2:24   ` Baoquan He
2025-04-09  6:25   ` Kemeng Shi
2025-04-09 16:54   ` SeongJae Park
2025-04-09 22:45     ` Baoquan He
2025-04-10  0:26       ` SeongJae Park
2025-04-13  2:47       ` Li, Philip
2025-04-10  0:42     ` Andrew Morton
2025-04-10  6:34       ` Kemeng Shi [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=8d237c70-5aac-924f-a8a3-31c6ef11a25e@huaweicloud.com \
    --to=shikemeng@huaweicloud.com \
    --cc=akpm@linux-foundation.org \
    --cc=bhe@redhat.com \
    --cc=linux-mm@kvack.org \
    --cc=lkp@intel.com \
    --cc=llvm@lists.linux.dev \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=sj@kernel.org \
    --cc=tim.c.chen@linux.intel.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