From: kernel test robot <lkp@intel.com>
To: Jani Nikula <jani.nikula@intel.com>
Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org,
linux-kernel@vger.kernel.org,
Rodrigo Vivi <rodrigo.vivi@intel.com>
Subject: [drm-drm-intel:drm-intel-next 4/5] drivers/gpu/drm/i915/display/intel_fdi.c:917:6: warning: comparison of integers of different signs: 'unsigned long long' and 'int'
Date: Sun, 29 Aug 2021 09:54:57 +0800 [thread overview]
Message-ID: <202108290953.wn9FEGlg-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 9444 bytes --]
tree: git://anongit.freedesktop.org/drm/drm-intel drm-intel-next
head: 9716846039eff1264de8868e9ed3f74a34b5b724
commit: e2cf6afcdacf937b67f362a623254dac32e7c509 [4/5] drm/i915/fdi: move fdi mphy reset and programming to intel_fdi.c
config: i386-randconfig-a002-20210829 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 4e1a164d7bd53653f79decc121afe784d2fde0a7)
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git remote add drm-drm-intel git://anongit.freedesktop.org/drm/drm-intel
git fetch --no-tags drm-drm-intel drm-intel-next
git checkout e2cf6afcdacf937b67f362a623254dac32e7c509
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=i386
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
^
include/linux/tracepoint.h:542:2: note: expanded from macro 'DEFINE_EVENT'
DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
^
include/linux/tracepoint.h:419:2: note: expanded from macro 'DECLARE_TRACE'
__DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
^
include/linux/tracepoint.h:279:42: note: expanded from macro '__DECLARE_TRACE'
check_trace_callback_type_##name(void (*cb)(data_proto)) \
^
In file included from drivers/gpu/drm/i915/display/intel_fdi.c:8:
In file included from drivers/gpu/drm/i915/display/intel_de.h:11:
drivers/gpu/drm/i915/i915_trace.h:1149:1: warning: unused parameter 'cb' [-Wunused-parameter]
TRACE_EVENT_CONDITION(i915_reg_rw,
^
include/linux/tracepoint.h:563:2: note: expanded from macro 'TRACE_EVENT_CONDITION'
DECLARE_TRACE_CONDITION(name, PARAMS(proto), \
^
include/linux/tracepoint.h:424:2: note: expanded from macro 'DECLARE_TRACE_CONDITION'
__DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
^
include/linux/tracepoint.h:279:42: note: expanded from macro '__DECLARE_TRACE'
check_trace_callback_type_##name(void (*cb)(data_proto)) \
^
In file included from drivers/gpu/drm/i915/display/intel_fdi.c:8:
In file included from drivers/gpu/drm/i915/display/intel_de.h:11:
drivers/gpu/drm/i915/i915_trace.h:1177:1: warning: unused parameter 'cb' [-Wunused-parameter]
TRACE_EVENT(intel_gpu_freq_change,
^
include/linux/tracepoint.h:553:2: note: expanded from macro 'TRACE_EVENT'
DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
^
include/linux/tracepoint.h:419:2: note: expanded from macro 'DECLARE_TRACE'
__DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
^
include/linux/tracepoint.h:279:42: note: expanded from macro '__DECLARE_TRACE'
check_trace_callback_type_##name(void (*cb)(data_proto)) \
^
In file included from drivers/gpu/drm/i915/display/intel_fdi.c:8:
In file included from drivers/gpu/drm/i915/display/intel_de.h:11:
drivers/gpu/drm/i915/i915_trace.h:1219:1: warning: unused parameter 'cb' [-Wunused-parameter]
DEFINE_EVENT(i915_ppgtt, i915_ppgtt_create,
^
include/linux/tracepoint.h:542:2: note: expanded from macro 'DEFINE_EVENT'
DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
^
include/linux/tracepoint.h:419:2: note: expanded from macro 'DECLARE_TRACE'
__DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
^
include/linux/tracepoint.h:279:42: note: expanded from macro '__DECLARE_TRACE'
check_trace_callback_type_##name(void (*cb)(data_proto)) \
^
In file included from drivers/gpu/drm/i915/display/intel_fdi.c:8:
In file included from drivers/gpu/drm/i915/display/intel_de.h:11:
drivers/gpu/drm/i915/i915_trace.h:1224:1: warning: unused parameter 'cb' [-Wunused-parameter]
DEFINE_EVENT(i915_ppgtt, i915_ppgtt_release,
^
include/linux/tracepoint.h:542:2: note: expanded from macro 'DEFINE_EVENT'
DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
^
include/linux/tracepoint.h:419:2: note: expanded from macro 'DECLARE_TRACE'
__DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
^
include/linux/tracepoint.h:279:42: note: expanded from macro '__DECLARE_TRACE'
check_trace_callback_type_##name(void (*cb)(data_proto)) \
^
In file included from drivers/gpu/drm/i915/display/intel_fdi.c:8:
In file included from drivers/gpu/drm/i915/display/intel_de.h:11:
drivers/gpu/drm/i915/i915_trace.h:1256:1: warning: unused parameter 'cb' [-Wunused-parameter]
DEFINE_EVENT(i915_context, i915_context_create,
^
include/linux/tracepoint.h:542:2: note: expanded from macro 'DEFINE_EVENT'
DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
^
include/linux/tracepoint.h:419:2: note: expanded from macro 'DECLARE_TRACE'
__DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
^
include/linux/tracepoint.h:279:42: note: expanded from macro '__DECLARE_TRACE'
check_trace_callback_type_##name(void (*cb)(data_proto)) \
^
In file included from drivers/gpu/drm/i915/display/intel_fdi.c:8:
In file included from drivers/gpu/drm/i915/display/intel_de.h:11:
drivers/gpu/drm/i915/i915_trace.h:1261:1: warning: unused parameter 'cb' [-Wunused-parameter]
DEFINE_EVENT(i915_context, i915_context_free,
^
include/linux/tracepoint.h:542:2: note: expanded from macro 'DEFINE_EVENT'
DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
^
include/linux/tracepoint.h:419:2: note: expanded from macro 'DECLARE_TRACE'
__DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
^
include/linux/tracepoint.h:279:42: note: expanded from macro '__DECLARE_TRACE'
check_trace_callback_type_##name(void (*cb)(data_proto)) \
^
drivers/gpu/drm/i915/display/intel_fdi.c:702:16: warning: comparison of integers of different signs: 'u32' (aka 'unsigned int') and 'int' [-Wsign-compare]
for (i = 0; i < n_entries * 2; i++) {
~ ^ ~~~~~~~~~~~~~
drivers/gpu/drm/i915/display/intel_fdi.c:751:9: warning: comparison of integers of different signs: 'u32' (aka 'unsigned int') and 'int' [-Wsign-compare]
if (i == n_entries * 2 - 1) {
~ ^ ~~~~~~~~~~~~~~~~~
>> drivers/gpu/drm/i915/display/intel_fdi.c:917:6: warning: comparison of integers of different signs: 'unsigned long long' and 'int' [-Wsign-compare]
if (wait_for_us(intel_de_read(dev_priv, SOUTH_CHICKEN2) &
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/i915/i915_utils.h:396:11: note: expanded from macro 'wait_for_us'
ret__ = _wait_for_atomic((COND), (US), 0); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/i915/i915_utils.h:372:18: note: expanded from macro '_wait_for_atomic'
if (now - base >= timeout) { \
~~~~~~~~~~ ^ ~~~~~~~
drivers/gpu/drm/i915/display/intel_fdi.c:925:6: warning: comparison of integers of different signs: 'unsigned long long' and 'int' [-Wsign-compare]
if (wait_for_us((intel_de_read(dev_priv, SOUTH_CHICKEN2) &
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/i915/i915_utils.h:396:11: note: expanded from macro 'wait_for_us'
ret__ = _wait_for_atomic((COND), (US), 0); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/i915/i915_utils.h:372:18: note: expanded from macro '_wait_for_atomic'
if (now - base >= timeout) { \
~~~~~~~~~~ ^ ~~~~~~~
1207 warnings and 1 error generated.
vim +917 drivers/gpu/drm/i915/display/intel_fdi.c
908
909 static void lpt_fdi_reset_mphy(struct drm_i915_private *dev_priv)
910 {
911 u32 tmp;
912
913 tmp = intel_de_read(dev_priv, SOUTH_CHICKEN2);
914 tmp |= FDI_MPHY_IOSFSB_RESET_CTL;
915 intel_de_write(dev_priv, SOUTH_CHICKEN2, tmp);
916
> 917 if (wait_for_us(intel_de_read(dev_priv, SOUTH_CHICKEN2) &
918 FDI_MPHY_IOSFSB_RESET_STATUS, 100))
919 drm_err(&dev_priv->drm, "FDI mPHY reset assert timeout\n");
920
921 tmp = intel_de_read(dev_priv, SOUTH_CHICKEN2);
922 tmp &= ~FDI_MPHY_IOSFSB_RESET_CTL;
923 intel_de_write(dev_priv, SOUTH_CHICKEN2, tmp);
924
925 if (wait_for_us((intel_de_read(dev_priv, SOUTH_CHICKEN2) &
926 FDI_MPHY_IOSFSB_RESET_STATUS) == 0, 100))
927 drm_err(&dev_priv->drm, "FDI mPHY reset de-assert timeout\n");
928 }
929
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 43280 bytes --]
reply other threads:[~2021-08-29 1:55 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=202108290953.wn9FEGlg-lkp@intel.com \
--to=lkp@intel.com \
--cc=jani.nikula@intel.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=llvm@lists.linux.dev \
--cc=rodrigo.vivi@intel.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®