[PATCH 2/2] media: nxp: Add i.MX9 CSI pixel formatter v4l2 driver
kernel test robot
lkp at intel.com
Wed Dec 3 13:45:39 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: m68k-allyesconfig (https://download.01.org/0day-ci/archive/20251204/202512040513.mvgeYlO0-lkp@intel.com/config)
compiler: m68k-linux-gcc (GCC) 15.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251204/202512040513.mvgeYlO0-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/202512040513.mvgeYlO0-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/media/platform/nxp/imx9-csi-formatter.c:786:12: warning: 'csi_formatter_runtime_resume' defined but not used [-Wunused-function]
786 | static int csi_formatter_runtime_resume(struct device *dev)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/media/platform/nxp/imx9-csi-formatter.c:776:12: warning: 'csi_formatter_runtime_suspend' defined but not used [-Wunused-function]
776 | static int csi_formatter_runtime_suspend(struct device *dev)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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_runtime_resume +786 drivers/media/platform/nxp/imx9-csi-formatter.c
775
> 776 static int csi_formatter_runtime_suspend(struct device *dev)
777 {
778 struct v4l2_subdev *sd = dev_get_drvdata(dev);
779 struct csi_formatter *formatter = sd_to_formatter(sd);
780
781 clk_disable_unprepare(formatter->clk);
782
783 return 0;
784 }
785
> 786 static int csi_formatter_runtime_resume(struct device *dev)
787 {
788 struct v4l2_subdev *sd = dev_get_drvdata(dev);
789 struct csi_formatter *formatter = sd_to_formatter(sd);
790
791 return clk_prepare_enable(formatter->clk);
792 }
793
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
More information about the linux-arm-kernel
mailing list