Hi Ville, First bad commit (maybe != root cause): tree: git://anongit.freedesktop.org/drm/drm-tip drm-tip head: 06ddf8dd059d59bc27c24b09a6e500809e619982 commit: 02f01c7089f8aadbf676f8d8aad6e0bccac8c46a [9/10] Merge remote-tracking branch 'drm_intel_push/topic/core-for-CI' into drm-tip config: x86_64-allyesconfig (attached as .config) compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project b7397e81fe4dee8ffd4a1353bf0cf3a7d2ed267b) reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross git checkout 02f01c7089f8aadbf676f8d8aad6e0bccac8c46a # save the attached .config to linux build tree COMPILER=clang make.cross ARCH=x86_64 If you fix the issue, kindly add following tag as appropriate Reported-by: kbuild test robot <lkp@xxxxxxxxx> All errors (new ones prefixed by >>): >> drivers/staging/rtl8712/rtl8712_xmit.c:360:18: error: incompatible pointer types initializing 'struct tx_desc *' with an expression of type 'u8 *' (aka 'unsigned char *') [-Werror,-Wincompatible-pointer-types] struct tx_desc *ptxdesc = pxmitbuf->pbuf; ^ ~~~~~~~~~~~~~~ 1 error generated. -- In file included from drivers/staging/greybus/camera.c:19: >> drivers/staging/greybus/gb-camera.h:33:27: error: field has incomplete type 'enum v4l2_mbus_pixelcode' enum v4l2_mbus_pixelcode pixel_code; ^ drivers/staging/greybus/gb-camera.h:33:7: note: forward declaration of 'enum v4l2_mbus_pixelcode' enum v4l2_mbus_pixelcode pixel_code; ^ >> drivers/staging/greybus/camera.c:20:10: fatal error: 'greybus_protocols.h' file not found #include "greybus_protocols.h" ^~~~~~~~~~~~~~~~~~~~~ 2 errors generated. -- >> drivers/staging/media/soc_camera/soc_mediabus.c:19:4: error: field designator 'name' does not refer to any field in type 'struct soc_mbus_pixelfmt' .name = "YUYV", ^ drivers/staging/media/soc_camera/soc_mediabus.c:29:4: error: field designator 'name' does not refer to any field in type 'struct soc_mbus_pixelfmt' .name = "YVYU", ^ drivers/staging/media/soc_camera/soc_mediabus.c:39:4: error: field designator 'name' does not refer to any field in type 'struct soc_mbus_pixelfmt' .name = "UYVY", ^ drivers/staging/media/soc_camera/soc_mediabus.c:49:4: error: field designator 'name' does not refer to any field in type 'struct soc_mbus_pixelfmt' .name = "VYUY", ^ drivers/staging/media/soc_camera/soc_mediabus.c:59:4: error: field designator 'name' does not refer to any field in type 'struct soc_mbus_pixelfmt' .name = "RGB555", ^ drivers/staging/media/soc_camera/soc_mediabus.c:69:4: error: field designator 'name' does not refer to any field in type 'struct soc_mbus_pixelfmt' .name = "RGB555X", ^ drivers/staging/media/soc_camera/soc_mediabus.c:79:4: error: field designator 'name' does not refer to any field in type 'struct soc_mbus_pixelfmt' .name = "RGB565", ^ drivers/staging/media/soc_camera/soc_mediabus.c:89:4: error: field designator 'name' does not refer to any field in type 'struct soc_mbus_pixelfmt' .name = "RGB565X", ^ drivers/staging/media/soc_camera/soc_mediabus.c:99:4: error: field designator 'name' does not refer to any field in type 'struct soc_mbus_pixelfmt' .name = "RGB666/32bpp", ^ drivers/staging/media/soc_camera/soc_mediabus.c:108:4: error: field designator 'name' does not refer to any field in type 'struct soc_mbus_pixelfmt' .name = "RGB888/32bpp", ^ drivers/staging/media/soc_camera/soc_mediabus.c:117:4: error: field designator 'name' does not refer to any field in type 'struct soc_mbus_pixelfmt' .name = "RGB888/32bpp", ^ drivers/staging/media/soc_camera/soc_mediabus.c:126:4: error: field designator 'name' does not refer to any field in type 'struct soc_mbus_pixelfmt' .name = "RGB888/32bpp", ^ drivers/staging/media/soc_camera/soc_mediabus.c:135:4: error: field designator 'name' does not refer to any field in type 'struct soc_mbus_pixelfmt' .name = "Bayer 8 BGGR", ^ drivers/staging/media/soc_camera/soc_mediabus.c:145:4: error: field designator 'name' does not refer to any field in type 'struct soc_mbus_pixelfmt' .name = "Bayer 10 BGGR", ^ drivers/staging/media/soc_camera/soc_mediabus.c:155:4: error: field designator 'name' does not refer to any field in type 'struct soc_mbus_pixelfmt' .name = "Grey", ^ drivers/staging/media/soc_camera/soc_mediabus.c:165:4: error: field designator 'name' does not refer to any field in type 'struct soc_mbus_pixelfmt' .name = "Grey 10bit", ^ drivers/staging/media/soc_camera/soc_mediabus.c:175:4: error: field designator 'name' does not refer to any field in type 'struct soc_mbus_pixelfmt' .name = "Bayer 10 BGGR", ^ drivers/staging/media/soc_camera/soc_mediabus.c:185:4: error: field designator 'name' does not refer to any field in type 'struct soc_mbus_pixelfmt' .name = "Bayer 10 BGGR", ^ drivers/staging/media/soc_camera/soc_mediabus.c:195:4: error: field designator 'name' does not refer to any field in type 'struct soc_mbus_pixelfmt' .name = "Bayer 10 BGGR", ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. vim +360 drivers/staging/rtl8712/rtl8712_xmit.c 93c55dda092c7e Ali Bahar 2011-09-04 354 ca8a0a4934e0d8 Nishka Dasgupta 2019-08-13 355 void r8712_dump_aggr_xframe(struct xmit_buf *pxmitbuf, 93c55dda092c7e Ali Bahar 2011-09-04 356 struct xmit_frame *pxmitframe) 93c55dda092c7e Ali Bahar 2011-09-04 357 { 93c55dda092c7e Ali Bahar 2011-09-04 358 struct _adapter *padapter = pxmitframe->padapter; 993c307eb48acc Shivani Bhardwaj 2015-10-14 359 struct dvobj_priv *pdvobj = &padapter->dvobjpriv; 993c307eb48acc Shivani Bhardwaj 2015-10-14 @360 struct tx_desc *ptxdesc = pxmitbuf->pbuf; 93c55dda092c7e Ali Bahar 2011-09-04 361 struct cmd_hdr *pcmd_hdr = (struct cmd_hdr *) 93c55dda092c7e Ali Bahar 2011-09-04 362 (pxmitbuf->pbuf + TXDESC_SIZE); 93c55dda092c7e Ali Bahar 2011-09-04 363 u16 total_length = (u16) (ptxdesc->txdw0 & 0xffff); 93c55dda092c7e Ali Bahar 2011-09-04 364 93c55dda092c7e Ali Bahar 2011-09-04 365 /* use 1st xmitframe as media */ 93c55dda092c7e Ali Bahar 2011-09-04 366 xmitframe_xmitbuf_attach(pxmitframe, pxmitbuf); 4ef2de5ae0377b Luis de Bethencourt 2015-10-19 367 pcmd_hdr->cmd_dw0 = cpu_to_le32(((total_length - CMD_HDR_SZ) & 4ef2de5ae0377b Luis de Bethencourt 2015-10-19 368 0x0000ffff) | (pcmd_hdr->cmd_dw0 & 4ef2de5ae0377b Luis de Bethencourt 2015-10-19 369 0xffff0000)); 93c55dda092c7e Ali Bahar 2011-09-04 370 93c55dda092c7e Ali Bahar 2011-09-04 371 /* urb length in cmd_dw1 */ 93c55dda092c7e Ali Bahar 2011-09-04 372 pcmd_hdr->cmd_dw1 = cpu_to_le32((pxmitbuf->aggr_nr & 0xff)| 93c55dda092c7e Ali Bahar 2011-09-04 373 ((total_length + TXDESC_SIZE) << 16)); 93c55dda092c7e Ali Bahar 2011-09-04 374 pxmitframe->last[0] = 1; 93c55dda092c7e Ali Bahar 2011-09-04 375 pxmitframe->bpending[0] = false; 93c55dda092c7e Ali Bahar 2011-09-04 376 pxmitframe->mem_addr = pxmitbuf->pbuf; 93c55dda092c7e Ali Bahar 2011-09-04 377 4ef2de5ae0377b Luis de Bethencourt 2015-10-19 378 if ((pdvobj->ishighspeed && ((total_length + TXDESC_SIZE) % 0x200) == 4ef2de5ae0377b Luis de Bethencourt 2015-10-19 379 0) || ((!pdvobj->ishighspeed && ((total_length + TXDESC_SIZE) % 4ef2de5ae0377b Luis de Bethencourt 2015-10-19 380 0x40) == 0))) { 93c55dda092c7e Ali Bahar 2011-09-04 381 ptxdesc->txdw0 |= cpu_to_le32 4ef2de5ae0377b Luis de Bethencourt 2015-10-19 382 (((TXDESC_SIZE + OFFSET_SZ + 8) << OFFSET_SHT) & 4ef2de5ae0377b Luis de Bethencourt 2015-10-19 383 0x00ff0000); 93c55dda092c7e Ali Bahar 2011-09-04 384 /*32 bytes for TX Desc + 8 bytes pending*/ 93c55dda092c7e Ali Bahar 2011-09-04 385 } else { 93c55dda092c7e Ali Bahar 2011-09-04 386 ptxdesc->txdw0 |= cpu_to_le32 4ef2de5ae0377b Luis de Bethencourt 2015-10-19 387 (((TXDESC_SIZE + OFFSET_SZ) << OFFSET_SHT) & 4ef2de5ae0377b Luis de Bethencourt 2015-10-19 388 0x00ff0000); 93c55dda092c7e Ali Bahar 2011-09-04 389 /*default = 32 bytes for TX Desc*/ 93c55dda092c7e Ali Bahar 2011-09-04 390 } 93c55dda092c7e Ali Bahar 2011-09-04 391 r8712_write_port(pxmitframe->padapter, RTL8712_DMA_H2CCMD, 93c55dda092c7e Ali Bahar 2011-09-04 392 total_length + TXDESC_SIZE, (u8 *)pxmitframe); 93c55dda092c7e Ali Bahar 2011-09-04 393 } 93c55dda092c7e Ali Bahar 2011-09-04 394 :::::: The code at line 360 was first introduced by commit :::::: 993c307eb48accf5fc34f703e6c290ddfc251b6e Staging: rtl8712: rtl8712_xmit: Remove useless cast :::::: TO: Shivani Bhardwaj <shivanib134@xxxxxxxxx> :::::: CC: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx
Attachment:
.config.gz
Description: application/gzip
_______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/dri-devel