Messages in this thread | | | Date | Tue, 26 Apr 2022 13:38:06 +0800 | Subject | Re: [PATCH] mm: use pgprot_val to get value of pgprot | From | Kefeng Wang <> |
| |
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. >>
| |