From: "Kirill A. Shutemov" <kirill@shutemov.name>
To: zhengbin <zhengbin13@huawei.com>
Cc: akpm@linux-foundation.org, kirill.shutemov@linux.intel.com,
jglisse@redhat.com, mike.kravetz@oracle.com,
rcampbell@nvidia.com, ktkhai@virtuozzo.com,
aryabinin@virtuozzo.com, hughd@google.com, linux-mm@kvack.org,
yi.zhang@huawei.com
Subject: Re: [PATCH] mm/rmap.c: remove set but not used variable 'cstart'
Date: Fri, 23 Aug 2019 14:54:35 +0300 [thread overview]
Message-ID: <20190823115435.tcfpfudczuqomp6p@box> (raw)
In-Reply-To: <1566533321-23131-1-git-send-email-zhengbin13@huawei.com>
On Fri, Aug 23, 2019 at 12:08:41PM +0800, zhengbin wrote:
> Fixes gcc '-Wunused-but-set-variable' warning:
>
> mm/rmap.c: In function page_mkclean_one:
> mm/rmap.c:906:17: warning: variable cstart set but not used [-Wunused-but-set-variable]
>
> It is not used since commit 0f10851ea475 ("mm/mmu_notifier:
> avoid double notification when it is useless")
>
> Reported-by: Hulk Robot <hulkci@huawei.com>
> Signed-off-by: zhengbin <zhengbin13@huawei.com>
There is already fix in the mm tree. See
http://lkml.kernel.org/r/20190724141453.38536-1-yuehaibing@huawei.com
--
Kirill A. Shutemov
next prev parent reply other threads:[~2019-08-23 11:54 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-08-23 4:08 zhengbin
2019-08-23 11:54 ` Kirill A. Shutemov [this message]
-- strict thread matches above, loose matches on Subject: below --
2019-07-24 14:14 YueHaibing
2019-07-24 18:24 ` Mike Kravetz
2019-07-25 8:23 ` Kirill Tkhai
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=20190823115435.tcfpfudczuqomp6p@box \
--to=kirill@shutemov.name \
--cc=akpm@linux-foundation.org \
--cc=aryabinin@virtuozzo.com \
--cc=hughd@google.com \
--cc=jglisse@redhat.com \
--cc=kirill.shutemov@linux.intel.com \
--cc=ktkhai@virtuozzo.com \
--cc=linux-mm@kvack.org \
--cc=mike.kravetz@oracle.com \
--cc=rcampbell@nvidia.com \
--cc=yi.zhang@huawei.com \
--cc=zhengbin13@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