From: kernel test robot <lkp@intel.com>
To: Guangshuo Li <lgs201920130244@gmail.com>,
Neil Armstrong <neil.armstrong@linaro.org>,
Jessica Zhang <jesszhan0024@gmail.com>,
Maarten Lankhorst <maarten.lankhorst@linux.intel.com>,
Maxime Ripard <mripard@kernel.org>,
Thomas Zimmermann <tzimmermann@suse.de>,
David Airlie <airlied@gmail.com>, Simona Vetter <simona@ffwll.ch>,
Linus Walleij <linusw@kernel.org>,
dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
Guangshuo Li <lgs201920130244@gmail.com>,
stable@vger.kernel.org
Subject: Re: [PATCH] drm/panel: ilitek-ili9881c: fix panel cleanup on attach failure
Date: Mon, 14 Sep 2026 03:46:16 +0800 [thread overview]
Message-ID: <202609140343.MDs2yjJe-lkp@intel.com> (raw)
In-Reply-To: <20260913102608.1526916-1-lgs201920130244@gmail.com>
Hi Guangshuo,
kernel test robot noticed the following build errors:
[auto build test ERROR on linus/master]
[also build test ERROR on v7.3-rc2]
[cannot apply to drm-misc/drm-misc-next next-20260911]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Guangshuo-Li/drm-panel-ilitek-ili9881c-fix-panel-cleanup-on-attach-failure/20260913-182608
base: linus/master
patch link: https://lore.kernel.org/r/20260913102608.1526916-1-lgs201920130244%40gmail.com
patch subject: [PATCH] drm/panel: ilitek-ili9881c: fix panel cleanup on attach failure
config: riscv-randconfig-001-20260914 (https://download.01.org/0day-ci/archive/20260914/202609140343.MDs2yjJe-lkp@intel.com/config)
compiler: clang version 18.1.8 (https://github.com/llvm/llvm-project 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260914/202609140343.MDs2yjJe-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@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202609140343.MDs2yjJe-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from drivers/gpu/drm/panel/panel-ilitek-ili9881c.c:15:
In file included from include/linux/regulator/consumer.h:35:
In file included from include/linux/suspend.h:5:
In file included from include/linux/swap.h:9:
In file included from include/linux/memcontrol.h:13:
In file included from include/linux/cgroup.h:27:
In file included from include/linux/kernel_stat.h:8:
In file included from include/linux/interrupt.h:11:
In file included from include/linux/hardirq.h:11:
In file included from ./arch/riscv/include/generated/asm/hardirq.h:1:
In file included from include/asm-generic/hardirq.h:17:
In file included from include/linux/irq.h:20:
In file included from include/linux/io.h:12:
In file included from arch/riscv/include/asm/io.h:148:
include/asm-generic/io.h:1209:55: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
1209 | return (port > MMIO_UPPER_LIMIT) ? NULL : PCI_IOBASE + port;
| ~~~~~~~~~~ ^
>> drivers/gpu/drm/panel/panel-ilitek-ili9881c.c:2599:64: error: expected ';' after return statement
2599 | return dev_err_probe(&dsi->dev, ret, "Failed to add panel\n")
| ^
| ;
1 warning and 1 error generated.
vim +2599 drivers/gpu/drm/panel/panel-ilitek-ili9881c.c
2545
2546 static int ili9881c_dsi_probe(struct mipi_dsi_device *dsi)
2547 {
2548 struct ili9881c *ctx;
2549 int ret;
2550
2551 ctx = devm_drm_panel_alloc(&dsi->dev, struct ili9881c, panel, &ili9881c_funcs,
2552 DRM_MODE_CONNECTOR_DSI);
2553 if (IS_ERR(ctx))
2554 return PTR_ERR(ctx);
2555
2556 mipi_dsi_set_drvdata(dsi, ctx);
2557 ctx->dsi = dsi;
2558 ctx->desc = of_device_get_match_data(&dsi->dev);
2559
2560 ctx->power = devm_regulator_get(&dsi->dev, "power");
2561 if (IS_ERR(ctx->power))
2562 return dev_err_probe(&dsi->dev, PTR_ERR(ctx->power),
2563 "Couldn't get our power regulator\n");
2564
2565 ctx->iovcc = devm_regulator_get_optional(&dsi->dev, "iovcc");
2566 if (IS_ERR(ctx->iovcc)) {
2567 if (PTR_ERR(ctx->iovcc) != -ENODEV)
2568 return dev_err_probe(&dsi->dev, PTR_ERR(ctx->iovcc),
2569 "Couldn't get our iovcc regulator\n");
2570 ctx->iovcc = NULL;
2571 }
2572
2573 ctx->reset = devm_gpiod_get_optional(&dsi->dev, "reset", GPIOD_OUT_LOW);
2574 if (IS_ERR(ctx->reset))
2575 return dev_err_probe(&dsi->dev, PTR_ERR(ctx->reset),
2576 "Couldn't get our reset GPIO\n");
2577
2578 ret = drm_of_get_panel_orientation(dsi->dev.of_node, &ctx->orientation);
2579 if (ret) {
2580 dev_err(&dsi->dev, "%pOF: failed to get orientation: %d\n",
2581 dsi->dev.of_node, ret);
2582 return ret;
2583 }
2584
2585 ctx->address_mode = ctx->desc->default_address_mode;
2586 if (ctx->orientation == DRM_MODE_PANEL_ORIENTATION_BOTTOM_UP) {
2587 ctx->address_mode ^= 0x03;
2588 ctx->orientation = DRM_MODE_PANEL_ORIENTATION_NORMAL;
2589 }
2590
2591 ctx->panel.prepare_prev_first = true;
2592
2593 ret = drm_panel_of_backlight(&ctx->panel);
2594 if (ret)
2595 return ret;
2596
2597 ret = devm_drm_panel_add(&dsi->dev, &ctx->panel);
2598 if (ret)
> 2599 return dev_err_probe(&dsi->dev, ret, "Failed to add panel\n")
2600
2601 dsi->mode_flags = ctx->desc->mode_flags;
2602 dsi->format = MIPI_DSI_FMT_RGB888;
2603 dsi->lanes = ctx->desc->lanes;
2604
2605 return mipi_dsi_attach(dsi);
2606 }
2607
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next prev parent reply other threads:[~2026-09-13 19:47 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-13 10:26 [PATCH] drm/panel: ilitek-ili9881c: fix panel cleanup on attach failure Guangshuo Li
2026-09-13 10:30 ` sashiko-bot
2026-09-13 19:46 ` kernel test robot [this message]
2026-09-13 19:46 ` kernel test robot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202609140343.MDs2yjJe-lkp@intel.com \
--to=lkp@intel.com \
--cc=airlied@gmail.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=jesszhan0024@gmail.com \
--cc=lgs201920130244@gmail.com \
--cc=linusw@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=llvm@lists.linux.dev \
--cc=maarten.lankhorst@linux.intel.com \
--cc=mripard@kernel.org \
--cc=neil.armstrong@linaro.org \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=simona@ffwll.ch \
--cc=stable@vger.kernel.org \
--cc=tzimmermann@suse.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.