Hi Rouven, kernel test robot noticed the following build warnings: url: https://github.com/intel-lab-lkp/linux/commits/Rouven-Czerwinski/dt-bindings-display-panel-add-YAML-schema-for-LXD-M9189A/20241023-204826 base: c2ee9f594da826bea183ed14f2cc029c719bf4da patch link: https://lore.kernel.org/r/20241023124411.1153552-3-r.czerwinski%40pengutronix.de patch subject: [PATCH 3/3] drm/panel: add Fitipower EK79007AD3 panel driver config: nios2-randconfig-r072-20241025 (https://download.01.org/0day-ci/archive/20241025/202410252201.QglvauIC-lkp@xxxxxxxxx/config) compiler: nios2-linux-gcc (GCC) 14.1.0 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@xxxxxxxxx> | Reported-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx> | Closes: https://lore.kernel.org/r/202410252201.QglvauIC-lkp@xxxxxxxxx/ smatch warnings: drivers/gpu/drm/panel/panel-lxd-m9189a.c:193 ek79007ad3_probe() error: uninitialized symbol 'ret'. vim +/ret +193 drivers/gpu/drm/panel/panel-lxd-m9189a.c a69b961abc36b3 Rouven Czerwinski 2024-10-23 181 static int ek79007ad3_probe(struct mipi_dsi_device *dsi) a69b961abc36b3 Rouven Czerwinski 2024-10-23 182 { a69b961abc36b3 Rouven Czerwinski 2024-10-23 183 struct device *dev = &dsi->dev; a69b961abc36b3 Rouven Czerwinski 2024-10-23 184 struct ek79007ad3_panel *ctx; a69b961abc36b3 Rouven Czerwinski 2024-10-23 185 int ret; a69b961abc36b3 Rouven Czerwinski 2024-10-23 186 a69b961abc36b3 Rouven Czerwinski 2024-10-23 187 ctx = devm_kzalloc(dev, sizeof(*ctx), GFP_KERNEL); a69b961abc36b3 Rouven Czerwinski 2024-10-23 188 if (!ctx) a69b961abc36b3 Rouven Czerwinski 2024-10-23 189 return -ENOMEM; a69b961abc36b3 Rouven Czerwinski 2024-10-23 190 a69b961abc36b3 Rouven Czerwinski 2024-10-23 191 ctx->supply = devm_regulator_get(dev, "vdd"); a69b961abc36b3 Rouven Czerwinski 2024-10-23 192 if (IS_ERR(ctx->supply)) a69b961abc36b3 Rouven Czerwinski 2024-10-23 @193 return dev_err_probe(dev, ret, "Failed to get regulator\n"); s/ret/PTR_ERR(ctx->supply)/ a69b961abc36b3 Rouven Czerwinski 2024-10-23 194 a69b961abc36b3 Rouven Czerwinski 2024-10-23 195 ctx->reset_gpio = devm_gpiod_get(dev, "reset", GPIOD_OUT_LOW); a69b961abc36b3 Rouven Czerwinski 2024-10-23 196 if (IS_ERR(ctx->reset_gpio)) a69b961abc36b3 Rouven Czerwinski 2024-10-23 197 return dev_err_probe(dev, PTR_ERR(ctx->reset_gpio), a69b961abc36b3 Rouven Czerwinski 2024-10-23 198 "Failed to get reset-gpios\n"); a69b961abc36b3 Rouven Czerwinski 2024-10-23 199 a69b961abc36b3 Rouven Czerwinski 2024-10-23 200 ctx->standby_gpio = devm_gpiod_get(dev, "standby", GPIOD_OUT_LOW); a69b961abc36b3 Rouven Czerwinski 2024-10-23 201 if (IS_ERR(ctx->standby_gpio)) -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki