From: Maria Yu <quic_aiquny@quicinc.com>
To: <akpm@linux-foundation.org>, <ziy@nvidia.com>, <david@redhat.com>,
<linux-kernel@vger.kernel.org>, <linux-mm@kvack.org>
Cc: Maria Yu <quic_aiquny@quicinc.com>, <mike.kravetz@oracle.com>,
<opendmb@gmail.com>
Subject: [PATCH v3 0/1] mm/page_isolation: fix clang deadcode warning
Date: Fri, 21 Oct 2022 18:15:54 +0800 [thread overview]
Message-ID: <20221021101555.7992-1-quic_aiquny@quicinc.com> (raw)
When !CONFIG_VM_BUG_ON, there is warning of
clang-analyzer-deadcode.DeadStores:
Value stored to 'mt' during its initialization
is never read.
Changelog
===
V3
---
Difference with previous patch is use __maybe_unused
suggested by David.
V2
---
Difference with previous patch is just to make it
new lines as it is too long for single line.
Feel free to give comments and suggestions. Thanks.
previous discussion here:
[1] https://lore.kernel.org/linux-mm/20221021030953.34925-1-quic_aiquny@quicinc.com/
[2] https://lore.kernel.org/linux-mm/20221021051936.15346-1-quic_aiquny@quicinc.com/
Maria Yu (1):
mm/page_isolation: fix clang deadcode warning
mm/page_isolation.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--
2.17.1
next reply other threads:[~2022-10-21 10:16 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-21 10:15 Maria Yu [this message]
2022-10-21 10:15 ` [PATCH v3 1/1] " Maria Yu
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=20221021101555.7992-1-quic_aiquny@quicinc.com \
--to=quic_aiquny@quicinc.com \
--cc=akpm@linux-foundation.org \
--cc=david@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=mike.kravetz@oracle.com \
--cc=opendmb@gmail.com \
--cc=ziy@nvidia.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