[PATCH 2/2] media: nxp: Add i.MX9 CSI pixel formatter v4l2 driver
kernel test robot
lkp at intel.com
Wed Dec 3 13:24:24 PST 2025
Hi Guoniu,
kernel test robot noticed the following build warnings:
[auto build test WARNING on 1f2353f5a1af995efbf7bea44341aa0d03460b28]
url: https://github.com/intel-lab-lkp/linux/commits/Guoniu-Zhou/media-dt-bindings-Add-CSI-Pixel-Formatter-DT-bindings/20251203-143208
base: 1f2353f5a1af995efbf7bea44341aa0d03460b28
patch link: https://lore.kernel.org/r/20251203-csi_formatter-v1-2-eb9e1147b49e%40nxp.com
patch subject: [PATCH 2/2] media: nxp: Add i.MX9 CSI pixel formatter v4l2 driver
config: sh-allyesconfig (https://download.01.org/0day-ci/archive/20251204/202512040546.yLIh1wBH-lkp@intel.com/config)
compiler: sh4-linux-gcc (GCC) 15.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251204/202512040546.yLIh1wBH-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp at intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202512040546.yLIh1wBH-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/media/platform/nxp/imx9-csi-formatter.c:763:12: warning: 'csi_formatter_system_resume' defined but not used [-Wunused-function]
763 | static int csi_formatter_system_resume(struct device *dev)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/media/platform/nxp/imx9-csi-formatter.c:758:12: warning: 'csi_formatter_system_suspend' defined but not used [-Wunused-function]
758 | static int csi_formatter_system_suspend(struct device *dev)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
vim +/csi_formatter_system_resume +763 drivers/media/platform/nxp/imx9-csi-formatter.c
753
754 /* -----------------------------------------------------------------------------
755 * Suspend/resume
756 */
757
> 758 static int csi_formatter_system_suspend(struct device *dev)
759 {
760 return pm_runtime_force_suspend(dev);
761 }
762
> 763 static int csi_formatter_system_resume(struct device *dev)
764 {
765 int ret;
766
767 ret = pm_runtime_force_resume(dev);
768 if (ret < 0) {
769 dev_err(dev, "force resume %s failed!\n", dev_name(dev));
770 return ret;
771 }
772
773 return 0;
774 }
775
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
More information about the linux-arm-kernel
mailing list