Re: linux-next: build failure after merge of the icc tree

From: Georgi Djakov
Date: Thu Aug 18 2022 - 01:01:03 EST


On 18.08.22 4:53, Stephen Rothwell wrote:
Hi all,

After merging the icc tree, today's linux-next build (x86_64 allmodconfig)
failed like this:

drivers/interconnect/imx/imx8mp.c: In function 'imx8mp_icc_remove':
drivers/interconnect/imx/imx8mp.c:245:16: error: void value not ignored as it ought to be
245 | return imx_icc_unregister(pdev);
| ^~~~~~~~~~~~~~~~~~~~~~~~
drivers/interconnect/imx/imx8mp.c:246:1: error: control reaches end of non-void function [-Werror=return-type]
246 | }
| ^

Caused by commit

d761e0e9c8f2 ("interconnect: imx: Make imx_icc_unregister() return void")

I have used the icc tree from next-20220817 for today.

Thanks Stephen! Fixed.

BR,
Georgi