powerpc/prom_init: Fix kernel config grep
authorLiam Howlett <liam.howlett@oracle.com>
Fri, 24 Jun 2022 01:17:58 +0000 (01:17 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 7 Jul 2022 15:53:24 +0000 (17:53 +0200)
commit0c1d781d6b08b1b8942bb70421f494057fc6950c
tree866b615930c10cdacc8c2842b302f3a601b7812e
parentbe74e588f1a5db165a31d2c39477b4c818a7351c
powerpc/prom_init: Fix kernel config grep

commit 6886da5f49e6d86aad76807a93f3eef5e4f01b10 upstream.

When searching for config options, use the KCONFIG_CONFIG shell variable
so that builds using non-standard config locations work.

Fixes: 26deb04342e3 ("powerpc: prepare string/mem functions for KASAN")
Cc: stable@vger.kernel.org # v5.2+
Signed-off-by: Liam R. Howlett <Liam.Howlett@oracle.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20220624011745.4060795-1-Liam.Howlett@oracle.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/powerpc/kernel/prom_init_check.sh