[PATCH RFC 02/15] powerpc/eeh: Rename eeh_pe_get() to eeh_pe_find()

Oliver O'Halloran oohall at gmail.com
Wed Nov 13 13:32:56 AEDT 2019


On Wed, Oct 2, 2019 at 4:03 PM Sam Bobroff <sbobroff at linux.ibm.com> wrote:
>
> There are now functions eeh_get_pe() and eeh_pe_get() which seems
> likely to cause confusion.
>
> Keep eeh_get_pe() because "get" is commonly used to refer to acquiring
> a reference (which it does), and rename eeh_pe_get() to eeh_pe_find()
> because it performs a search.
>
> Signed-off-by: Sam Bobroff <sbobroff at linux.ibm.com>

Good idea.

Reviewed-by: Oliver O'Halloran <oohall at gmail.com>


More information about the Linuxppc-dev mailing list