From: kernel test robot <lkp@intel.com>
To: Hironori KIKUCHI <kikuchan98@gmail.com>, linux-kernel@vger.kernel.org
Cc: oe-kbuild-all@lists.linux.dev,
Hironori KIKUCHI <kikuchan98@gmail.com>,
Neil Armstrong <neil.armstrong@linaro.org>,
Jessica Zhang <quic_jesszhan@quicinc.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>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Jakub Kicinski <kuba@kernel.org>,
dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org
Subject: Re: [PATCH v2 3/3] drm: panel: Add a driver for Generic MIPI-DSI/DPI(+SPI) panels
Date: Thu, 6 Mar 2025 15:53:36 +0800 [thread overview]
Message-ID: <202503061541.2JX2lTlc-lkp@intel.com> (raw)
In-Reply-To: <20250226112552.52494-4-kikuchan98@gmail.com>
Hi Hironori,
kernel test robot noticed the following build warnings:
[auto build test WARNING on robh/for-next]
[also build test WARNING on linus/master v6.14-rc5 next-20250305]
[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/Hironori-KIKUCHI/dt-bindings-vendor-prefixes-Add-hothmi-vendor-prefix/20250226-192724
base: https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-next
patch link: https://lore.kernel.org/r/20250226112552.52494-4-kikuchan98%40gmail.com
patch subject: [PATCH v2 3/3] drm: panel: Add a driver for Generic MIPI-DSI/DPI(+SPI) panels
config: csky-randconfig-r112-20250306 (https://download.01.org/0day-ci/archive/20250306/202503061541.2JX2lTlc-lkp@intel.com/config)
compiler: csky-linux-gcc (GCC) 14.2.0
reproduce: (https://download.01.org/0day-ci/archive/20250306/202503061541.2JX2lTlc-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/202503061541.2JX2lTlc-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
>> drivers/gpu/drm/panel/panel-mipi.c:407:26: sparse: sparse: cast to restricted __be16
drivers/gpu/drm/panel/panel-mipi.c:408:27: sparse: sparse: cast to restricted __be16
drivers/gpu/drm/panel/panel-mipi.c:410:20: sparse: sparse: cast to restricted __be16
drivers/gpu/drm/panel/panel-mipi.c:424:29: sparse: sparse: cast to restricted __be16
drivers/gpu/drm/panel/panel-mipi.c:425:28: sparse: sparse: cast to restricted __be16
drivers/gpu/drm/panel/panel-mipi.c:426:29: sparse: sparse: cast to restricted __be16
drivers/gpu/drm/panel/panel-mipi.c:427:33: sparse: sparse: cast to restricted __be16
>> drivers/gpu/drm/panel/panel-mipi.c:429:27: sparse: sparse: cast to restricted __be32
drivers/gpu/drm/panel/panel-mipi.c:854:23: sparse: sparse: cast to restricted __be32
drivers/gpu/drm/panel/panel-mipi.c:856:26: sparse: sparse: cast to restricted __be16
drivers/gpu/drm/panel/panel-mipi.c:857:46: sparse: sparse: cast to restricted __be16
drivers/gpu/drm/panel/panel-mipi.c:858:47: sparse: sparse: cast to restricted __be16
drivers/gpu/drm/panel/panel-mipi.c:859:42: sparse: sparse: cast to restricted __be16
drivers/gpu/drm/panel/panel-mipi.c:861:26: sparse: sparse: cast to restricted __be16
drivers/gpu/drm/panel/panel-mipi.c:862:46: sparse: sparse: cast to restricted __be16
drivers/gpu/drm/panel/panel-mipi.c:863:47: sparse: sparse: cast to restricted __be16
drivers/gpu/drm/panel/panel-mipi.c:864:42: sparse: sparse: cast to restricted __be16
drivers/gpu/drm/panel/panel-mipi.c:866:23: sparse: sparse: cast to restricted __be32
drivers/gpu/drm/panel/panel-mipi.c:1047:22: sparse: sparse: cast to restricted __be16
drivers/gpu/drm/panel/panel-mipi.c:1048:23: sparse: sparse: cast to restricted __be16
drivers/gpu/drm/panel/panel-mipi.c:1049:27: sparse: sparse: cast to restricted __be32
drivers/gpu/drm/panel/panel-mipi.c: note: in included file (through include/linux/mutex.h, include/drm/drm_mipi_dbi.h):
include/linux/list.h:83:21: sparse: sparse: self-comparison always evaluates to true
vim +407 drivers/gpu/drm/panel/panel-mipi.c
392
393 static int panel_mipi_read_firmware(const struct device *dev,
394 struct panel_mipi *mipi,
395 const struct panel_firmware *firmware)
396 {
397 int rotation;
398 int err;
399
400 err = panel_mipi_load_commands(mipi, firmware->commands.data,
401 firmware->commands.size);
402 if (err) {
403 dev_err(dev, "firmware: Malformed command sequence\n");
404 return err;
405 }
406
> 407 mipi->width_mm = be16_to_cpu(firmware->config->width_mm);
408 mipi->height_mm = be16_to_cpu(firmware->config->height_mm);
409
410 rotation = be16_to_cpu(firmware->config->rotation);
411 if (rotation == 0)
412 mipi->orientation = DRM_MODE_PANEL_ORIENTATION_NORMAL;
413 else if (rotation == 90)
414 mipi->orientation = DRM_MODE_PANEL_ORIENTATION_RIGHT_UP;
415 else if (rotation == 180)
416 mipi->orientation = DRM_MODE_PANEL_ORIENTATION_BOTTOM_UP;
417 else if (rotation == 270)
418 mipi->orientation = DRM_MODE_PANEL_ORIENTATION_LEFT_UP;
419 else {
420 dev_err(dev, "firmware: Invalid rotation %u\n", rotation);
421 return -EINVAL;
422 }
423
424 mipi->reset_delay = be16_to_cpu(firmware->config->reset_delay);
425 mipi->init_delay = be16_to_cpu(firmware->config->init_delay);
426 mipi->sleep_delay = be16_to_cpu(firmware->config->sleep_delay);
427 mipi->backlight_delay = be16_to_cpu(firmware->config->backlight_delay);
428
> 429 mipi->bus_flags = be32_to_cpu(firmware->config->bus_flags);
430
431 return 0;
432 }
433
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
prev parent reply other threads:[~2025-03-06 7:55 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-26 11:25 [PATCH v2 0/3] drm: panel: Add Generic MIPI Panel Driver Hironori KIKUCHI
2025-02-26 11:25 ` [PATCH v2 1/3] dt-bindings: vendor-prefixes: Add hothmi vendor prefix Hironori KIKUCHI
2025-03-03 13:06 ` Rob Herring (Arm)
2025-02-26 11:25 ` [PATCH v2 2/3] dt-bindings: display: panel: Add some generic MIPI-DSI/DPI panels Hironori KIKUCHI
2025-03-03 13:12 ` Rob Herring
2025-02-26 11:25 ` [PATCH v2 3/3] drm: panel: Add a driver for Generic MIPI-DSI/DPI(+SPI) panels Hironori KIKUCHI
2025-03-03 9:26 ` Krzysztof Kozlowski
2025-03-06 7:53 ` kernel test robot [this message]
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=202503061541.2JX2lTlc-lkp@intel.com \
--to=lkp@intel.com \
--cc=airlied@gmail.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=kikuchan98@gmail.com \
--cc=krzk@kernel.org \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=maarten.lankhorst@linux.intel.com \
--cc=mripard@kernel.org \
--cc=neil.armstrong@linaro.org \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=quic_jesszhan@quicinc.com \
--cc=robh@kernel.org \
--cc=simona@ffwll.ch \
--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.