From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4ABA5CE8E8B for ; Thu, 24 Oct 2024 15:43:12 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 2C1618D000B; Thu, 24 Oct 2024 11:43:11 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 270C48D0003; Thu, 24 Oct 2024 11:43:11 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 160D38D000B; Thu, 24 Oct 2024 11:43:11 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0013.hostedemail.com [216.40.44.13]) by kanga.kvack.org (Postfix) with ESMTP id EB26B8D0003 for ; Thu, 24 Oct 2024 11:43:10 -0400 (EDT) Received: from smtpin18.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay09.hostedemail.com (Postfix) with ESMTP id 8F1E38135A for ; Thu, 24 Oct 2024 15:42:54 +0000 (UTC) X-FDA: 82708914162.18.E68D9F0 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.14]) by imf01.hostedemail.com (Postfix) with ESMTP id 47A2640007 for ; Thu, 24 Oct 2024 15:42:53 +0000 (UTC) Authentication-Results: imf01.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=jNqxpnSn; spf=pass (imf01.hostedemail.com: domain of lkp@intel.com designates 192.198.163.14 as permitted sender) smtp.mailfrom=lkp@intel.com; dmarc=pass (policy=none) header.from=intel.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1729784536; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=ZnV1OFerSw1rM37lx/M3K3oIzAuLhJOWA2Kk5bhw9aM=; b=QRG4oXzteMJKURntkb/k8XNhN3r37GA1KC8Hs6lkPkqkJ+duMI5vLdiRYyAoc9iew0wmhs Kuhdqt9BUwu4J/VGg6hHhoksMN4n/nx2JqoNhXq9qF8iW60t4F/yFvLwrhFIsPEkkGVu2/ PFvkq3g6TRTfnO7lRpvT6Pw/tIo9koU= ARC-Authentication-Results: i=1; imf01.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=jNqxpnSn; spf=pass (imf01.hostedemail.com: domain of lkp@intel.com designates 192.198.163.14 as permitted sender) smtp.mailfrom=lkp@intel.com; dmarc=pass (policy=none) header.from=intel.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1729784536; a=rsa-sha256; cv=none; b=aN0s1PIzkIHkMbkOmFNw+hRtpMQEI+X13K3hlXxQK4aeOS3vy23iPUj24Y/Xau412BGnWy N5rUZAmA7MJ6n64WJC+z6m4LbtqO18LQZioZmXx+8GE3aI10DyGu+2YiDhY0uPb7yDb3rd Ss1XPesDc1RQk5g+vp6xDKzGHXrq69s= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1729784588; x=1761320588; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=5/nbDyWp7n6RsazCVVoeiVcKXifp+4+4MGYC6ov6BU8=; b=jNqxpnSnKVLqhqQh3xaJQ/0LSJFFlw7YQ8IT/HiM82jmYHC9GdMPJAgM GwQY5jjeziwLYyCucfp1CF80oj3hh8IT/YV8UehvNYAdjvBLMWA5d1ju3 iUUGcAtvhbKPKeqPlEb49GxQi0fyugFK+/K1W6eN1LUriBdmijqNZvIzg Txn1S9cqJ0PUt05KbVgjdiv6v1Wqg2qXPMj+LXlKG+0rK9C3NaDFIW+0q yAURLgMYcYtFzIPCOazYD45bXwfzOjzZ4flRX6iZLlBkuqjtmfmBB0To7 HDxLSD9ILLD5s3Py9ElO/VuGm5z39XCLENGzqngHuSltTHxz8OpObfvkK A==; X-CSE-ConnectionGUID: aGcQsC9uRLmjIQvruXJ9GQ== X-CSE-MsgGUID: Tp0xJzRuRaKnXvZJWFzDSg== X-IronPort-AV: E=McAfee;i="6700,10204,11235"; a="29641274" X-IronPort-AV: E=Sophos;i="6.11,229,1725346800"; d="scan'208";a="29641274" Received: from orviesa004.jf.intel.com ([10.64.159.144]) by fmvoesa108.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Oct 2024 08:43:06 -0700 X-CSE-ConnectionGUID: TSI0KdEVRK2iC0jv2wV/5w== X-CSE-MsgGUID: FMV5XWndQSSRW/r8/H+5iA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.11,229,1725346800"; d="scan'208";a="85735965" Received: from lkp-server01.sh.intel.com (HELO a48cf1aa22e8) ([10.239.97.150]) by orviesa004.jf.intel.com with ESMTP; 24 Oct 2024 08:43:02 -0700 Received: from kbuild by a48cf1aa22e8 with local (Exim 4.96) (envelope-from ) id 1t3zzI-000Wc0-02; Thu, 24 Oct 2024 15:43:00 +0000 Date: Thu, 24 Oct 2024 23:42:06 +0800 From: kernel test robot To: Maarten Lankhorst , intel-xe@lists.freedesktop.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Tejun Heo , Zefan Li , Johannes Weiner , Andrew Morton Cc: oe-kbuild-all@lists.linux.dev, Linux Memory Management List , Friedrich Vock , cgroups@vger.kernel.org, Maxime Ripard , Maarten Lankhorst Subject: Re: [PATCH 2/7] drm/drv: Add drmm cgroup registration for dev cgroups. Message-ID: <202410242324.adtg6g0w-lkp@intel.com> References: <20241023075302.27194-3-maarten.lankhorst@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20241023075302.27194-3-maarten.lankhorst@linux.intel.com> X-Rspam-User: X-St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i0YlnpQ 9Ooak+SV dpDPRJV3SJjY+/frqLtrfZOAu+iCFZYlQcQiyG2iqCEC2YuDtYhqa6DLeJ8PoNPZ1sVQXjJYGlE4MvmsloZw79XnNGbP7qNmu3bkLBMJuHBU2NCdoXbhSy7gMD8lKx2fC587XBThfNQrf8iphh1EzOK7hx5Iy4nGo2i1TMFbfuKbU+9PiEds18PI4xk47AN4h3vSUeaEa1gIqecmtT5vvOS2gJdEXjGtn+eCWU/xbtZK7K6YESwiRLt0EhBo+v5ylFmEU7MHLIPF9i7M9Ih+bXJXYw/9ZHqD379byDD6ARptPxi9tMifVQam2uc9/BqW4uU0iouLPkc641pfBvG/9y8lpZKDwy8bxaFHjtiO6MAnkvkUrkImmIt3MGrAgIExiXtfPtpXqmEb1nuet5HwNV3IrqDROnJ2uQfGu X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: List-Subscribe: List-Unsubscribe: Hi Maarten, kernel test robot noticed the following build errors: [auto build test ERROR on drm/drm-next] [also build test ERROR on drm-exynos/exynos-drm-next next-20241024] [cannot apply to tj-cgroup/for-next drm-xe/drm-xe-next akpm-mm/mm-everything drm-intel/for-linux-next drm-intel/for-linux-next-fixes drm-misc/drm-misc-next drm-tip/drm-tip linus/master v6.12-rc4] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Maarten-Lankhorst/kernel-cgroup-Add-dev-memory-accounting-cgroup/20241023-155504 base: git://anongit.freedesktop.org/drm/drm drm-next patch link: https://lore.kernel.org/r/20241023075302.27194-3-maarten.lankhorst%40linux.intel.com patch subject: [PATCH 2/7] drm/drv: Add drmm cgroup registration for dev cgroups. config: arm64-randconfig-002-20241024 (https://download.01.org/0day-ci/archive/20241024/202410242324.adtg6g0w-lkp@intel.com/config) compiler: aarch64-linux-gcc (GCC) 14.1.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241024/202410242324.adtg6g0w-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/202410242324.adtg6g0w-lkp@intel.com/ All errors (new ones prefixed by >>): In file included from drivers/gpu/drm/drm_drv.c:29: include/linux/cgroup_dev.h:61:12: error: two or more data types in declaration specifiers 61 | static int int dev_cgroup_try_charge(struct dev_cgroup_device *cgdev, | ^~~ include/linux/cgroup_dev.h:65:1: error: expected identifier or '(' before '{' token 65 | { | ^ >> include/linux/cgroup_dev.h:61:16: error: 'dev_cgroup_try_charge' declared 'static' but never defined [-Werror=unused-function] 61 | static int int dev_cgroup_try_charge(struct dev_cgroup_device *cgdev, | ^~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors vim +61 include/linux/cgroup_dev.h 487073b1855ef4 Maarten Lankhorst 2024-10-23 60 487073b1855ef4 Maarten Lankhorst 2024-10-23 @61 static int int dev_cgroup_try_charge(struct dev_cgroup_device *cgdev, 487073b1855ef4 Maarten Lankhorst 2024-10-23 62 u32 index, u64 size, 487073b1855ef4 Maarten Lankhorst 2024-10-23 63 struct dev_cgroup_pool_state **ret_pool, 487073b1855ef4 Maarten Lankhorst 2024-10-23 64 struct dev_cgroup_pool_state **ret_limit_pool); 487073b1855ef4 Maarten Lankhorst 2024-10-23 65 { 487073b1855ef4 Maarten Lankhorst 2024-10-23 66 *ret_pool = NULL; 487073b1855ef4 Maarten Lankhorst 2024-10-23 67 487073b1855ef4 Maarten Lankhorst 2024-10-23 68 if (ret_limit_pool) 487073b1855ef4 Maarten Lankhorst 2024-10-23 69 *ret_limit_pool = NULL; 487073b1855ef4 Maarten Lankhorst 2024-10-23 70 487073b1855ef4 Maarten Lankhorst 2024-10-23 71 return 0; 487073b1855ef4 Maarten Lankhorst 2024-10-23 72 } 487073b1855ef4 Maarten Lankhorst 2024-10-23 73 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki