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 BB0ABEB64DD for ; Fri, 11 Aug 2023 15:42:52 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id BC1F46B0071; Fri, 11 Aug 2023 11:42:51 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id B49D96B0072; Fri, 11 Aug 2023 11:42:51 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 9EBFB6B0074; Fri, 11 Aug 2023 11:42:51 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0014.hostedemail.com [216.40.44.14]) by kanga.kvack.org (Postfix) with ESMTP id 8C16B6B0071 for ; Fri, 11 Aug 2023 11:42:51 -0400 (EDT) Received: from smtpin09.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay08.hostedemail.com (Postfix) with ESMTP id 57FBB14113A for ; Fri, 11 Aug 2023 15:42:51 +0000 (UTC) X-FDA: 81112241742.09.E2F3AE4 Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.24]) by imf30.hostedemail.com (Postfix) with ESMTP id 4DBF98001D for ; Fri, 11 Aug 2023 15:42:48 +0000 (UTC) Authentication-Results: imf30.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=nAWR94OZ; spf=pass (imf30.hostedemail.com: domain of lkp@intel.com designates 134.134.136.24 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=1691768569; 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: references:dkim-signature; bh=jLDwflJJ0jZKqPvhopcg0bad6OPSBp6y8kFnyq06z7g=; b=cLBcwIE2CMP+LLkGkya6lIXuRyWcG66fDSxGWRUv4zxcQjuBFhN7REq6bB5EiFyO2m86BC yvK9agcvCWiFzr/MqQCs2JCl/yOMImQDQN5LsyjrNuZXF8AT0ujfPlkHS3BzF/dnkz6OdF siFq8Jp1TUBmLUooNKHh2Bxa2l5MgLY= ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1691768569; a=rsa-sha256; cv=none; b=oc2GhG3P+y2N9Iv+VJjQk7iO1h68TpdhVCXiQf91QSDC2SYdrDmH+a5YDHI8BxhTuDqiJn CjMbQrlcDdBMhhvNJ5SUOe0VdJR0wzqvpj94YGqdy3Yc+JVT5W040ZPVSYZZnyergtLkr3 ayhoBso4rJrJ+Y62DNboxKGSPJzZwxc= ARC-Authentication-Results: i=1; imf30.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=nAWR94OZ; spf=pass (imf30.hostedemail.com: domain of lkp@intel.com designates 134.134.136.24 as permitted sender) smtp.mailfrom=lkp@intel.com; dmarc=pass (policy=none) header.from=intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1691768568; x=1723304568; h=date:from:to:cc:subject:message-id:mime-version; bh=B57ZbWRxIh2HB2okAXGfOtOgwj7wDSCZ1+xl83NIugw=; b=nAWR94OZuVu3BZopSERamVeA3zz/5dMIxOGRyz6NeDQbnVEt35Lx754I 961zjoE+TZ2TjfPayPceN7rilxPdfb15P+sJmnmkTFdveHOouqcMwbaUg ca4WmJ0SvpGI3iuhzyA/SXHzqre2uHy4Ih+9BGphGLvsFhKF7B3cAAFGp SC7qMDgBtLyHXkSKlw5OI7ICMGfvPUilMjuv3v1Q7f5985Khr/fyqCHhf 5Vl/65bbdkz/paWR36qabz2yLhXyG98pGvUxZrV/4yOykl8haNUg9VGGI Xr8VuvWBZG7Q7aT1NUCmnIIoOThEJ2wBXC3Slh6FdNQB0l/m1MA0VundY g==; X-IronPort-AV: E=McAfee;i="6600,9927,10799"; a="374471498" X-IronPort-AV: E=Sophos;i="6.01,166,1684825200"; d="scan'208";a="374471498" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Aug 2023 08:42:46 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10799"; a="822703710" X-IronPort-AV: E=Sophos;i="6.01,166,1684825200"; d="scan'208";a="822703710" Received: from lkp-server01.sh.intel.com (HELO d1ccc7e87e8f) ([10.239.97.150]) by FMSMGA003.fm.intel.com with ESMTP; 11 Aug 2023 08:42:44 -0700 Received: from kbuild by d1ccc7e87e8f with local (Exim 4.96) (envelope-from ) id 1qUUHk-0007rg-0q; Fri, 11 Aug 2023 15:42:44 +0000 Date: Fri, 11 Aug 2023 23:42:30 +0800 From: kernel test robot To: Maxime Ripard Cc: oe-kbuild-all@lists.linux.dev, Linux Memory Management List , Javier Martinez Canillas , =?iso-8859-1?Q?Ma=EDra?= Canal Subject: [linux-next:master 5284/8441] drivers/gpu/drm/tests/drm_kunit_helpers.c:171: warning: expecting prototype for drm_kunit_helper_context_alloc(). Prototype was for drm_kunit_helper_acquire_ctx_alloc() instead Message-ID: <202308112307.TPmYbd3L-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Rspamd-Queue-Id: 4DBF98001D X-Rspam-User: X-Rspamd-Server: rspam11 X-Stat-Signature: 8zd7jrd1dfjqr1kiwshd1m8nm5wiw4w1 X-HE-Tag: 1691768568-478749 X-HE-Meta: U2FsdGVkX1+T55pQY8abtIcy02CCuC2jeleeYKZmvxLWvQwDoTDIfV1lDep5GSEk7LiBKCUGtxsGRfOUEyqOlR9cozaVbyMtT4yAwmFzkZUwdnIjzkThMhtuyfltCICmLkZw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qcpSzwA9wzkzUNAcLXw2sB+d4t7LZL6wAIhK1CQEbnl6DXxLLNEZ+UvVhjeSdhfR0fTRU1iPIvV7gfC9hriKOuN1SlragbGXdvsIIlh2hXdVmgXW7+N7sxw4bahkQfOdzKHXSIKYp9EGz91NwA31osus9MybR76N9vNvYUZj 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: tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: 21ef7b1e17d039053edaeaf41142423810572741 commit: 6e193f9fbbb02e1bde88510a71823e5bf83c2010 [5284/8441] drm/tests: helpers: Create a helper to allocate a locking ctx config: x86_64-allyesconfig (https://download.01.org/0day-ci/archive/20230811/202308112307.TPmYbd3L-lkp@intel.com/config) compiler: gcc-12 (Debian 12.2.0-14) 12.2.0 reproduce: (https://download.01.org/0day-ci/archive/20230811/202308112307.TPmYbd3L-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/202308112307.TPmYbd3L-lkp@intel.com/ All warnings (new ones prefixed by >>): >> drivers/gpu/drm/tests/drm_kunit_helpers.c:171: warning: expecting prototype for drm_kunit_helper_context_alloc(). Prototype was for drm_kunit_helper_acquire_ctx_alloc() instead vim +171 drivers/gpu/drm/tests/drm_kunit_helpers.c 156 157 /** 158 * drm_kunit_helper_context_alloc - Allocates an acquire context 159 * @test: The test context object 160 * 161 * Allocates and initializes a modeset acquire context. 162 * 163 * The context is tied to the kunit test context, so we must not call 164 * drm_modeset_acquire_fini() on it, it will be done so automatically. 165 * 166 * Returns: 167 * An ERR_PTR on error, a pointer to the newly allocated context otherwise 168 */ 169 struct drm_modeset_acquire_ctx * 170 drm_kunit_helper_acquire_ctx_alloc(struct kunit *test) > 171 { 172 struct drm_modeset_acquire_ctx *ctx; 173 int ret; 174 175 ctx = kunit_kzalloc(test, sizeof(*ctx), GFP_KERNEL); 176 KUNIT_ASSERT_NOT_NULL(test, ctx); 177 178 drm_modeset_acquire_init(ctx, 0); 179 180 ret = kunit_add_action_or_reset(test, 181 action_drm_release_context, 182 ctx); 183 if (ret) 184 return ERR_PTR(ret); 185 186 return ctx; 187 } 188 EXPORT_SYMBOL_GPL(drm_kunit_helper_acquire_ctx_alloc); 189 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki