linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Jianqiang Chen <jianqiang.chen@xilinx.com>
Cc: kbuild-all@lists.01.org, clang-built-linux@googlegroups.com,
	linux-arm-kernel@lists.infradead.org,
	Michal Simek <monstr@monstr.eu>
Subject: [xlnx:master 425/437] drivers/gpu/drm/xlnx/xlnx_bridge.h:97:15: warning: duplicate 'inline' declaration specifier
Date: Tue, 11 May 2021 04:25:38 +0800	[thread overview]
Message-ID: <202105110434.X0UU2r3F-lkp@intel.com> (raw)

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

tree:   https://github.com/Xilinx/linux-xlnx master
head:   bea04171cb9e59f85602890504a91f4d1321df21
commit: 9d18453b9ae7efad1ab60ce9330182737976af8a [425/437] drm: xlnx: zynqmp: Rebase downstream Display port crtc features
config: x86_64-randconfig-r024-20210510 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 492173d42b32cb91d5d0d72d5ed84fcab80d059a)
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
        # install x86_64 cross compiling tool for clang build
        # apt-get install binutils-x86-64-linux-gnu
        # https://github.com/Xilinx/linux-xlnx/commit/9d18453b9ae7efad1ab60ce9330182737976af8a
        git remote add xlnx https://github.com/Xilinx/linux-xlnx
        git fetch --no-tags xlnx master
        git checkout 9d18453b9ae7efad1ab60ce9330182737976af8a
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 ARCH=x86_64 

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 >>):

   In file included from drivers/gpu/drm/xlnx/zynqmp_disp.c:40:
>> drivers/gpu/drm/xlnx/xlnx_bridge.h:97:15: warning: duplicate 'inline' declaration specifier [-Wduplicate-decl-specifier]
   static inline inline int xlnx_bridge_helper_init(void)
                 ^
   include/linux/compiler_types.h:144:16: note: expanded from macro 'inline'
   #define inline inline __gnu_inline __inline_maybe_unused notrace
                  ^
   drivers/gpu/drm/xlnx/zynqmp_disp.c:1924:2: error: implicit declaration of function 'zynqmp_dp_set_color' [-Werror,-Wimplicit-function-declaration]
           zynqmp_dp_set_color(disp->dpsub->dp, zynqmp_disp_color_enum[id].name);
           ^
   drivers/gpu/drm/xlnx/zynqmp_disp.c:1924:2: note: did you mean 'zynqmp_disp_clr'?
   drivers/gpu/drm/xlnx/zynqmp_disp.c:308:13: note: 'zynqmp_disp_clr' declared here
   static void zynqmp_disp_clr(void __iomem *base, int offset, u32 clr)
               ^
   drivers/gpu/drm/xlnx/zynqmp_disp.c:2575:2: error: implicit declaration of function 'zynqmp_dp_encoder_mode_set_stream' [-Werror,-Wimplicit-function-declaration]
           zynqmp_dp_encoder_mode_set_stream(disp->dpsub->dp, adjusted_mode);
           ^
   drivers/gpu/drm/xlnx/zynqmp_disp.c:2620:20: error: no member named 'external_crtc_attached' in 'struct zynqmp_dpsub'
           if (!disp->dpsub->external_crtc_attached)
                ~~~~~~~~~~~  ^
   drivers/gpu/drm/xlnx/zynqmp_disp.c:2756:2: error: implicit declaration of function 'zynqmp_dp_set_color' [-Werror,-Wimplicit-function-declaration]
           zynqmp_dp_set_color(disp->dpsub->dp, zynqmp_disp_color_enum[0].name);
           ^
   drivers/gpu/drm/xlnx/zynqmp_disp.c:2767:20: error: no member named 'external_crtc_attached' in 'struct zynqmp_dpsub'
           if (!disp->dpsub->external_crtc_attached)
                ~~~~~~~~~~~  ^
   drivers/gpu/drm/xlnx/zynqmp_disp.c:2775:20: error: no member named 'external_crtc_attached' in 'struct zynqmp_dpsub'
           if (!disp->dpsub->external_crtc_attached)
                ~~~~~~~~~~~  ^
   drivers/gpu/drm/xlnx/zynqmp_disp.c:2818:19: error: no member named 'external_crtc_attached' in 'struct zynqmp_dpsub'
           if (disp->dpsub->external_crtc_attached)
               ~~~~~~~~~~~  ^
   drivers/gpu/drm/xlnx/zynqmp_disp.c:2828:19: error: no member named 'external_crtc_attached' in 'struct zynqmp_dpsub'
           if (disp->dpsub->external_crtc_attached && layer->id == ZYNQMP_DISP_LAYER_VID)
               ~~~~~~~~~~~  ^
   1 warning and 8 errors generated.


vim +/inline +97 drivers/gpu/drm/xlnx/xlnx_bridge.h

8942bb49a6afe88 Hyun Kwon 2018-01-23   96  
232986daee13b17 Hyun Kwon 2018-02-08  @97  static inline inline int xlnx_bridge_helper_init(void)
8942bb49a6afe88 Hyun Kwon 2018-01-23   98  {
8942bb49a6afe88 Hyun Kwon 2018-01-23   99  	return 0;
8942bb49a6afe88 Hyun Kwon 2018-01-23  100  }
8942bb49a6afe88 Hyun Kwon 2018-01-23  101  

:::::: The code at line 97 was first introduced by commit
:::::: 232986daee13b17e61a456fd3a0a6419fe05cc83 drm: xlnx: bridge: Fix the multiple definition error

:::::: TO: Hyun Kwon <hyun.kwon@xilinx.com>
:::::: CC: Michal Simek <michal.simek@xilinx.com>

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

[-- Attachment #3: Type: text/plain, Size: 176 bytes --]

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

                 reply	other threads:[~2021-05-10 20:29 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=202105110434.X0UU2r3F-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=clang-built-linux@googlegroups.com \
    --cc=jianqiang.chen@xilinx.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=monstr@monstr.eu \
    /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;
as well as URLs for NNTP newsgroup(s).