Re: [PATCH v2 3/4] powerpc: Rename probe_kernel_read_inst()

From: Christophe Leroy
Date: Wed Apr 14 2021 - 08:58:02 EST




Le 14/04/2021 à 07:23, Aneesh Kumar K.V a écrit :
Christophe Leroy <christophe.leroy@xxxxxxxxxx> writes:

When probe_kernel_read_inst() was created, it was to mimic
probe_kernel_read() function.

Since then, probe_kernel_read() has been renamed
copy_from_kernel_nofault().

Rename probe_kernel_read_inst() into copy_from_kernel_nofault_inst().

At first glance I read it as copy from kernel nofault instruction.
How about copy_inst_from_kernel_nofault()?

Yes good idea.

Christophe