From patchwork Fri Nov 13 13:49:19 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 324307 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:5ce:0:0:0:0 with SMTP id l14csp1213043ils; Fri, 13 Nov 2020 05:50:33 -0800 (PST) X-Google-Smtp-Source: ABdhPJyhjM8dC699P1CHGIYyZaTWRYzWZ/c3zFLc2+mxjTOcaxqfxUfn5PoA5fVcekLvUueGsv07 X-Received: by 2002:a17:902:968f:b029:d8:d0c6:969b with SMTP id n15-20020a170902968fb02900d8d0c6969bmr2286612plp.69.1605275433152; Fri, 13 Nov 2020 05:50:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605275433; cv=none; d=google.com; s=arc-20160816; b=VLRMohQYOlD/ntlQEdS0TsAXu69ZL+D4AB7NbwA0uLyvJsSNNgS1nQGkmU+mWV3gx5 qocFzxV+VErjwGt/jIIE6ljxg5+Rb917/p6Z/BDtGaiHbEU/wfrbTJgz3XzljJ3RLTCY lIJwkgChTLjS8QYVPaXUdR/xDj6lAi1PGfIvT1720LuV0EqepV0xKqAYEN+I8V0TSrJA gc9Dfob4IphR7UQ0+MtgL6qJa3kuo/Oas8vDvp3XojH/rpw9DeQYIcLwttxs98Cjy5np NaLbPdkLUhvqNFlrZt01zU672g9cakFwp3HZdmuCumO5guNi2lkYcmAvRg570S2FT5M1 uhEA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:delivered-to; bh=uT2l8ktO4N+WhoPEsscvoQl6nMngVu5jSRCYYG9bF0I=; b=CNhP1KOtvcA4pVcK57Li28cksin+pjqbaTqeg4gKoDizH1H0C4lLmp7IuUGP8pbE6A fejUu/LwY8w3liW2wqFhtqVpVoE0M4tSOBljrTNFviuZfyGEPUigS8yksNwJstBj+aOS /8a5f3prFZUNzjabY33ko+JD84HvRVE7REVIcATEYkx4L7NEUT3Q7dh7isXPiFOmJbbB pLsd8OR2N48Ur6GB776/YkIsavdRFA3GHwDjFh6fUf0hJc95XTQSIfUh8GWVFk3wbKe2 yVJWc1T/dYm5emPd5KOWhmGIwF8fV6dWrXGPei26tEyIZ6lEH+cGKvm9ZH2/MWmtWuED zrVQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b="tq3YEaY/"; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id r13si8286780pfg.252.2020.11.13.05.50.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Nov 2020 05:50:33 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b="tq3YEaY/"; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 65CA96E554; Fri, 13 Nov 2020 13:50:18 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm1-x342.google.com (mail-wm1-x342.google.com [IPv6:2a00:1450:4864:20::342]) by gabe.freedesktop.org (Postfix) with ESMTPS id 0EB3C6E4EC for ; Fri, 13 Nov 2020 13:50:09 +0000 (UTC) Received: by mail-wm1-x342.google.com with SMTP id h2so8243373wmm.0 for ; Fri, 13 Nov 2020 05:50:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=XGQ7i9boPClQe1oyR8utsPB6lLJWRf0r7to87NlJAVY=; b=tq3YEaY/3TDVCn8qdDXnhOaaOrrxOH5BxxOKr+wdKm7kChxUnNxuggo9rpj/reOkjV y2Vq9KREeLPXJ2WPiKYB3kyRIdXpbfStNqg8NRiCJGsQPIv4MByCZaHm49tkAMEe2wBs cfNqUTziP7ShG4PEJp8SzklYk/xeH3dDelLf/Wx2lp+x31i3n0JZoW9dx2eYNwmEwAKm RnODfEx3Pa5h79269T7DHlX6YJwhZRbTZBp1deopMe5/QXVB7d6soWsuO75rkZsRYhPk kqtEpTC9r9eMqE13Rg74gHGz0LWVhWtVR/MoppqMCXKEF4pTzRd7lbijMk2oOz7YZdp7 hjAA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=XGQ7i9boPClQe1oyR8utsPB6lLJWRf0r7to87NlJAVY=; b=AEMzHQ1I/3F66T015iEqtQ7DcFfZ+jHVYf48ylNipUZ8GpCoubD+CiGp9iiavjPFp2 5TGDqMH0k82wg1F8ItKGViPLeSzpHSciCry9VpQ4S4OrXPsFt1SY+8ILJiCDC31+8S0K tqXJf959fLTs0FSYsIcGZ/Zs7RWhI/VbSv86HBL/4NX/GYZkuBGz6DJwqxvi73i8OLvM ETLUfDi/7qZixEUiYBbZVodwPv+MdBlgYdW1I+j6wsVyw35aj3pFaMKVWagYOnt+KE3P tKYB+FqYYTvPmokEFUHJEFHYWJnC+LDAWrZ8T76zfirOKcCnZuw9SR6j8ArZjkflO3rq Kw7A== X-Gm-Message-State: AOAM532rkXyJVHiKiZrUWjjcczhSPNDCHeUXBKzp/ikAHvkXAaT/4+X7 9HG7BiuF4G1O7YlnxWx6+TD5Lw== X-Received: by 2002:a1c:bb02:: with SMTP id l2mr2555867wmf.166.1605275407774; Fri, 13 Nov 2020 05:50:07 -0800 (PST) Received: from dell.default ([91.110.221.159]) by smtp.gmail.com with ESMTPSA id t11sm4561614wrm.8.2020.11.13.05.50.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Nov 2020 05:50:07 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 21/40] drm/amd/amdgpu/amdgpu_virt: Make local function 'amdgpu_virt_update_vf2pf_work_item()' static Date: Fri, 13 Nov 2020 13:49:19 +0000 Message-Id: <20201113134938.4004947-22-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201113134938.4004947-1-lee.jones@linaro.org> References: <20201113134938.4004947-1-lee.jones@linaro.org> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: David Airlie , linux-kernel@vger.kernel.org, amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, Alex Deucher , =?utf-8?q?Christian_K=C3=B6?= =?utf-8?q?nig?= Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c:560:6: warning: no previous prototype for ‘amdgpu_virt_update_vf2pf_work_item’ [-Wmissing-prototypes] Cc: Alex Deucher Cc: "Christian König" Cc: David Airlie Cc: Daniel Vetter Cc: amd-gfx@lists.freedesktop.org Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c index 8aff6ef50f918..905b85391e64a 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c @@ -557,7 +557,7 @@ static int amdgpu_virt_write_vf2pf_data(struct amdgpu_device *adev) return 0; } -void amdgpu_virt_update_vf2pf_work_item(struct work_struct *work) +static void amdgpu_virt_update_vf2pf_work_item(struct work_struct *work) { struct amdgpu_device *adev = container_of(work, struct amdgpu_device, virt.vf2pf_work.work);