RE: [PATCH] um: Replace to_phys() and to_virt() with less generic function names

2022-07-14 Thread Dan Williams
[ add Jane ] Guenter Roeck wrote: > to_virt() and to_phys() are very generic and may be defined by drivers. > As it turns out, commit 9409c9b6709e ("pmem: refactor pmem_clear_poison()") > did exactly that. This results in build errors such as the following > when trying to build um:allmodconfig. >

Re: [PATCH] um: Replace to_phys() and to_virt() with less generic function names

2022-07-14 Thread Anton Ivanov
On 14/07/2022 19:46, Guenter Roeck wrote: to_virt() and to_phys() are very generic and may be defined by drivers. As it turns out, commit 9409c9b6709e ("pmem: refactor pmem_clear_poison()") did exactly that. This results in build errors such as the following when trying to build um:allmodconfig.

[PATCH] um: Replace to_phys() and to_virt() with less generic function names

2022-07-14 Thread Guenter Roeck
to_virt() and to_phys() are very generic and may be defined by drivers. As it turns out, commit 9409c9b6709e ("pmem: refactor pmem_clear_poison()") did exactly that. This results in build errors such as the following when trying to build um:allmodconfig. drivers/nvdimm/pmem.c: In function ‘pmem_da