[PATCH v4 2/2] phy: qcom-mipi-csi2: Add a CSI2 MIPI DPHY driver

kernel test robot lkp at intel.com
Sun Mar 22 09:44:13 PDT 2026


Hi Bryan,

kernel test robot noticed the following build warnings:

[auto build test WARNING on c824345288d11e269ce41b36c105715bc2286050]

url:    https://github.com/intel-lab-lkp/linux/commits/Bryan-O-Donoghue/dt-bindings-phy-qcom-Add-CSI2-C-PHY-DPHY-schema/20260316-081353
base:   c824345288d11e269ce41b36c105715bc2286050
patch link:    https://lore.kernel.org/r/20260315-x1e-csi2-phy-v4-2-90c09203888d%40linaro.org
patch subject: [PATCH v4 2/2] phy: qcom-mipi-csi2: Add a CSI2 MIPI DPHY driver
config: arc-allyesconfig (https://download.01.org/0day-ci/archive/20260323/202603230048.ZxbvVL5L-lkp@intel.com/config)
compiler: arc-linux-gcc (GCC) 15.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260323/202603230048.ZxbvVL5L-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/202603230048.ZxbvVL5L-lkp@intel.com/

All warnings (new ones prefixed by >>):

   drivers/phy/qualcomm/phy-qcom-mipi-csi2-core.c: In function 'phy_qcom_mipi_csi2_power_off':
>> drivers/phy/qualcomm/phy-qcom-mipi-csi2-core.c:153:13: warning: unused variable 'i' [-Wunused-variable]
     153 |         int i;
         |             ^


vim +/i +153 drivers/phy/qualcomm/phy-qcom-mipi-csi2-core.c

   149	
   150	static int phy_qcom_mipi_csi2_power_off(struct phy *phy)
   151	{
   152		struct mipi_csi2phy_device *csi2phy = phy_get_drvdata(phy);
 > 153		int i;
   154	
   155		for (int i = 0; i < csi2phy->num_pds; i++)
   156			dev_pm_genpd_set_performance_state(csi2phy->pds[i], 0);
   157	
   158		clk_bulk_disable_unprepare(csi2phy->soc_cfg->num_clk,
   159					   csi2phy->clks);
   160		regulator_bulk_disable(csi2phy->soc_cfg->num_supplies,
   161				       csi2phy->supplies);
   162	
   163		return 0;
   164	}
   165	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki



More information about the linux-phy mailing list