Skip to contentSkip to conversation

mainline build failure due to 02852c01f654 ("media: i2c: imx290: Initialize runtime PM before subdev")

DISCUSSION Sudip Mukherjee 2 participants 2 messages Mar 31, 2023 – Apr 2, 2023 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

Hi All,

The mainline kernel branch had been failing last few weeks for alpha, csky and s390 allmodconfig with the error:

drivers/media/i2c/imx290.c:1093:12: error: 'imx290_runtime_suspend' defined but not used [-Werror=unused-function]
1093 | static int imx290_runtime_suspend(struct device *dev)

      |            ^~~~~~~~~~~~~~~~~~~~~~
drivers/media/i2c/imx290.c:1085:12: error: 'imx290_runtime_resume' defined but not used [-Werror=unused-function]
 1085 | static int imx290_runtime_resume(struct device *dev)
      |            ^~~~~~~~~~~~~~~~~~~~~

git bisect pointed to 02852c01f654 ("media: i2c: imx290: Initialize runtime PM before subdev")

I will be happy to test any patch or provide any extra log if needed.

Signature · 2 lines
Regards
Sudip
#1 lore raw
Quoted 6 lines · Sudip Mukherjee

The mainline kernel branch had been failing last few weeks for alpha, csky and s390 allmodconfig with the error:

drivers/media/i2c/imx290.c:1093:12: error: 'imx290_runtime_suspend' defined but not used [-Werror=unused-function]
1093 | static int imx290_runtime_suspend(struct device *dev)

Quoted 8 lines
      |            ^~~~~~~~~~~~~~~~~~~~~~
drivers/media/i2c/imx290.c:1085:12: error: 'imx290_runtime_resume' defined but not used [-Werror=unused-function]
 1085 | static int imx290_runtime_resume(struct device *dev)
      |            ^~~~~~~~~~~~~~~~~~~~~

git bisect pointed to 02852c01f654 ("media: i2c: imx290: Initialize runtime PM before subdev")

I will be happy to test any patch or provide any extra log if needed.

I'd assume this was fixed last night by 7b50567bdcad ("media: i2c:
imx290: fix conditional function defintions")

https://git.kernel.org/torvalds/c/7b50567bdcad8925ca1e075feb7171c12015afd1

Ciao, Thorsten