Re: [PATCH] powerpc/xmon: Fix build failure for 8xx

2020-12-10 Thread Michael Ellerman
On Mon, 30 Nov 2020 09:14:06 +0530, Ravi Bangoria wrote: > With CONFIG_PPC_8xx and CONFIG_XMON set, kernel build fails with > > arch/powerpc/xmon/xmon.c:1379:12: error: 'find_free_data_bpt' defined > but not used [-Werror=unused-function] > > Fix it by enclosing find_free_data_bpt() inside #i

[PATCH] powerpc/xmon: Fix build failure for 8xx

2020-11-29 Thread Ravi Bangoria
With CONFIG_PPC_8xx and CONFIG_XMON set, kernel build fails with arch/powerpc/xmon/xmon.c:1379:12: error: 'find_free_data_bpt' defined but not used [-Werror=unused-function] Fix it by enclosing find_free_data_bpt() inside #ifndef CONFIG_PPC_8xx. Reported-by: kernel test robot Fixes: 30df74d