tree:
https://github.com/bvanassche/linux scsi-for-next
head: 82fed99944bad457ee009b37605e043e617280fd
commit: ead328d8360e918f3c8b83454fb19fec6f2f122b [31/36] Use struct scsi_status more
widely
config: parisc-randconfig-r035-20210412 (attached as .config)
compiler: hppa-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://github.com/bvanassche/linux/commit/ead328d8360e918f3c8b83454fb19f...
git remote add bvanassche
https://github.com/bvanassche/linux
git fetch --no-tags bvanassche scsi-for-next
git checkout ead328d8360e918f3c8b83454fb19fec6f2f122b
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=parisc
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
In file included from drivers/scsi/53c700.c:124:
drivers/scsi/53c700.c: In function 'process_script_interrupt':
> include/scsi/scsi.h:136:38: error: request for member 'b'
in something not a structure or union
136 | #define status_byte(result)
((result).b.status >> 1)
| ^
drivers/scsi/53c700.c:984:6: note: in expansion of macro 'status_byte'
984 | if(status_byte(hostdata->status[0]) == CHECK_CONDITION ||
| ^~~~~~~~~~~
> include/scsi/scsi.h:136:38: error: request for member 'b'
in something not a structure or union
136 | #define status_byte(result)
((result).b.status >> 1)
| ^
drivers/scsi/53c700.c:985:6: note: in expansion of macro 'status_byte'
985 | status_byte(hostdata->status[0]) == COMMAND_TERMINATED) {
| ^~~~~~~~~~~
vim +/b +136 include/scsi/scsi.h
125
126 /*
127 * Use these to separate status msg and our bytes
128 *
129 * These are set by:
130 *
131 * status byte = set from target device
132 * msg_byte = return status from host adapter itself.
133 * host_byte = set by low-level driver to indicate status.
134 * driver_byte = set by mid-level.
135 */
136 #define status_byte(result) ((result).b.status >> 1)
137 #define msg_byte(result) ((result).b.msg)
138 #define host_byte(result) ((result).b.host)
139 #define driver_byte(result) ((result).b.driver)
140
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org