[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <a5b58a66-bdc3-94df-6af5-c647da888c17@huawei.com>
Date: Tue, 26 Apr 2022 13:38:06 +0800
From: Kefeng Wang <wangkefeng.wang@...wei.com>
To: liusongtang <liusongtang@...wei.com>,
Anshuman Khandual <anshuman.khandual@....com>,
<akpm@...ux-foundation.org>
CC: <linux-mm@...ck.org>, <linux-kernel@...r.kernel.org>,
<nixiaoming@...wei.com>, <young.liuyang@...wei.com>,
<trivial@...nel.org>
Subject: Re: [PATCH] mm: use pgprot_val to get value of pgprot
On 2022/4/25 21:48, liusongtang wrote:
> OK, Shall I add "Suggested-by: Kefeng Wang
> <wangkefeng.wang@...wei.com>" to these patches?
>
It is unnecessary ;)
> On 2022/4/25 18:40, Kefeng Wang wrote:
>>
>> On 2022/4/25 18:29, Anshuman Khandual wrote:
>>> Should have added 'memory_hotplug' in the subject line. Otherwise
>>> this does not specify where the change is (neither does the commit
>>> message below).
>>>
>>> mm/memory_hotplug: use pgprot_val to get value of pgprot
>>
>>
>> $ git grep "pgprot\.pgprot"
>> arch/ia64/mm/init.c: if (WARN_ON_ONCE(params->pgprot.pgprot !=
>> PAGE_KERNEL.pgprot))
>> arch/s390/mm/init.c: if (WARN_ON_ONCE(params->pgprot.pgprot !=
>> PAGE_KERNEL.pgprot))
>> arch/sh/mm/init.c: if (WARN_ON_ONCE(params->pgprot.pgprot !=
>> PAGE_KERNEL.pgprot))
>> mm/memory_hotplug.c: if (WARN_ON_ONCE(!params->pgprot.pgprot))
>>
>> You can change other's codes too.
>>
Powered by blists - more mailing lists