From: kernel test robot <lkp@intel.com>
To: Ho Jie Feng <hjf3108@gmail.com>, dri-devel@lists.freedesktop.org
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
cyrozap@gmail.com, Ho Jie Feng <hjf3108@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>,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH v4] drm/trigger5: Add MCT Trigger 5 USB display driver
Date: Wed, 14 Oct 2026 13:37:30 +0800 [thread overview]
Message-ID: <202610141333.eWqPGRTA-lkp@intel.com> (raw)
In-Reply-To: <20261012131539.67790-1-hjf3108@gmail.com>
Hi Ho,
kernel test robot noticed the following build warnings:
[auto build test WARNING on 73df79cceb8c01f311055a61794e229dc81546cb]
url: https://github.com/intel-lab-lkp/linux/commits/Ho-Jie-Feng/drm-trigger5-Add-MCT-Trigger-5-USB-display-driver/20261012-211537
base: 73df79cceb8c01f311055a61794e229dc81546cb
patch link: https://lore.kernel.org/r/20261012131539.67790-1-hjf3108%40gmail.com
patch subject: [PATCH v4] drm/trigger5: Add MCT Trigger 5 USB display driver
config: powerpc-randconfig-1000-20261014 (https://download.01.org/0day-ci/archive/20261014/202610141333.eWqPGRTA-lkp@intel.com/config)
compiler: clang version 19.1.7 (https://github.com/llvm/llvm-project cd708029e0b2869e80abe31ddb175f7c35361f90)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261014/202610141333.eWqPGRTA-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/202610141333.eWqPGRTA-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/gpu/drm/tiny/trigger5.c:550:19: warning: result of comparison of constant 65536 with expression of type 'const u16' (aka 'const unsigned short') is always false [-Wtautological-constant-out-of-range-compare]
550 | mode->htotal > U16_MAX + 1)
| ~~~~~~~~~~~~ ^ ~~~~~~~~~~~
drivers/gpu/drm/tiny/trigger5.c:555:19: warning: result of comparison of constant 65536 with expression of type 'const u16' (aka 'const unsigned short') is always false [-Wtautological-constant-out-of-range-compare]
555 | mode->vtotal > U16_MAX + 1)
| ~~~~~~~~~~~~ ^ ~~~~~~~~~~~
2 warnings generated.
vim +550 drivers/gpu/drm/tiny/trigger5.c
540
541 static enum drm_mode_status
542 trigger5_crtc_mode_valid(struct drm_crtc *crtc,
543 const struct drm_display_mode *mode)
544 {
545 struct trigger5_pll pll;
546 u64 err, ppm;
547
548 if (mode->hsync_end <= mode->hsync_start ||
549 mode->htotal <= mode->hsync_end ||
> 550 mode->htotal > U16_MAX + 1)
551 return MODE_H_ILLEGAL;
552
553 if (mode->vsync_end <= mode->vsync_start ||
554 mode->vtotal <= mode->vsync_end ||
555 mode->vtotal > U16_MAX + 1)
556 return MODE_V_ILLEGAL;
557
558 if (trigger5_mode_buf_len(mode) > TRIGGER5_TRANSFER_BUF_SIZE)
559 return MODE_MEM;
560
561 err = trigger5_calculate_pll(&pll, mode->clock);
562 ppm = div64_u64(err * 1000, mode->clock);
563 if (ppm > 10000)
564 return MODE_CLOCK_RANGE;
565
566 return MODE_OK;
567 }
568
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
prev parent reply other threads:[~2026-10-14 5:38 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-12 13:15 [PATCH v4] drm/trigger5: Add MCT Trigger 5 USB display driver Ho Jie Feng
2026-10-12 13:28 ` sashiko-bot
2026-10-14 5:37 ` 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=202610141333.eWqPGRTA-lkp@intel.com \
--to=lkp@intel.com \
--cc=airlied@gmail.com \
--cc=cyrozap@gmail.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=hjf3108@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=llvm@lists.linux.dev \
--cc=maarten.lankhorst@linux.intel.com \
--cc=mripard@kernel.org \
--cc=oe-kbuild-all@lists.linux.dev \
--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.