linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Christoph Hellwig <hch@lst.de>
Cc: kbuild-all@lists.01.org,
	Linux Memory Management List <linux-mm@kvack.org>,
	Jens Axboe <axboe@kernel.dk>, Hannes Reinecke <hare@suse.de>
Subject: [linux-next:master 9839/11648] arch/ia64/include/uapi/asm/siginfo.h:15:27: error: expected ':', ',', ';', '}' or '__attribute__' before '.' token
Date: Sun, 11 Apr 2021 14:57:52 +0800	[thread overview]
Message-ID: <202104111448.wQHo5tos-lkp@intel.com> (raw)

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   e99d8a8495175df8cb8b739f8cf9b0fc9d0cd3b5
commit: 8cad3b66bff4ee7c7d52b9a663cb6a2c5f66a7f7 [9839/11648] Buslogic: remove ISA support
config: ia64-allmodconfig (attached as .config)
compiler: ia64-linux-gcc (GCC) 9.3.0
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
        # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=8cad3b66bff4ee7c7d52b9a663cb6a2c5f66a7f7
        git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
        git fetch --no-tags linux-next master
        git checkout 8cad3b66bff4ee7c7d52b9a663cb6a2c5f66a7f7
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=ia64 

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

All errors (new ones prefixed by >>):

   In file included from include/uapi/linux/signal.h:6,
                    from include/linux/signal_types.h:10,
                    from include/linux/sched.h:30,
                    from arch/ia64/include/asm/hw_irq.h:11,
                    from include/linux/irq.h:589,
                    from arch/ia64/include/asm/hardirq.h:19,
                    from include/linux/hardirq.h:10,
                    from include/linux/interrupt.h:11,
                    from drivers/scsi/BusLogic.c:27:
>> arch/ia64/include/uapi/asm/siginfo.h:15:27: error: expected ':', ',', ';', '}' or '__attribute__' before '.' token
      15 | #define si_flags _sifields._sigfault._flags
         |                           ^
   drivers/scsi/FlashPoint.c:43:6: note: in expansion of macro 'si_flags'
      43 |  u16 si_flags;
         |      ^~~~~~~~
   In file included from drivers/scsi/BusLogic.c:51:
   drivers/scsi/FlashPoint.c: In function 'FlashPoint_ProbeHostAdapter':
>> drivers/scsi/FlashPoint.c:1076:11: error: 'struct sccb_mgr_info' has no member named '_sifields'
    1076 |  pCardInfo->si_flags = 0x0000;
         |           ^~
   drivers/scsi/FlashPoint.c:1079:12: error: 'struct sccb_mgr_info' has no member named '_sifields'
    1079 |   pCardInfo->si_flags |= SCSI_PARITY_ENA;
         |            ^~
   drivers/scsi/FlashPoint.c:1082:12: error: 'struct sccb_mgr_info' has no member named '_sifields'
    1082 |   pCardInfo->si_flags |= SOFT_RESET;
         |            ^~
   drivers/scsi/FlashPoint.c:1085:12: error: 'struct sccb_mgr_info' has no member named '_sifields'
    1085 |   pCardInfo->si_flags |= EXTENDED_TRANSLATION;
         |            ^~
   drivers/scsi/FlashPoint.c:1088:12: error: 'struct sccb_mgr_info' has no member named '_sifields'
    1088 |   pCardInfo->si_flags |= FLAG_SCAM_ENABLED;
         |            ^~
   drivers/scsi/FlashPoint.c:1091:12: error: 'struct sccb_mgr_info' has no member named '_sifields'
    1091 |   pCardInfo->si_flags |= FLAG_SCAM_LEVEL2;
         |            ^~
   drivers/scsi/FlashPoint.c:1107:12: error: 'struct sccb_mgr_info' has no member named '_sifields'
    1107 |   pCardInfo->si_flags |= SUPPORT_16TAR_32LUN;
         |            ^~
>> drivers/scsi/FlashPoint.c:1109:11: error: 'struct sccb_mgr_info' has no member named 'si_card_family'
    1109 |  pCardInfo->si_card_family = HARPOON_FAMILY;
         |           ^~
>> drivers/scsi/FlashPoint.c:1110:11: error: 'struct sccb_mgr_info' has no member named 'si_bustype'
    1110 |  pCardInfo->si_bustype = BUSTYPE_PCI;
         |           ^~
>> drivers/scsi/FlashPoint.c:1113:12: error: 'struct sccb_mgr_info' has no member named 'si_card_model'
    1113 |   pCardInfo->si_card_model[0] = '9';
         |            ^~
   drivers/scsi/FlashPoint.c:1116:13: error: 'struct sccb_mgr_info' has no member named 'si_card_model'
    1116 |    pCardInfo->si_card_model[1] = '3';
         |             ^~
   drivers/scsi/FlashPoint.c:1117:13: error: 'struct sccb_mgr_info' has no member named 'si_card_model'
    1117 |    pCardInfo->si_card_model[2] = '0';
         |             ^~
   drivers/scsi/FlashPoint.c:1120:13: error: 'struct sccb_mgr_info' has no member named 'si_card_model'
    1120 |    pCardInfo->si_card_model[1] = '5';
         |             ^~
   drivers/scsi/FlashPoint.c:1121:13: error: 'struct sccb_mgr_info' has no member named 'si_card_model'
    1121 |    pCardInfo->si_card_model[2] = '0';
         |             ^~
   drivers/scsi/FlashPoint.c:1124:13: error: 'struct sccb_mgr_info' has no member named 'si_card_model'
    1124 |    pCardInfo->si_card_model[1] = '3';
         |             ^~
   drivers/scsi/FlashPoint.c:1125:13: error: 'struct sccb_mgr_info' has no member named 'si_card_model'
    1125 |    pCardInfo->si_card_model[2] = '2';
         |             ^~
   drivers/scsi/FlashPoint.c:1128:13: error: 'struct sccb_mgr_info' has no member named 'si_card_model'
    1128 |    pCardInfo->si_card_model[1] = '5';
         |             ^~
   drivers/scsi/FlashPoint.c:1129:13: error: 'struct sccb_mgr_info' has no member named 'si_card_model'
    1129 |    pCardInfo->si_card_model[2] = '2';
         |             ^~
   drivers/scsi/FlashPoint.c:1134:12: error: 'struct sccb_mgr_info' has no member named 'si_card_model'
    1134 |   pCardInfo->si_card_model[0] = (unsigned char)(temp >> 8);
         |            ^~
   drivers/scsi/FlashPoint.c:1137:12: error: 'struct sccb_mgr_info' has no member named 'si_card_model'
    1137 |   pCardInfo->si_card_model[1] = (unsigned char)(temp & 0x00FF);
         |            ^~
   drivers/scsi/FlashPoint.c:1138:12: error: 'struct sccb_mgr_info' has no member named 'si_card_model'
    1138 |   pCardInfo->si_card_model[2] = (unsigned char)(temp >> 8);
         |            ^~
   drivers/scsi/FlashPoint.c:1141:15: error: 'struct sccb_mgr_info' has no member named 'si_card_model'
    1141 |  if (pCardInfo->si_card_model[1] == '3') {
         |               ^~
   drivers/scsi/FlashPoint.c:1143:13: error: 'struct sccb_mgr_info' has no member named '_sifields'
    1143 |    pCardInfo->si_flags |= LOW_BYTE_TERM;
         |             ^~
   drivers/scsi/FlashPoint.c:1144:22: error: 'struct sccb_mgr_info' has no member named 'si_card_model'
    1144 |  } else if (pCardInfo->si_card_model[2] == '0') {
         |                      ^~
   drivers/scsi/FlashPoint.c:1148:13: error: 'struct sccb_mgr_info' has no member named '_sifields'
    1148 |    pCardInfo->si_flags |= LOW_BYTE_TERM;
         |             ^~
   drivers/scsi/FlashPoint.c:1151:13: error: 'struct sccb_mgr_info' has no member named '_sifields'
    1151 |    pCardInfo->si_flags |= HIGH_BYTE_TERM;
         |             ^~
   drivers/scsi/FlashPoint.c:1169:13: error: 'struct sccb_mgr_info' has no member named '_sifields'
    1169 |    pCardInfo->si_flags |= LOW_BYTE_TERM;
         |             ^~
   drivers/scsi/FlashPoint.c:1171:13: error: 'struct sccb_mgr_info' has no member named '_sifields'
    1171 |    pCardInfo->si_flags |= HIGH_BYTE_TERM;
         |             ^~
>> drivers/scsi/FlashPoint.c:1178:12: error: 'struct sccb_mgr_info' has no member named 'si_XlatInfo'
    1178 |   pCardInfo->si_XlatInfo[i] =
         |            ^~
>> drivers/scsi/FlashPoint.c:1185:11: error: 'struct sccb_mgr_info' has no member named 'si_relative_cardnum'
    1185 |  pCardInfo->si_relative_cardnum =
         |           ^~
   drivers/scsi/FlashPoint.c: In function 'FlashPoint_HardwareResetHostAdapter':
   drivers/scsi/FlashPoint.c:1278:30: error: 'struct sccb_mgr_info' has no member named '_sifields'
    1278 |  i = (unsigned char)pCardInfo->si_flags;
         |                              ^~
   drivers/scsi/FlashPoint.c:1292:17: error: 'struct sccb_mgr_info' has no member named '_sifields'
    1292 |  if (!(pCardInfo->si_flags & SOFT_RESET)) {
         |                 ^~
   drivers/scsi/FlashPoint.c:1299:15: error: 'struct sccb_mgr_info' has no member named '_sifields'
    1299 |  if (pCardInfo->si_flags & POST_ALL_UNDERRRUNS)
         |               ^~
   drivers/scsi/FlashPoint.c: In function 'FlashPoint_AbortCCB':
   drivers/scsi/FlashPoint.c:1618:16: warning: variable 'TID' set but not used [-Wunused-but-set-variable]
    1618 |  unsigned char TID;
         |                ^~~
   drivers/scsi/BusLogic.c: In function 'blogic_msg':
   drivers/scsi/BusLogic.c:3447:2: warning: function 'blogic_msg' might be a candidate for 'gnu_printf' format attribute [-Wsuggest-attribute=format]
    3447 |  len = vsprintf(buf, fmt, args);
         |  ^~~


vim +15 arch/ia64/include/uapi/asm/siginfo.h

43e40f25d2c090 David Howells 2012-10-09  13  
43e40f25d2c090 David Howells 2012-10-09  14  #define si_imm		_sifields._sigfault._imm	/* as per UNIX SysV ABI spec */
43e40f25d2c090 David Howells 2012-10-09 @15  #define si_flags	_sifields._sigfault._flags
43e40f25d2c090 David Howells 2012-10-09  16  /*
43e40f25d2c090 David Howells 2012-10-09  17   * si_isr is valid for SIGILL, SIGFPE, SIGSEGV, SIGBUS, and SIGTRAP provided that
43e40f25d2c090 David Howells 2012-10-09  18   * si_code is non-zero and __ISR_VALID is set in si_flags.
43e40f25d2c090 David Howells 2012-10-09  19   */
43e40f25d2c090 David Howells 2012-10-09  20  #define si_isr		_sifields._sigfault._isr
43e40f25d2c090 David Howells 2012-10-09  21  

:::::: The code at line 15 was first introduced by commit
:::::: 43e40f25d2c090392fc36cb900b42972e88cc2e2 UAPI: (Scripted) Disintegrate arch/ia64/include/asm

:::::: TO: David Howells <dhowells@redhat.com>
:::::: CC: David Howells <dhowells@redhat.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: 63805 bytes --]

                 reply	other threads:[~2021-04-11  6:58 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=202104111448.wQHo5tos-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=axboe@kernel.dk \
    --cc=hare@suse.de \
    --cc=hch@lst.de \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-mm@kvack.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 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).