From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=198.175.65.13 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796013288; b=3JpKYoSj6fSRfBP+obU/wHDfNKFN7jx3n6I877KbejV0BVqsGYO/+vnNS6ulHTF70p7k TcAaTHtuPT495szX7DSrTSboc30E5eKgdD/W8p8m2pKp08OLuZ+VZ7G4CmN1VE9/8ov5Z LuC1eom5gAZIwRsJZRw7ohq5ByUxOzVDMQHUnYagx7qJ6XYg0wW76WDZW8AL0JI2/2KD1 YDl/NOGA3h/JIvr6O5Neltm378KKtuAohRa/E2blC1cRAt8LONiV1jT5d3nUj8cDn4TtB +l46RZEPLioOBfN0hNbDg07xKJ0Jl+NWwQuFJHAjmF8RWCY5ajM+sayJm+QdFXEKvog== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796013288; h=DMARC-Filter:DKIM-Signature:X-CSE-ConnectionGUID:X-CSE-MsgGUID: X-IronPort-AV:X-IronPort-AV:Received:X-CSE-ConnectionGUID: X-CSE-MsgGUID:X-ExtLoop1:X-IronPort-AV:Received:Received:Date:From:To: Cc:Subject:Message-ID:User-Agent; bh=oShdA9YXaEKSwHEToT0PHJpIAI3fTHk8K0IUKFqh26Y=; b=nK9hAqZi/Vxs6S5ow+J7nM3JKBsOZC2WmEKIA51yWePgxH6YFfxQ11dfLvuW1oPEubhR AqdRjOpawiuegoheoPPWu+b6voCyB4ntvZaePBnj5NFMDhcgW6I/6rj2EKDPLfQ/k+e7M E+1Yv2Xgj9DqmP2DS8eZUJLH1yW+NmDBNTQ5Jhx6zOgXyexiBRRGw35hGeOFHe0cLEih/ IFF5WCnLU+MSSP5GQswv/qBGEKRLEDdJGfMXsfB7RBWAJLGHDnDCPONeuAhb07cxyFEay YyFF5FSxX+LS0zzj1oQ0mnQYYMIuOijPgS4/7Wcny9SoVEmOV4jmw8w5Zj/jHlKDZ8Q== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=TX2jiFNZ; arc=none smtp.remote-ip=198.175.65.13 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.13]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4C4EC606A33B for ; Mon, 30 Nov 2026 04:34:47 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 4C4EC606A33B Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=TX2jiFNZ DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1796013287; x=1827549287; h=date:from:to:cc:subject:message-id; bh=lxvq67vDIm8aJHGoWRvdP6U1QATZcmEczGcoOrP+WM8=; b=TX2jiFNZhpTdzIAD9YdT6AaOGoabyLqG4R8ggCTClIOVigDZWeqdFiFJ dwMcC64RSpMjgaZzB7k2b9guSvsuvvZ6VWi4puyXWcbXvQwlCmv4Oi7GJ 5gqvjIeCWyDyQHnOQxIk//AkGN8jXC+E79oYKRpKhA2i4HplLbTLIp9LY ldvIvcg7OAIBBOH78OCpzsJMD+tTvUfsCH+NiQqz2L3QyYPFuX3R/bwP1 sj37+ppHeGMrXrkFHR3nzJtNJKUYs7Nirpi7D1q90Pwc4scMubtyuU9H7 5eKMk0rdXDg4lRYUtypLjFdGM31KQxFef3qGoH5l6qt62dbQTaNs+m9nV A==; X-CSE-ConnectionGUID: yKSYgB5FRT2FsZcpApxliA== X-CSE-MsgGUID: fvq/iQVAT0u/6cfe7ilZ5Q== X-IronPort-AV: E=McAfee;i="6800,10657,11981"; a="4734694" X-IronPort-AV: E=Sophos;i="6.27,242,1787036400"; d="scan'208";a="4734694" Received: from fmviesa008.fm.intel.com ([10.60.135.148]) by orvoesa105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Nov 2026 20:34:47 -0800 X-CSE-ConnectionGUID: bYTxGfHyT6qqsd/m8yyanw== X-CSE-MsgGUID: MAdNLbg6SDuH3e6xMoqiPw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.27,242,1787036400"; d="scan'208";a="13147044" Received: from igk-lkp-server01.igk.intel.com (HELO 146cf1e082f1) ([10.211.93.152]) by fmviesa008.fm.intel.com with ESMTP; 29 Nov 2026 20:34:45 -0800 Received: from kbuild by 146cf1e082f1 with local (Exim 4.98.2) (envelope-from ) id 1xXt6B-000000001Gy-1GMl; Mon, 30 Nov 2026 04:34:43 +0000 Date: Mon, 30 Nov 2026 05:34:26 +0100 From: kernel test robot To: Sasha Levin Cc: oe-kbuild-all@lists.linux.dev Subject: [sashal-linus-next:linus-next 26/46] drivers/gpu/drm/msm/msm_iommu.c:228:19: error: initialization of 'void (*)(void *)' from incompatible pointer type 'int (*)(void *, phys_addr_t, u64, size_t, size_t, int, size_t *)' {aka 'int (*)(void *, unsigned int, long long unsigned int, unsign... Message-ID: <20261130053306.FsqVyCVa-lkp@intel.com> User-Agent: s-nail v14.9.25 X-Mailing-List: oe-kbuild-all@lists.linux.dev List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list tree: https://git.kernel.org/pub/scm/linux/kernel/git/sashal/linus-next.git linus-next head: 49b209f67bef90a1ddb7687439603974630e1737 commit: e8d2357d7226671b45f6d4867157639fcd221cfd [26/46] Merge branch 'mm-next' into all-next config: arm-randconfig-2200-20261130 (https://download.01.org/0day-ci/archive/20261130/20261130053306.FsqVyCVa-lkp@intel.com/config) compiler: arm-linux-gnueabi-gcc (GCC) 8.5.0 smatch: v0.5.0-9187-g5189e3fb reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261130/20261130053306.FsqVyCVa-lkp@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/20261130053306.FsqVyCVa-lkp@intel.com/ All errors (new ones prefixed by >>): drivers/gpu/drm/msm/msm_iommu.c:228:2: error: positional initialization of field in 'struct' declared with 'designated_init' attribute [-Werror=designated-init] __unmap_pgtable, __map_pgtable, __flush_pgtable ^~~~~~~~~~~~~~~ drivers/gpu/drm/msm/msm_iommu.c:228:2: note: (near initialization for 'pgtable_ops') drivers/gpu/drm/msm/msm_iommu.c:228:19: error: positional initialization of field in 'struct' declared with 'designated_init' attribute [-Werror=designated-init] __unmap_pgtable, __map_pgtable, __flush_pgtable ^~~~~~~~~~~~~ drivers/gpu/drm/msm/msm_iommu.c:228:19: note: (near initialization for 'pgtable_ops') >> drivers/gpu/drm/msm/msm_iommu.c:228:19: error: initialization of 'void (*)(void *)' from incompatible pointer type 'int (*)(void *, phys_addr_t, u64, size_t, size_t, int, size_t *)' {aka 'int (*)(void *, unsigned int, long long unsigned int, unsigned int, unsigned int, int, unsigned int *)'} [-Werror=incompatible-pointer-types] drivers/gpu/drm/msm/msm_iommu.c:228:19: note: (near initialization for 'pgtable_ops.flush') drivers/gpu/drm/msm/msm_iommu.c:228:34: error: positional initialization of field in 'struct' declared with 'designated_init' attribute [-Werror=designated-init] __unmap_pgtable, __map_pgtable, __flush_pgtable ^~~~~~~~~~~~~~~ drivers/gpu/drm/msm/msm_iommu.c:228:34: note: (near initialization for 'pgtable_ops') drivers/gpu/drm/msm/msm_iommu.c:228:34: error: initialization of 'int (*)(void *, phys_addr_t, u64, size_t, size_t, int, size_t *)' {aka 'int (*)(void *, unsigned int, long long unsigned int, unsigned int, unsigned int, int, unsigned int *)'} from incompatible pointer type 'void (*)(void *)' [-Werror=incompatible-pointer-types] drivers/gpu/drm/msm/msm_iommu.c:228:34: note: (near initialization for 'pgtable_ops.map') drivers/gpu/drm/msm/msm_iommu.c:762:2: error: positional initialization of field in 'struct' declared with 'designated_init' attribute [-Werror=designated-init] __unmap_iommu, __map_iommu, __flush_iommu ^~~~~~~~~~~~~ drivers/gpu/drm/msm/msm_iommu.c:762:2: note: (near initialization for 'iommu_ops') drivers/gpu/drm/msm/msm_iommu.c:762:17: error: positional initialization of field in 'struct' declared with 'designated_init' attribute [-Werror=designated-init] __unmap_iommu, __map_iommu, __flush_iommu ^~~~~~~~~~~ drivers/gpu/drm/msm/msm_iommu.c:762:17: note: (near initialization for 'iommu_ops') drivers/gpu/drm/msm/msm_iommu.c:762:17: error: initialization of 'void (*)(void *)' from incompatible pointer type 'int (*)(void *, phys_addr_t, u64, size_t, size_t, int, size_t *)' {aka 'int (*)(void *, unsigned int, long long unsigned int, unsigned int, unsigned int, int, unsigned int *)'} [-Werror=incompatible-pointer-types] drivers/gpu/drm/msm/msm_iommu.c:762:17: note: (near initialization for 'iommu_ops.flush') drivers/gpu/drm/msm/msm_iommu.c:762:30: error: positional initialization of field in 'struct' declared with 'designated_init' attribute [-Werror=designated-init] __unmap_iommu, __map_iommu, __flush_iommu ^~~~~~~~~~~~~ drivers/gpu/drm/msm/msm_iommu.c:762:30: note: (near initialization for 'iommu_ops') drivers/gpu/drm/msm/msm_iommu.c:762:30: error: initialization of 'int (*)(void *, phys_addr_t, u64, size_t, size_t, int, size_t *)' {aka 'int (*)(void *, unsigned int, long long unsigned int, unsigned int, unsigned int, int, unsigned int *)'} from incompatible pointer type 'void (*)(void *)' [-Werror=incompatible-pointer-types] drivers/gpu/drm/msm/msm_iommu.c:762:30: note: (near initialization for 'iommu_ops.map') cc1: some warnings being treated as errors vim +228 drivers/gpu/drm/msm/msm_iommu.c b145c6e65eb05e Jordan Crouse 2020-08-17 226 aa20cf2a2960b1 Rob Clark 2026-10-30 227 static const struct map_ops pgtable_ops = { aa20cf2a2960b1 Rob Clark 2026-10-30 @228 __unmap_pgtable, __map_pgtable, __flush_pgtable aa20cf2a2960b1 Rob Clark 2026-10-30 229 }; 2c7ad9925523f6 Rob Clark 2025-06-29 230 :::::: The code at line 228 was first introduced by commit :::::: aa20cf2a2960b170c25152ee00cece5f021efc63 drm/msm: Extract out map/unmap helpers :::::: TO: Rob Clark :::::: CC: Rob Clark -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki