lkml.org 
[lkml]   [2022]   [Apr]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] mm: use pgprot_val to get value of pgprot
From

On 2022/4/25 21:48, liusongtang wrote:
> OK, Shall I add "Suggested-by: Kefeng Wang
> <wangkefeng.wang@huawei.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.
>>

\
 
 \ /
  Last update: 2022-04-26 07:38    [W:0.063 / U:0.340 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site