Re: [PATCH] mm: use pgprot_val to get value of pgprot

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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





[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux