== Series Details == Series: Makefile: globally enable VLA warning URL : https://patchwork.freedesktop.org/series/45421/ State : warning == Summary == $ dim sparse origin/drm-tip Commit: Makefile: globally enable VLA warning - +drivers/gpu/drm/ati_pcigart.c:184:52: expected unsigned int [unsigned] [usertype] <noident> +drivers/gpu/drm/ati_pcigart.c:184:52: got restricted __le32 [usertype] <noident> +drivers/gpu/drm/ati_pcigart.c:184:52: warning: incorrect type in assignment (different base types) +drivers/gpu/drm/drm_atomic.c:1282:29: warning: expression using sizeof(void) +drivers/gpu/drm/drm_atomic.c:1282:29: warning: expression using sizeof(void) +drivers/gpu/drm/drm_bufs.c:213:45: expected void *handle +drivers/gpu/drm/drm_bufs.c:213:45: got void [noderef] <asn:2>* +drivers/gpu/drm/drm_bufs.c:213:45: warning: incorrect type in assignment (different address spaces) +drivers/gpu/drm/drm_bufs.c:216:45: expected void *handle +drivers/gpu/drm/drm_bufs.c:216:45: got void [noderef] <asn:2>* +drivers/gpu/drm/drm_bufs.c:216:45: warning: incorrect type in assignment (different address spaces) +drivers/gpu/drm/drm_bufs.c:331:36: expected void volatile [noderef] <asn:2>*addr +drivers/gpu/drm/drm_bufs.c:331:36: got void *handle +drivers/gpu/drm/drm_bufs.c:331:36: warning: incorrect type in argument 1 (different address spaces) +drivers/gpu/drm/drm_bufs.c:348:36: expected void volatile [noderef] <asn:2>*addr +drivers/gpu/drm/drm_bufs.c:348:36: got void *handle +drivers/gpu/drm/drm_bufs.c:348:36: warning: incorrect type in argument 1 (different address spaces) +drivers/gpu/drm/drm_bufs.c:514:28: expected void volatile [noderef] <asn:2>*addr +drivers/gpu/drm/drm_bufs.c:514:28: got void *handle +drivers/gpu/drm/drm_bufs.c:514:28: warning: incorrect type in argument 1 (different address spaces) +drivers/gpu/drm/drm_color_mgmt.c:127:16: warning: expression using sizeof(void) +drivers/gpu/drm/drm_color_mgmt.c:127:16: warning: expression using sizeof(void) +drivers/gpu/drm/drm_color_mgmt.c:127:16: warning: expression using sizeof(void) +drivers/gpu/drm/drm_color_mgmt.c:127:16: warning: expression using sizeof(void) +drivers/gpu/drm/drm_color_mgmt.c:127:16: warning: expression using sizeof(void) +drivers/gpu/drm/drm_color_mgmt.c:127:16: warning: expression using sizeof(void) +drivers/gpu/drm/drm_color_mgmt.c:127:16: warning: expression using sizeof(void) +drivers/gpu/drm/drm_color_mgmt.c:127:16: warning: expression using sizeof(void) +drivers/gpu/drm/drm_debugfs_crc.c:332:17: expected restricted __poll_t ( *poll )( ... ) +drivers/gpu/drm/drm_debugfs_crc.c:332:17: got unsigned int ( *<noident> )( ... ) +drivers/gpu/drm/drm_debugfs_crc.c:332:17: warning: incorrect type in initializer (different base types) +drivers/gpu/drm/drm_dp_aux_dev.c:157:32: warning: expression using sizeof(void) +drivers/gpu/drm/drm_dp_aux_dev.c:199:32: warning: expression using sizeof(void) +drivers/gpu/drm/drm_dp_helper.c:766:27: warning: expression using sizeof(void) +drivers/gpu/drm/drm_dp_helper.c:914:36: warning: expression using sizeof(void) +drivers/gpu/drm/drm_dp_helper.c:914:36: warning: expression using sizeof(void) +drivers/gpu/drm/drm_dp_helper.c:914:36: warning: expression using sizeof(void) +drivers/gpu/drm/drm_dp_helper.c:914:36: warning: expression using sizeof(void) +drivers/gpu/drm/drm_dp_helper.c:914:36: warning: expression using sizeof(void) +drivers/gpu/drm/drm_dp_helper.c:914:36: warning: expression using sizeof(void) +drivers/gpu/drm/drm_dp_helper.c:914:36: warning: expression using sizeof(void) +drivers/gpu/drm/drm_dp_helper.c:944:36: warning: expression using sizeof(void) +drivers/gpu/drm/drm_dp_helper.c:944:36: warning: expression using sizeof(void) +drivers/gpu/drm/drm_dp_mst_topology.c:1429:26: warning: expression using sizeof(void) +drivers/gpu/drm/drm_dp_mst_topology.c:1429:26: warning: expression using sizeof(void) +drivers/gpu/drm/drm_dp_mst_topology.c:1429:26: warning: expression using sizeof(void) +drivers/gpu/drm/drm_dp_mst_topology.c:1429:26: warning: expression using sizeof(void) +drivers/gpu/drm/drm_dp_mst_topology.c:1429:26: warning: expression using sizeof(void) +drivers/gpu/drm/drm_dp_mst_topology.c:1429:26: warning: expression using sizeof(void) +drivers/gpu/drm/drm_dp_mst_topology.c:1429:26: warning: expression using sizeof(void) +drivers/gpu/drm/drm_dp_mst_topology.c:1429:26: warning: expression using sizeof(void) +drivers/gpu/drm/drm_dp_mst_topology.c:1516:18: warning: expression using sizeof(void) +drivers/gpu/drm/drm_dp_mst_topology.c:1516:18: warning: expression using sizeof(void) +drivers/gpu/drm/drm_dp_mst_topology.c:2267:15: warning: expression using sizeof(void) +drivers/gpu/drm/drm_dp_mst_topology.c:2285:23: warning: expression using sizeof(void) +drivers/gpu/drm/drm_dp_mst_topology.c:2285:23: warning: expression using sizeof(void) +drivers/gpu/drm/drm_dp_mst_topology.c:2285:23: warning: expression using sizeof(void) +drivers/gpu/drm/drm_dp_mst_topology.c:2285:23: warning: expression using sizeof(void) +drivers/gpu/drm/drm_dp_mst_topology.c:2285:23: warning: expression using sizeof(void) +drivers/gpu/drm/drm_dp_mst_topology.c:2285:23: warning: expression using sizeof(void) +drivers/gpu/drm/drm_dp_mst_topology.c:2285:23: warning: expression using sizeof(void) +drivers/gpu/drm/drm_dp_mst_topology.c:2285:23: warning: expression using sizeof(void) +drivers/gpu/drm/drm_dp_mst_topology.c:2285:23: warning: expression using sizeof(void) +drivers/gpu/drm/drm_dp_mst_topology.c:2285:23: warning: expression using sizeof(void) +drivers/gpu/drm/drm_dp_mst_topology.c:2285:23: warning: expression using sizeof(void) +drivers/gpu/drm/drm_dp_mst_topology.c:2285:23: warning: expression using sizeof(void) +drivers/gpu/drm/drm_dp_mst_topology.c:2285:23: warning: expression using sizeof(void) +drivers/gpu/drm/drm_dp_mst_topology.c:364:37: warning: expression using sizeof(void) +drivers/gpu/drm/drm_dp_mst_topology.c:364:37: warning: expression using sizeof(void) +drivers/gpu/drm/drm_drv.c:334:6: warning: context imbalance in 'drm_dev_enter' - different lock contexts for basic block +drivers/gpu/drm/drm_drv.c:354:6: warning: context imbalance in 'drm_dev_exit' - unexpected unlock +drivers/gpu/drm/drm_edid.c:1906:29: warning: expression using sizeof(void) +drivers/gpu/drm/drm_edid.c:3868:23: warning: expression using sizeof(void) +drivers/gpu/drm/drm_edid.c:3868:23: warning: expression using sizeof(void) +drivers/gpu/drm/drm_edid.c:3944:45: warning: expression using sizeof(void) +drivers/gpu/drm/drm_edid.c:3944:45: warning: expression using sizeof(void) +drivers/gpu/drm/drm_edid.c:4128:21: warning: expression using sizeof(void) +drivers/gpu/drm/drm_edid.c:4130:21: warning: expression using sizeof(void) +drivers/gpu/drm/drm_edid.c:4132:16: warning: expression using sizeof(void) +drivers/gpu/drm/drm_fb_helper.c:1012:23: warning: expression using sizeof(void) +drivers/gpu/drm/drm_fb_helper.c:1012:23: warning: expression using sizeof(void) +drivers/gpu/drm/drm_fb_helper.c:1013:23: warning: expression using sizeof(void) +drivers/gpu/drm/drm_fb_helper.c:1013:23: warning: expression using sizeof(void) +drivers/gpu/drm/drm_fb_helper.c:1018:22: warning: expression using sizeof(void) +drivers/gpu/drm/drm_fb_helper.c:1018:22: warning: expression using sizeof(void) +drivers/gpu/drm/drm_fb_helper.c:1854:40: warning: expression using sizeof(void) +drivers/gpu/drm/drm_fb_helper.c:1854:40: warning: expression using sizeof(void) +drivers/gpu/drm/drm_fb_helper.c:1855:40: warning: expression using sizeof(void) +drivers/gpu/drm/drm_fb_helper.c:1855:40: warning: expression using sizeof(void) +drivers/gpu/drm/drm_fb_helper.c:1869:43: warning: expression using sizeof(void) +drivers/gpu/drm/drm_fb_helper.c:1869:43: warning: expression using sizeof(void) +drivers/gpu/drm/drm_fb_helper.c:1871:43: warning: expression using sizeof(void) +drivers/gpu/drm/drm_fb_helper.c:1871:43: warning: expression using sizeof(void) +drivers/gpu/drm/drm_fb_helper.c:983:20: warning: expression using sizeof(void) +drivers/gpu/drm/drm_fb_helper.c:983:20: warning: expression using sizeof(void) +drivers/gpu/drm/drm_fb_helper.c:984:20: warning: expression using sizeof(void) +drivers/gpu/drm/drm_fb_helper.c:984:20: warning: expression using sizeof(void) +drivers/gpu/drm/drm_fb_helper.c:985:20: warning: expression using sizeof(void) +drivers/gpu/drm/drm_fb_helper.c:985:20: warning: expression using sizeof(void) +drivers/gpu/drm/drm_fb_helper.c:986:20: warning: expression using sizeof(void) +drivers/gpu/drm/drm_fb_helper.c:986:20: warning: expression using sizeof(void) +drivers/gpu/drm/drm_ioc32.c:188:39: expected void [noderef] <asn:1>*uptr +drivers/gpu/drm/drm_ioc32.c:188:39: got void *[addressable] [assigned] handle +drivers/gpu/drm/drm_ioc32.c:188:39: warning: incorrect type in argument 1 (different address spaces) +drivers/gpu/drm/drm_ioc32.c:219:39: expected void [noderef] <asn:1>*uptr +drivers/gpu/drm/drm_ioc32.c:219:39: got void *[addressable] [assigned] handle +drivers/gpu/drm/drm_ioc32.c:219:39: warning: incorrect type in argument 1 (different address spaces) +drivers/gpu/drm/drm_ioc32.c:220:24: error: incompatible types in comparison expression (different address spaces) +drivers/gpu/drm/drm_ioc32.c:239:20: expected void *handle +drivers/gpu/drm/drm_ioc32.c:239:20: got void [noderef] <asn:1>* +drivers/gpu/drm/drm_ioc32.c:239:20: warning: incorrect type in assignment (different address spaces) +drivers/gpu/drm/drm_ioc32.c:508:24: expected void *[assigned] handle +drivers/gpu/drm/drm_ioc32.c:508:24: got void [noderef] <asn:1>* +drivers/gpu/drm/drm_ioc32.c:508:24: warning: incorrect type in assignment (different address spaces) +drivers/gpu/drm/drm_ioc32.c:529:41: expected void [noderef] <asn:1>*uptr +drivers/gpu/drm/drm_ioc32.c:529:41: got void *[addressable] [assigned] handle +drivers/gpu/drm/drm_ioc32.c:529:41: warning: incorrect type in argument 1 (different address spaces) +drivers/gpu/drm/drm_ioctl.c:376:35: warning: expression using sizeof(void) +drivers/gpu/drm/drm_ioctl.c:376:35: warning: expression using sizeof(void) +drivers/gpu/drm/drm_ioctl.c:813:17: warning: expression using sizeof(void) +drivers/gpu/drm/drm_ioctl.c:813:17: warning: expression using sizeof(void) +drivers/gpu/drm/drm_ioctl.c:813:17: warning: expression using sizeof(void) +drivers/gpu/drm/drm_ioctl.c:813:17: warning: expression using sizeof(void) +drivers/gpu/drm/drm_ioctl.c:813:17: warning: expression using sizeof(void) +drivers/gpu/drm/drm_ioctl.c:813:17: warning: expression using sizeof(void) +drivers/gpu/drm/drm_ioctl.c:813:17: warning: expression using sizeof(void) +drivers/gpu/drm/drm_ioctl.c:813:17: warning: expression using sizeof(void) +drivers/gpu/drm/drm_ioctl.c:813:17: warning: expression using sizeof(void) +drivers/gpu/drm/drm_ioctl.c:813:17: warning: expression using sizeof(void) +drivers/gpu/drm/drm_ioctl.c:813:17: warning: expression using sizeof(void) +drivers/gpu/drm/drm_ioctl.c:813:17: warning: expression using sizeof(void) +drivers/gpu/drm/drm_ioctl.c:813:17: warning: expression using sizeof(void) +drivers/gpu/drm/drm_ioctl.c:813:17: warning: expression using sizeof(void) +drivers/gpu/drm/drm_memory.c:128:29: expected void *handle +drivers/gpu/drm/drm_memory.c:128:29: got void [noderef] <asn:2>* +drivers/gpu/drm/drm_memory.c:128:29: warning: incorrect type in assignment (different address spaces) +drivers/gpu/drm/drm_memory.c:137:29: expected void *handle +drivers/gpu/drm/drm_memory.c:137:29: got void [noderef] <asn:2>* +drivers/gpu/drm/drm_memory.c:137:29: warning: incorrect type in assignment (different address spaces) +drivers/gpu/drm/drm_memory.c:149:28: expected void volatile [noderef] <asn:2>*addr +drivers/gpu/drm/drm_memory.c:149:28: got void *handle +drivers/gpu/drm/drm_memory.c:149:28: warning: incorrect type in argument 1 (different address spaces) +drivers/gpu/drm/drm_memory.c:153:5: warning: symbol 'drm_get_max_iomem' was not declared. Should it be static? +drivers/gpu/drm/drm_memory.c:159:29: warning: expression using sizeof(void) +drivers/gpu/drm/drm_memory.c:159:29: warning: expression using sizeof(void) +drivers/gpu/drm/drm_mm.c:519:29: warning: expression using sizeof(void) +drivers/gpu/drm/drm_mm.c:519:29: warning: expression using sizeof(void) +drivers/gpu/drm/drm_mm.c:520:27: warning: expression using sizeof(void) +drivers/gpu/drm/drm_mm.c:520:27: warning: expression using sizeof(void) +drivers/gpu/drm/drm_mm.c:540:49: warning: expression using sizeof(void) +drivers/gpu/drm/drm_mm.c:540:49: warning: expression using sizeof(void) +drivers/gpu/drm/drm_mm.c:541:37: warning: expression using sizeof(void) +drivers/gpu/drm/drm_mm.c:541:37: warning: expression using sizeof(void) +drivers/gpu/drm/drm_mm.c:766:21: warning: expression using sizeof(void) +drivers/gpu/drm/drm_mm.c:766:21: warning: expression using sizeof(void) +drivers/gpu/drm/drm_mm.c:767:19: warning: expression using sizeof(void) +drivers/gpu/drm/drm_mm.c:767:19: warning: expression using sizeof(void) +drivers/gpu/drm/drm_mm.c:785:41: warning: expression using sizeof(void) +drivers/gpu/drm/drm_mm.c:785:41: warning: expression using sizeof(void) +drivers/gpu/drm/drm_mm.c:786:29: warning: expression using sizeof(void) +drivers/gpu/drm/drm_mm.c:786:29: warning: expression using sizeof(void) +drivers/gpu/drm/drm_modes.c:890:32: warning: expression using sizeof(void) +drivers/gpu/drm/drm_modes.c:890:32: warning: expression using sizeof(void) +drivers/gpu/drm/drm_modes.c:891:30: warning: expression using sizeof(void) +drivers/gpu/drm/drm_modes.c:891:30: warning: expression using sizeof(void) +drivers/gpu/drm/drm_modes.c:892:32: warning: expression using sizeof(void) +drivers/gpu/drm/drm_modes.c:892:32: warning: expression using sizeof(void) +drivers/gpu/drm/drm_modes.c:893:30: warning: expression using sizeof(void) +drivers/gpu/drm/drm_modes.c:893:30: warning: expression using sizeof(void) +drivers/gpu/drm/drm_rect.c:106:27: warning: expression using sizeof(void) +drivers/gpu/drm/drm_rect.c:106:27: warning: expression using sizeof(void) +drivers/gpu/drm/drm_rect.c:106:27: warning: expression using sizeof(void) +drivers/gpu/drm/drm_rect.c:106:27: warning: expression using sizeof(void) +drivers/gpu/drm/drm_rect.c:106:27: warning: expression using sizeof(void) +drivers/gpu/drm/drm_rect.c:106:27: warning: expression using sizeof(void) +drivers/gpu/drm/drm_rect.c:106:27: warning: expression using sizeof(void) +drivers/gpu/drm/drm_rect.c:114:27: warning: expression using sizeof(void) +drivers/gpu/drm/drm_rect.c:114:27: warning: expression using sizeof(void) +drivers/gpu/drm/drm_rect.c:114:27: warning: expression using sizeof(void) +drivers/gpu/drm/drm_rect.c:114:27: warning: expression using sizeof(void) +drivers/gpu/drm/drm_rect.c:114:27: warning: expression using sizeof(void) +drivers/gpu/drm/drm_rect.c:114:27: warning: expression using sizeof(void) +drivers/gpu/drm/drm_rect.c:114:27: warning: expression using sizeof(void) +drivers/gpu/drm/drm_rect.c:44:18: warning: expression using sizeof(void) +drivers/gpu/drm/drm_rect.c:44:18: warning: expression using sizeof(void) +drivers/gpu/drm/drm_rect.c:45:18: warning: expression using sizeof(void) +drivers/gpu/drm/drm_rect.c:45:18: warning: expression using sizeof(void) +drivers/gpu/drm/drm_rect.c:46:18: warning: expression using sizeof(void) +drivers/gpu/drm/drm_rect.c:46:18: warning: expression using sizeof(void) +drivers/gpu/drm/drm_rect.c:47:18: warning: expression using sizeof(void) +drivers/gpu/drm/drm_rect.c:47:18: warning: expression using sizeof(void) +drivers/gpu/drm/drm_rect.c:90:27: warning: expression using sizeof(void) +drivers/gpu/drm/drm_rect.c:90:27: warning: expression using sizeof(void) +drivers/gpu/drm/drm_rect.c:90:27: warning: expression using sizeof(void) +drivers/gpu/drm/drm_rect.c:90:27: warning: expression using sizeof(void) +drivers/gpu/drm/drm_rect.c:90:27: warning: expression using sizeof(void) +drivers/gpu/drm/drm_rect.c:90:27: warning: expression using sizeof(void) +drivers/gpu/drm/drm_rect.c:90:27: warning: expression using sizeof(void) +drivers/gpu/drm/drm_rect.c:98:27: warning: expression using sizeof(void) +drivers/gpu/drm/drm_rect.c:98:27: warning: expression using sizeof(void) +drivers/gpu/drm/drm_rect.c:98:27: warning: expression using sizeof(void) +drivers/gpu/drm/drm_rect.c:98:27: warning: expression using sizeof(void) +drivers/gpu/drm/drm_rect.c:98:27: warning: expression using sizeof(void) +drivers/gpu/drm/drm_rect.c:98:27: warning: expression using sizeof(void) +drivers/gpu/drm/drm_rect.c:98:27: warning: expression using sizeof(void) +drivers/gpu/drm/i915/gvt/gtt.c:671:9: expected void [noderef] <asn:4>**slot +drivers/gpu/drm/i915/gvt/gtt.c:671:9: expected void **slot +drivers/gpu/drm/i915/gvt/gtt.c:671:9: expected void **slot +drivers/gpu/drm/i915/gvt/gtt.c:671:9: expected void **slot +drivers/gpu/drm/i915/gvt/gtt.c:671:9: got void [noderef] <asn:4>** +drivers/gpu/drm/i915/gvt/gtt.c:671:9: got void [noderef] <asn:4>** +drivers/gpu/drm/i915/gvt/gtt.c:671:9: got void [noderef] <asn:4>** +drivers/gpu/drm/i915/gvt/gtt.c:671:9: got void **slot +drivers/gpu/drm/i915/gvt/gtt.c:671:9: warning: incorrect type in argument 1 (different address spaces) +drivers/gpu/drm/i915/gvt/gtt.c:671:9: warning: incorrect type in assignment (different address spaces) +drivers/gpu/drm/i915/gvt/gtt.c:671:9: warning: incorrect type in assignment (different address spaces) +drivers/gpu/drm/i915/gvt/gtt.c:671:9: warning: incorrect type in assignment (different address spaces) +drivers/gpu/drm/i915/gvt/gtt.c:672:45: expected void [noderef] <asn:4>**slot +drivers/gpu/drm/i915/gvt/gtt.c:672:45: got void **slot +drivers/gpu/drm/i915/gvt/gtt.c:672:45: warning: incorrect type in argument 1 (different address spaces) +drivers/gpu/drm/i915/gvt/mmio.c:253:23: warning: memcpy with byte count of 279040 +drivers/gpu/drm/i915/gvt/mmio.c:254:23: warning: memcpy with byte count of 279040 +drivers/gpu/drm/i915/gvt/vgpu.c:195:48: warning: expression using sizeof(void) +drivers/gpu/drm/i915/gvt/vgpu.c:195:48: warning: expression using sizeof(void) +drivers/gpu/drm/i915/gvt/vgpu.c:195:48: warning: expression using sizeof(void) +drivers/gpu/drm/i915/gvt/vgpu.c:195:48: warning: expression using sizeof(void) +drivers/gpu/drm/i915/gvt/vgpu.c:195:48: warning: expression using sizeof(void) +drivers/gpu/drm/i915/gvt/vgpu.c:195:48: warning: expression using sizeof(void) +drivers/gpu/drm/i915/gvt/vgpu.c:195:48: warning: expression using sizeof(void) +drivers/gpu/drm/i915/gvt/vgpu.c:195:48: warning: expression using sizeof(void) +drivers/gpu/drm/i915/gvt/vgpu.c:195:48: warning: expression using sizeof(void) +drivers/gpu/drm/i915/gvt/vgpu.c:195:48: warning: expression using sizeof(void) +drivers/gpu/drm/i915/gvt/vgpu.c:195:48: warning: expression using sizeof(void) +drivers/gpu/drm/i915/gvt/vgpu.c:195:48: warning: expression using sizeof(void) +drivers/gpu/drm/i915/gvt/vgpu.c:195:48: warning: expression using sizeof(void) +drivers/gpu/drm/i915/gvt/vgpu.c:195:48: warning: expression using sizeof(void) +drivers/gpu/drm/i915/i915_cmd_parser.c:1104:35: warning: expression using sizeof(void) +drivers/gpu/drm/i915/i915_cmd_parser.c:1104:35: warning: expression using sizeof(void) +drivers/gpu/drm/i915/i915_debugfs.c:4307:41: warning: expression using sizeof(void) +drivers/gpu/drm/i915/i915_debugfs.c:4307:41: warning: expression using sizeof(void) +drivers/gpu/drm/i915/i915_debugfs.c:4361:49: warning: expression using sizeof(void) +drivers/gpu/drm/i915/i915_debugfs.c:4361:49: warning: expression using sizeof(void) +drivers/gpu/drm/i915/i915_debugfs.c:4417:49: warning: expression using sizeof(void) +drivers/gpu/drm/i915/i915_debugfs.c:4417:49: warning: expression using sizeof(void) +drivers/gpu/drm/i915/i915_drv.h:171:19: warning: expression using sizeof(void) +drivers/gpu/drm/i915/i915_drv.h:171:19: warning: expression using sizeof(void) +drivers/gpu/drm/i915/i915_drv.h:171:19: warning: expression using sizeof(void) +drivers/gpu/drm/i915/i915_drv.h:171:19: warning: expression using sizeof(void) +drivers/gpu/drm/i915/i915_d _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx