All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: kbuild@lists.01.org
Subject: Re: [PATCH 2/2] drm/dp: add a number of DP 2.0 DPCD definitions
Date: Thu, 17 Sep 2020 21:46:38 +0800	[thread overview]
Message-ID: <202009172147.YFDtsayi%lkp@intel.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 10801 bytes --]

CC: kbuild-all(a)lists.01.org
In-Reply-To: <20200917105038.12313-2-jani.nikula@intel.com>
References: <20200917105038.12313-2-jani.nikula@intel.com>
TO: Jani Nikula <jani.nikula@intel.com>
TO: dri-devel(a)lists.freedesktop.org
CC: jani.nikula(a)intel.com

Hi Jani,

I love your patch! Perhaps something to improve:

[auto build test WARNING on drm-intel/for-linux-next]
[also build test WARNING on tegra-drm/drm/tegra/for-next drm-tip/drm-tip linus/master drm-exynos/exynos-drm-next v5.9-rc5 next-20200917]
[cannot apply to drm/drm-next]
[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]

url:    https://github.com/0day-ci/linux/commits/Jani-Nikula/drm-dp-add-subheadings-to-DPCD-address-definitions/20200917-185206
base:   git://anongit.freedesktop.org/drm-intel for-linux-next
:::::: branch date: 3 hours ago
:::::: commit date: 3 hours ago
config: c6x-randconfig-s031-20200917 (attached as .config)
compiler: c6x-elf-gcc (GCC) 9.3.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # apt-get install sparse
        # sparse version: v0.6.2-201-g24bdaac6-dirty
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=c6x 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>


sparse warnings: (new ones prefixed by >>)

   drivers/gpu/drm/drm_dsc.c: note: in included file:
   include/drm/drm_dp_helper.h:640:10: sparse: sparse: preprocessor token DP_ADJUST_TX_FFE_PRESET_LANE0_MASK redefined
>> include/drm/drm_dp_helper.h:638:10: sparse: this was the original definition
   include/drm/drm_dp_helper.h:641:10: sparse: sparse: preprocessor token DP_ADJUST_TX_FFE_PRESET_LANE0_SHIFT redefined
   include/drm/drm_dp_helper.h:639:10: sparse: this was the original definition
--
   drivers/gpu/drm/drm_probe_helper.c: note: in included file (through drivers/gpu/drm/drm_crtc_helper_internal.h):
   include/drm/drm_dp_helper.h:640:10: sparse: sparse: preprocessor token DP_ADJUST_TX_FFE_PRESET_LANE0_MASK redefined
>> include/drm/drm_dp_helper.h:638:10: sparse: this was the original definition
   include/drm/drm_dp_helper.h:641:10: sparse: sparse: preprocessor token DP_ADJUST_TX_FFE_PRESET_LANE0_SHIFT redefined
   include/drm/drm_dp_helper.h:639:10: sparse: this was the original definition
--
   drivers/gpu/drm/drm_crtc_helper.c: note: in included file (through drivers/gpu/drm/drm_crtc_helper_internal.h):
   include/drm/drm_dp_helper.h:640:10: sparse: sparse: preprocessor token DP_ADJUST_TX_FFE_PRESET_LANE0_MASK redefined
>> include/drm/drm_dp_helper.h:638:10: sparse: this was the original definition
   include/drm/drm_dp_helper.h:641:10: sparse: sparse: preprocessor token DP_ADJUST_TX_FFE_PRESET_LANE0_SHIFT redefined
   include/drm/drm_dp_helper.h:639:10: sparse: this was the original definition
--
   drivers/gpu/drm/drm_kms_helper_common.c: note: in included file (through drivers/gpu/drm/drm_crtc_helper_internal.h):
   include/drm/drm_dp_helper.h:640:10: sparse: sparse: preprocessor token DP_ADJUST_TX_FFE_PRESET_LANE0_MASK redefined
>> include/drm/drm_dp_helper.h:638:10: sparse: this was the original definition
   include/drm/drm_dp_helper.h:641:10: sparse: sparse: preprocessor token DP_ADJUST_TX_FFE_PRESET_LANE0_SHIFT redefined
   include/drm/drm_dp_helper.h:639:10: sparse: this was the original definition
--
   drivers/gpu/drm/drm_dp_helper.c: note: in included file:
   include/drm/drm_dp_helper.h:640:10: sparse: sparse: preprocessor token DP_ADJUST_TX_FFE_PRESET_LANE0_MASK redefined
>> include/drm/drm_dp_helper.h:638:10: sparse: this was the original definition
   include/drm/drm_dp_helper.h:641:10: sparse: sparse: preprocessor token DP_ADJUST_TX_FFE_PRESET_LANE0_SHIFT redefined
   include/drm/drm_dp_helper.h:639:10: sparse: this was the original definition
--
   drivers/gpu/drm/drm_atomic_helper.c: note: in included file (through drivers/gpu/drm/drm_crtc_helper_internal.h):
   include/drm/drm_dp_helper.h:640:10: sparse: sparse: preprocessor token DP_ADJUST_TX_FFE_PRESET_LANE0_MASK redefined
>> include/drm/drm_dp_helper.h:638:10: sparse: this was the original definition
   include/drm/drm_dp_helper.h:641:10: sparse: sparse: preprocessor token DP_ADJUST_TX_FFE_PRESET_LANE0_SHIFT redefined
   include/drm/drm_dp_helper.h:639:10: sparse: this was the original definition
--
   drivers/gpu/drm/drm_dp_cec.c: note: in included file:
   include/drm/drm_dp_helper.h:640:10: sparse: sparse: preprocessor token DP_ADJUST_TX_FFE_PRESET_LANE0_MASK redefined
>> include/drm/drm_dp_helper.h:638:10: sparse: this was the original definition
   include/drm/drm_dp_helper.h:641:10: sparse: sparse: preprocessor token DP_ADJUST_TX_FFE_PRESET_LANE0_SHIFT redefined
   include/drm/drm_dp_helper.h:639:10: sparse: this was the original definition
--
   drivers/gpu/drm/drm_dp_mst_topology.c: note: in included file (through include/drm/drm_dp_mst_helper.h):
   include/drm/drm_dp_helper.h:640:10: sparse: sparse: preprocessor token DP_ADJUST_TX_FFE_PRESET_LANE0_MASK redefined
>> include/drm/drm_dp_helper.h:638:10: sparse: this was the original definition
   include/drm/drm_dp_helper.h:641:10: sparse: sparse: preprocessor token DP_ADJUST_TX_FFE_PRESET_LANE0_SHIFT redefined
   include/drm/drm_dp_helper.h:639:10: sparse: this was the original definition
--
   drivers/gpu/drm/drm_mipi_dsi.c: note: in included file (through include/drm/drm_dsc.h):
   include/drm/drm_dp_helper.h:640:10: sparse: sparse: preprocessor token DP_ADJUST_TX_FFE_PRESET_LANE0_MASK redefined
>> include/drm/drm_dp_helper.h:638:10: sparse: this was the original definition
   include/drm/drm_dp_helper.h:641:10: sparse: sparse: preprocessor token DP_ADJUST_TX_FFE_PRESET_LANE0_SHIFT redefined
   include/drm/drm_dp_helper.h:639:10: sparse: this was the original definition
--
   drivers/gpu/drm/bridge/tc358767.c: note: in included file:
   include/drm/drm_dp_helper.h:640:10: sparse: sparse: preprocessor token DP_ADJUST_TX_FFE_PRESET_LANE0_MASK redefined
>> include/drm/drm_dp_helper.h:638:10: sparse: this was the original definition
   include/drm/drm_dp_helper.h:641:10: sparse: sparse: preprocessor token DP_ADJUST_TX_FFE_PRESET_LANE0_SHIFT redefined
   include/drm/drm_dp_helper.h:639:10: sparse: this was the original definition
--
   drivers/gpu/drm/bridge/ti-sn65dsi86.c: note: in included file:
   include/drm/drm_dp_helper.h:640:10: sparse: sparse: preprocessor token DP_ADJUST_TX_FFE_PRESET_LANE0_MASK redefined
>> include/drm/drm_dp_helper.h:638:10: sparse: this was the original definition
   include/drm/drm_dp_helper.h:641:10: sparse: sparse: preprocessor token DP_ADJUST_TX_FFE_PRESET_LANE0_SHIFT redefined
   include/drm/drm_dp_helper.h:639:10: sparse: this was the original definition
--
   drivers/gpu/drm/bridge/analogix/analogix-anx78xx.c: note: in included file:
   include/drm/drm_dp_helper.h:640:10: sparse: sparse: preprocessor token DP_ADJUST_TX_FFE_PRESET_LANE0_MASK redefined
>> include/drm/drm_dp_helper.h:638:10: sparse: this was the original definition
   include/drm/drm_dp_helper.h:641:10: sparse: sparse: preprocessor token DP_ADJUST_TX_FFE_PRESET_LANE0_SHIFT redefined
   include/drm/drm_dp_helper.h:639:10: sparse: this was the original definition
--
   drivers/gpu/drm/bridge/analogix/analogix-i2c-dptx.c: note: in included file:
   include/drm/drm_dp_helper.h:640:10: sparse: sparse: preprocessor token DP_ADJUST_TX_FFE_PRESET_LANE0_MASK redefined
>> include/drm/drm_dp_helper.h:638:10: sparse: this was the original definition
   include/drm/drm_dp_helper.h:641:10: sparse: sparse: preprocessor token DP_ADJUST_TX_FFE_PRESET_LANE0_SHIFT redefined
   include/drm/drm_dp_helper.h:639:10: sparse: this was the original definition
--
   drivers/gpu/drm/bridge/analogix/analogix_dp_reg.c: note: in included file (through drivers/gpu/drm/bridge/analogix/analogix_dp_core.h):
   include/drm/drm_dp_helper.h:640:10: sparse: sparse: preprocessor token DP_ADJUST_TX_FFE_PRESET_LANE0_MASK redefined
>> include/drm/drm_dp_helper.h:638:10: sparse: this was the original definition
   include/drm/drm_dp_helper.h:641:10: sparse: sparse: preprocessor token DP_ADJUST_TX_FFE_PRESET_LANE0_SHIFT redefined
   include/drm/drm_dp_helper.h:639:10: sparse: this was the original definition
   drivers/gpu/drm/bridge/analogix/analogix_dp_reg.c:527:5: sparse: sparse: symbol 'analogix_dp_start_aux_transaction' was not declared. Should it be static?
   drivers/gpu/drm/bridge/analogix/analogix_dp_reg.c:571:5: sparse: sparse: symbol 'analogix_dp_write_byte_to_dpcd' was not declared. Should it be static?
--
   drivers/gpu/drm/bridge/analogix/analogix_dp_core.c: note: in included file (through drivers/gpu/drm/bridge/analogix/analogix_dp_core.h):
   include/drm/drm_dp_helper.h:640:10: sparse: sparse: preprocessor token DP_ADJUST_TX_FFE_PRESET_LANE0_MASK redefined
>> include/drm/drm_dp_helper.h:638:10: sparse: this was the original definition
   include/drm/drm_dp_helper.h:641:10: sparse: sparse: preprocessor token DP_ADJUST_TX_FFE_PRESET_LANE0_SHIFT redefined
   include/drm/drm_dp_helper.h:639:10: sparse: this was the original definition

# https://github.com/0day-ci/linux/commit/ee700fcadff2b9f1f941cd4af77242e51a139649
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Jani-Nikula/drm-dp-add-subheadings-to-DPCD-address-definitions/20200917-185206
git checkout ee700fcadff2b9f1f941cd4af77242e51a139649
vim +638 include/drm/drm_dp_helper.h

a4fc5ed69817c73 drivers/gpu/drm/i915/intel_dp.h Keith Packard 2009-04-07  636  
ee700fcadff2b9f include/drm/drm_dp_helper.h     Jani Nikula   2020-09-17  637  /* DP 2.0 128b/132b Link Layer */
ee700fcadff2b9f include/drm/drm_dp_helper.h     Jani Nikula   2020-09-17 @638  # define DP_ADJUST_TX_FFE_PRESET_LANE0_MASK  (0xf << 0)
ee700fcadff2b9f include/drm/drm_dp_helper.h     Jani Nikula   2020-09-17  639  # define DP_ADJUST_TX_FFE_PRESET_LANE0_SHIFT 0
ee700fcadff2b9f include/drm/drm_dp_helper.h     Jani Nikula   2020-09-17  640  # define DP_ADJUST_TX_FFE_PRESET_LANE0_MASK  (0xf << 4)
ee700fcadff2b9f include/drm/drm_dp_helper.h     Jani Nikula   2020-09-17  641  # define DP_ADJUST_TX_FFE_PRESET_LANE0_SHIFT 4
ee700fcadff2b9f include/drm/drm_dp_helper.h     Jani Nikula   2020-09-17  642  

---
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: 24185 bytes --]

             reply	other threads:[~2020-09-17 13:46 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-17 13:46 kernel test robot [this message]
  -- strict thread matches above, loose matches on Subject: below --
2020-09-18 11:40 [PATCH 1/2] drm/dp: add subheadings to DPCD address definitions Jani Nikula
2020-09-18 11:40 ` [PATCH 2/2] drm/dp: add a number of DP 2.0 DPCD definitions Jani Nikula
2020-09-18 19:53   ` Navare, Manasi
2020-09-17 10:50 [PATCH 1/2] drm/dp: add subheadings to DPCD address definitions Jani Nikula
2020-09-17 10:50 ` [PATCH 2/2] drm/dp: add a number of DP 2.0 DPCD definitions Jani Nikula
2020-09-17 16:10   ` kernel test robot
2020-09-17 16:10     ` 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=202009172147.YFDtsayi%lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild@lists.01.org \
    /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.