From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CE259370AF0; Sat, 13 Jun 2026 07:07:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.7 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781334441; cv=none; b=A548Z/YClJltnqmQygeaTcb4LJXNGvxoP/FzWNdHvLkb+kwTbaqWThi0oS8FLnDsGevcIU8y+e6DEmrpdSTqvbHyl2h6imP5FyePe94CH1IcmdUHmX1su9GGeazpfo3OiFK9kLBxhjru7Mn+trtupJhdyomwZCCQfMthVSmMFuo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781334441; c=relaxed/simple; bh=lHi5iAfgK39I33ayIU2gqxrswFc/8mikdpX+mZbi1w4=; h=Date:From:To:Cc:Subject:Message-ID; b=hXQbG2RrOn0bCKCcAVK4uHPY0TH/DvG6gq/vBJvbB4gpjOrAxWgbWwouYel43ZsoeSh5DMsC5WjpdKv6Xc8Xf0fRFbbj7xbGh1qdQO2JPo6dbHp23OicAHF36yH4odbSJHElLdBf6X5ytfbU79jFqjvAUu3Y/os+163km3gLNvg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=d8V7jFK0; arc=none smtp.client-ip=192.198.163.7 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="d8V7jFK0" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1781334438; x=1812870438; h=date:from:to:cc:subject:message-id; bh=lHi5iAfgK39I33ayIU2gqxrswFc/8mikdpX+mZbi1w4=; b=d8V7jFK0Y9U7PjqiXbdQhJq0+3agxmF1OoWEFKs8Z3cfRDXELvhIAgue ZYouRtbdcefkaqbS4pSC4oS6/9NjQkbznaNb+t2VO8MySlnhePbgtxfZn I77L+5axLKC0FikEVnq6pIOBF+DIcGJHcVFsMmW1hJ70AP1myuCNy9XNL dyQppH7+sS4b3AT6VLmLO6Ve3vTAURrCbszmNjAPfjEznPPwteqMKv+Wx syaTr198Q7CuZkhP3stNL58G2htZnxQZY5EFhcX9gYvbGgwqjyjEnAMTo VDwjKFzYCC79bof6Gyib+YZYmmItphx8oDgJh5UNGXnJBSWRd+O361ye+ A==; X-CSE-ConnectionGUID: c1OpGKW0Qwq2uwmFA+dugA== X-CSE-MsgGUID: GLZ0tN+tRtSXWRm1dPVRSg== X-IronPort-AV: E=McAfee;i="6800,10657,11815"; a="107593786" X-IronPort-AV: E=Sophos;i="6.24,202,1774335600"; d="scan'208";a="107593786" Received: from fmviesa005.fm.intel.com ([10.60.135.145]) by fmvoesa101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Jun 2026 00:07:15 -0700 X-CSE-ConnectionGUID: FKDQN1piQ/CT4dbvgq1/3w== X-CSE-MsgGUID: Stw7eaOeSaOcYvKlmryBpA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.24,202,1774335600"; d="scan'208";a="252109951" Received: from lkp-server01.sh.intel.com (HELO f0d55cb201f0) ([10.239.97.150]) by fmviesa005.fm.intel.com with ESMTP; 13 Jun 2026 00:07:13 -0700 Received: from kbuild by f0d55cb201f0 with local (Exim 4.98.2) (envelope-from ) id 1wYISV-00000000PlU-0jkI; Sat, 13 Jun 2026 07:07:11 +0000 Date: Sat, 13 Jun 2026 15:06:47 +0800 From: kernel test robot To: KancyJoe Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, Neil Armstrong Subject: [superna9999:topic/sm8650/ayaneo-pocket-s2/pmos-v4 17/31] drivers/gpu/drm/panel/panel-renesas-r63419.c:320:8: error: call to undeclared function 'devm_drm_panel_add'; ISO C99 and later do not support implicit function declarations Message-ID: <202606131439.tx8xFVfI-lkp@intel.com> User-Agent: s-nail v14.9.25 Precedence: bulk X-Mailing-List: llvm@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: tree: https://github.com/superna9999/linux topic/sm8650/ayaneo-pocket-s2/pmos-v4 head: 2990bb85e68d401720ce49038f3e512d7eb1a389 commit: 243e24384aa0b82af24b385485d2ce228b8a4660 [17/31] drm: panel: add support for the Renesas R63419 based dual-DSI video mode Display Panels config: s390-allmodconfig (https://download.01.org/0day-ci/archive/20260613/202606131439.tx8xFVfI-lkp@intel.com/config) compiler: clang version 23.0.0git (https://github.com/llvm/llvm-project 305faf498a4e0b52b40742c927af63ab2082e1a9) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260613/202606131439.tx8xFVfI-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 | Closes: https://lore.kernel.org/oe-kbuild-all/202606131439.tx8xFVfI-lkp@intel.com/ All errors (new ones prefixed by >>): >> drivers/gpu/drm/panel/panel-renesas-r63419.c:320:8: error: call to undeclared function 'devm_drm_panel_add'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 320 | ret = devm_drm_panel_add(dev, &ctx->panel); | ^ drivers/gpu/drm/panel/panel-renesas-r63419.c:320:8: note: did you mean 'drm_panel_add'? include/drm/drm_panel.h:330:6: note: 'drm_panel_add' declared here 330 | void drm_panel_add(struct drm_panel *panel); | ^ 1 error generated. vim +/devm_drm_panel_add +320 drivers/gpu/drm/panel/panel-renesas-r63419.c 246 247 static int renesas_r63419_probe(struct mipi_dsi_device *dsi) 248 { 249 struct mipi_dsi_device_info info = { }; 250 struct device *dev = &dsi->dev; 251 struct renesas_r63419_panel *ctx; 252 struct device_node *dsi1_node; 253 struct mipi_dsi_host *dsi1_host; 254 int ret, i; 255 256 ctx = devm_drm_panel_alloc(dev, struct renesas_r63419_panel, panel, 257 &renesas_r63419_panel_funcs, DRM_MODE_CONNECTOR_DSI); 258 if (IS_ERR(ctx)) 259 return PTR_ERR(ctx); 260 261 ctx->desc = of_device_get_match_data(dev); 262 if (!ctx->desc) 263 return dev_err_probe(dev, -ENODEV, 264 "Failed to get panel description\n"); 265 266 ret = devm_regulator_bulk_get_const(&dsi->dev, 267 ARRAY_SIZE(renesas_r63419_vdd_supplies), 268 renesas_r63419_vdd_supplies, &ctx->vdd_supplies); 269 if (ret < 0) 270 return ret; 271 272 ret = devm_regulator_bulk_get_const(&dsi->dev, 273 ARRAY_SIZE(renesas_r63419_vcc_supplies), 274 renesas_r63419_vcc_supplies, &ctx->vcc_supplies); 275 if (ret < 0) 276 return ret; 277 278 ctx->reset_gpio = devm_gpiod_get(dev, "reset", GPIOD_OUT_HIGH); 279 if (IS_ERR(ctx->reset_gpio)) 280 return dev_err_probe(dev, PTR_ERR(ctx->reset_gpio), 281 "Failed to get reset gpio\n"); 282 283 /* Get second DSI host */ 284 dsi1_node = of_graph_get_remote_node(dsi->dev.of_node, 1, -1); 285 if (!dsi1_node) 286 return dev_err_probe(dev, -ENODEV, 287 "Failed to get remote node for second DSI\n"); 288 289 dsi1_host = of_find_mipi_dsi_host_by_node(dsi1_node); 290 of_node_put(dsi1_node); 291 if (!dsi1_host) 292 return dev_err_probe(dev, -EPROBE_DEFER, 293 "Failed to find second DSI host\n"); 294 295 /* Copy current DSI info, do not provide OF node since no driver needs to be attached */ 296 strscpy(info.type, dsi->name, sizeof(info.type)); 297 info.channel = dsi->channel; 298 299 /* Register the second DSI device */ 300 ctx->dsi[1] = devm_mipi_dsi_device_register_full(dev, dsi1_host, &info); 301 if (IS_ERR(ctx->dsi[1])) 302 return dev_err_probe(dev, PTR_ERR(ctx->dsi[1]), 303 "Failed to register second DSI device\n"); 304 305 ctx->dsi[0] = dsi; 306 mipi_dsi_set_drvdata(dsi, ctx); 307 308 /* Get panel orientation */ 309 ret = of_drm_get_panel_orientation(dev->of_node, &ctx->orientation); 310 if (ret < 0 && ret != -ENODEV) 311 return dev_err_probe(dev, ret, 312 "Failed to get panel orientation\n"); 313 314 ctx->panel.prepare_prev_first = true; 315 316 ret = drm_panel_of_backlight(&ctx->panel); 317 if (ret) 318 return dev_err_probe(dev, ret, "Failed to get backlight\n"); 319 > 320 ret = devm_drm_panel_add(dev, &ctx->panel); 321 if (ret) 322 return dev_err_probe(dev, ret, "Failed to add panel\n"); 323 324 /* Configure and attach both DSI devices */ 325 for (i = 0; i < ARRAY_SIZE(ctx->dsi); i++) { 326 ctx->dsi[i]->lanes = ctx->desc->lanes; 327 ctx->dsi[i]->format = ctx->desc->format; 328 ctx->dsi[i]->mode_flags = ctx->desc->mode_flags; 329 330 ret = devm_mipi_dsi_attach(dev, ctx->dsi[i]); 331 if (ret < 0) 332 return dev_err_probe(dev, ret, 333 "Failed to attach DSI device %d\n", i); 334 } 335 336 return 0; 337 } 338 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki