Re: [PATCH v2] ARM: davinci: fix a problematic usage of WARN()

2015-11-25 Thread Arnd Bergmann
On Thursday 26 November 2015 04:21:09 kbuild test robot wrote: >386 aemif = clk_get(_dm9000.dev, "aemif"); > > 387 if (!WARN(IS_ERR(aemif)), "unable to get AEMIF clock\n")) >388 clk_prepare_enable(aemif); >389 > That is an extra ')' after aemif.

Re: [PATCH v2] ARM: davinci: fix a problematic usage of WARN()

2015-11-25 Thread kbuild test robot
Hi Geliang, [auto build test ERROR on arm-soc/for-next] [also build test ERROR on v4.4-rc2 next-20151124] url: https://github.com/0day-ci/linux/commits/Geliang-Tang/ARM-davinci-fix-a-problematic-usage-of-WARN/20151125-221653 base:

[PATCH v2] ARM: davinci: fix a problematic usage of WARN()

2015-11-25 Thread Geliang Tang
WARN() takes a condition and a format string. The condition was omitted. So I added it. Signed-off-by: Geliang Tang --- Changes in v2: - remove __func__ in WARN() --- arch/arm/mach-davinci/board-dm355-evm.c | 4 +--- arch/arm/mach-davinci/board-dm355-leopard.c | 4 +--- 2 files changed, 2

Re: [PATCH v2] ARM: davinci: fix a problematic usage of WARN()

2015-11-25 Thread Arnd Bergmann
On Thursday 26 November 2015 04:21:09 kbuild test robot wrote: >386 aemif = clk_get(_dm9000.dev, "aemif"); > > 387 if (!WARN(IS_ERR(aemif)), "unable to get AEMIF clock\n")) >388 clk_prepare_enable(aemif); >389 > That is an extra ')' after aemif.

Re: [PATCH v2] ARM: davinci: fix a problematic usage of WARN()

2015-11-25 Thread kbuild test robot
Hi Geliang, [auto build test ERROR on arm-soc/for-next] [also build test ERROR on v4.4-rc2 next-20151124] url: https://github.com/0day-ci/linux/commits/Geliang-Tang/ARM-davinci-fix-a-problematic-usage-of-WARN/20151125-221653 base:

[PATCH v2] ARM: davinci: fix a problematic usage of WARN()

2015-11-25 Thread Geliang Tang
WARN() takes a condition and a format string. The condition was omitted. So I added it. Signed-off-by: Geliang Tang --- Changes in v2: - remove __func__ in WARN() --- arch/arm/mach-davinci/board-dm355-evm.c | 4 +--- arch/arm/mach-davinci/board-dm355-leopard.c | 4 +---