On 7/1/19 7:56 PM, no-re...@patchew.org wrote: > Patchew URL: > https://patchew.org/QEMU/20190701123108.12493-1-phi...@redhat.com/ > > Hi, > > This series failed build test on s390x host. Please find the details below. > > CC hw/dma/i8257.o > CC hw/dma/xilinx_axidma.o > /var/tmp/patchew-tester-tmp-6umc5eop/src/hw/dma/xilinx_axidma.c: In function > ‘xilinx_axidma_init’: > /var/tmp/patchew-tester-tmp-6umc5eop/src/hw/dma/xilinx_axidma.c:568:29: > error: ‘TYPE_XILINX_AXI_ENET_DATA_STREAM’ undeclared (first use in this > function); did you mean ‘TYPE_XILINX_AXI_DMA_DATA_STREAM’? > 568 | TYPE_XILINX_AXI_ENET_DATA_STREAM, > &error_abort, > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > | TYPE_XILINX_AXI_DMA_DATA_STREAM > /var/tmp/patchew-tester-tmp-6umc5eop/src/hw/dma/xilinx_axidma.c:568:29: note: > each undeclared identifier is reported only once for each function it appears > in > /var/tmp/patchew-tester-tmp-6umc5eop/src/hw/dma/xilinx_axidma.c:572:29: > error: ‘TYPE_XILINX_AXI_ENET_CONTROL_STREAM’ undeclared (first use in this > function); did you mean ‘TYPE_XILINX_AXI_DMA_CONTROL_STREAM’? > 572 | TYPE_XILINX_AXI_ENET_CONTROL_STREAM, > &error_abort, > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > | TYPE_XILINX_AXI_DMA_CONTROL_STREAM
It would be nice if GCC directly fix the patch instead of embarrassing the author for obvious copy/paste mistakes...