linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [xlnx:master 425/513] drivers/gpu/drm/xlnx/xlnx_bridge.h:97:15: warning: duplicate 'inline' declaration specifier
@ 2021-06-16 22:32 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-06-16 22:32 UTC (permalink / raw)
  To: Jianqiang Chen
  Cc: kbuild-all, clang-built-linux, linux-arm-kernel, Michal Simek

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

Hi Jianqiang,

FYI, the error/warning still remains.

tree:   https://github.com/Xilinx/linux-xlnx master
head:   256af411ba94859adc39c4319a269892ab28f4a5
commit: 9d18453b9ae7efad1ab60ce9330182737976af8a [425/513] drm: xlnx: zynqmp: Rebase downstream Display port crtc features
config: riscv-randconfig-r024-20210615 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 64720f57bea6a6bf033feef4a5751ab9c0c3b401)
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 riscv cross compiling tool for clang build
        # apt-get install binutils-riscv64-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 ARCH=riscv 

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

8942bb49a6afe8 Hyun Kwon 2018-01-23   96  
232986daee13b1 Hyun Kwon 2018-02-08  @97  static inline inline int xlnx_bridge_helper_init(void)
8942bb49a6afe8 Hyun Kwon 2018-01-23   98  {
8942bb49a6afe8 Hyun Kwon 2018-01-23   99  	return 0;
8942bb49a6afe8 Hyun Kwon 2018-01-23  100  }
8942bb49a6afe8 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: 42082 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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-06-16 22:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-16 22:32 [xlnx:master 425/513] drivers/gpu/drm/xlnx/xlnx_bridge.h:97:15: warning: duplicate 'inline' declaration specifier kernel test robot

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