From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============2201353159793256737==" MIME-Version: 1.0 From: kernel test robot To: kbuild-all@lists.01.org Subject: [intel-lts:5.10/yocto 12185/20393] drivers/video/fbdev/core/fbmem.c:736:21: warning: attribute declaration must precede definition Date: Thu, 10 Feb 2022 22:07:22 +0800 Message-ID: <202202102235.1jMCsDQH-lkp@intel.com> List-Id: --===============2201353159793256737== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Hi Guenter, FYI, the error/warning still remains. tree: https://github.com/intel/linux-intel-lts.git 5.10/yocto head: 2dafc777a64181d42982628c7f5907a03da5f070 commit: 3aeb5198342e78c3f2ed6bc9431e492a4550cd2a [12185/20393] fbmem: Mark = proc_fb_seq_ops as __maybe_unused config: i386-randconfig-a002 (https://download.01.org/0day-ci/archive/20220= 210/202202102235.1jMCsDQH-lkp(a)intel.com/config) compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project aa845d= 7a245d85c441d0bd44fc7b6c3be8f3de8d) reproduce (this is a W=3D1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/= make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://github.com/intel/linux-intel-lts/commit/3aeb5198342e78c3f= 2ed6bc9431e492a4550cd2a git remote add intel-lts https://github.com/intel/linux-intel-lts.g= it git fetch --no-tags intel-lts 5.10/yocto git checkout 3aeb5198342e78c3f2ed6bc9431e492a4550cd2a # save the config file to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=3D$HOME/0day COMPILER=3Dclang make.cross W=3D= 1 O=3Dbuild_dir ARCH=3Di386 SHELL=3D/bin/bash arch/x86/crypto/ drivers/vide= o/fbdev/core/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> drivers/video/fbdev/core/fbmem.c:736:21: warning: attribute declaration = must precede definition [-Wignored-attributes] static const struct __maybe_unused seq_operations proc_fb_seq_ops =3D { ^ include/linux/compiler_attributes.h:267:56: note: expanded from macro '_= _maybe_unused' #define __maybe_unused __attribute__((__unused__)) ^ include/linux/seq_file.h:31:8: note: previous definition is here struct seq_operations { ^ 1 warning generated. vim +736 drivers/video/fbdev/core/fbmem.c 735 = > 736 static const struct __maybe_unused seq_operations proc_fb_seq_ops = =3D { 737 .start =3D fb_seq_start, 738 .next =3D fb_seq_next, 739 .stop =3D fb_seq_stop, 740 .show =3D fb_seq_show, 741 }; 742 = --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org --===============2201353159793256737==--