From patchwork Fri Nov 13 13:49:34 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 324315 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:5ce:0:0:0:0 with SMTP id l14csp1213465ils; Fri, 13 Nov 2020 05:51:03 -0800 (PST) X-Google-Smtp-Source: ABdhPJzydnbY+CK/a4YhkJtm4AeVTAInmXrWr+blAEbActeXiEhM3eQyDVYsq3S/HGK0HMVCzPVk X-Received: by 2002:a63:3041:: with SMTP id w62mr2215765pgw.166.1605275463791; Fri, 13 Nov 2020 05:51:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605275463; cv=none; d=google.com; s=arc-20160816; b=rtE1Ja7ko+kN5C4BBhJQZaOEZ5m0gEzi2aY/FXxxZw81z8IB6iGnhOmzDprYzWskkF nr63Xofwe59MGUBZkTvo/bX1MR8VL6mXOrWH/k+eYDMD30++rfYH62QOKcDauG0f8HQI KiWUqr0c1yPA1aWdyQoRehIbQEh8rfa+XeI5APKtPVRM5y2c+cHSX98c3kanTfCI4IsX vLnLa9o3Nn5li3zEoU9nOk6LUJnTjpF3h7wFVFQ0o8x7i/99YbQZLlPIxowBAVeIFTn4 Sr2kLBZwuhaBkzO0N97mP8pRNsr4b20Ixuns01RE5EIEk8DEzRZLOZfPbdcKQTmcU9/0 v6hg== 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=XmS3khcTyuYyXIKHhGSFjL8tbzoq4f4+82DhK3FoRao=; b=bqXDJ2BgZVfu9QitLrGCyBG1amXQWZqm6iX8w9KFV/EFqmhOlAeCUycqYiravRgaKA Rbi0xw2eQIKJhn0wIl9QF+IBg0rCRdJNZIy76XbDl+LOWtrbHcbAn7cbOFB+0cjP0OKX Uy8f98pghJVhXRWX0b7VeGJ0/qHx8qoj2vwIulQebcdEvSzZEF4gDxC1y6hQgoRgK2oX cPsH55Qw2dIygBFPnrw+THHrBuiI2X0aJ2OleNARBqJ6VeKbb/Q0NQeLBW8sfLvmaasQ YoBMXjUigDj/xFmiO422mENnsmO/YeMalKMtVJg2p91xYoZQnJhgo7yg6nOUeRNYy7bO mmOw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b="mY/s0pYD"; 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 o136si8269342pfd.31.2020.11.13.05.51.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Nov 2020 05:51:03 -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="mY/s0pYD"; 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 BED6F6E581; Fri, 13 Nov 2020 13:50:47 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm1-x343.google.com (mail-wm1-x343.google.com [IPv6:2a00:1450:4864:20::343]) by gabe.freedesktop.org (Postfix) with ESMTPS id 03B166E511 for ; Fri, 13 Nov 2020 13:50:28 +0000 (UTC) Received: by mail-wm1-x343.google.com with SMTP id 23so8098910wmg.1 for ; Fri, 13 Nov 2020 05:50:27 -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=TmFIQSl/IxBdBhsOtG9qrJEA42yvhnGh386TMGMyma8=; b=mY/s0pYDEoGhbLaQa/mv0EUVIX+EyJgNnog2bItqV1cG1dEk25StILdGwjZJr5xxih FN8D6trlrMabKXBVahRxImsO1cUh5U0yCpMjVlRhdC7f2lwIilN0wEAbaIZVmkudgOew 6U5Phpb6rM9IxfRwf29E5HtkETLUe3GZL3Rly56wL6E0lRQKZWxLyHDOXhpwvhX+fj6q FEL27rKQFfLhxVjg47ANuOyvEoxc16GxFG8cNbQlTMNtocun5CR0V6VQ/3qUNnA/bw9j Y7mGAUDGEPDLA8vzFcQWNafqTLmlW4tRKhtxLbzc2CBi5ozxwtW3JirbIFn271BoCVV+ XETg== 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=TmFIQSl/IxBdBhsOtG9qrJEA42yvhnGh386TMGMyma8=; b=CxqU9F4dbhL4f1fwiXOMdlhKGT21wmeXk9NuNBXHp1tIId8NXfIJ1RMyE4DflWVw6f CVs5sR9n2H7s7NJJpL2VRea8iAWgF4jB+WwdX7apHmp/iR4gmZ8Z0jRSh09rwD+QcP2R d8VjsJM7tswwmh05dHB4j7TaCs/om9PLbW+wKLZFtmt167m/4VaerEFBycvHzmoN2KvC rKYxxRYPGuvmKvt0+GotRcJNes4up2m24bQds9dp9fgXyFTogpdRy/jU3mknY3NDZrMJ gVGo47AvDKqhz8J5MPlsGJ1x4AU7PWmT3tEflFbg0fz1wVns4fXc74mTChI19BOUPS41 WXgg== X-Gm-Message-State: AOAM530tIMPSba6hsGIEvIeDPbYhiWZTfwoMG733YFVWKdf7TgFRSr2P 7eTREcOHH6KJ4RNEgrQzYwXVDg== X-Received: by 2002:a1c:f405:: with SMTP id z5mr2617695wma.126.1605275426666; Fri, 13 Nov 2020 05:50:26 -0800 (PST) Received: from dell.default ([91.110.221.159]) by smtp.gmail.com with ESMTPSA id t11sm4561614wrm.8.2020.11.13.05.50.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Nov 2020 05:50:26 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 36/40] drm/amd/amdgpu/amdgpu_fw_attestation: Consume our own header containing prototypes Date: Fri, 13 Nov 2020 13:49:34 +0000 Message-Id: <20201113134938.4004947-37-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 , John Clements , =?utf-8?q?Christian_K=C3=B6nig?= , Hawking Zhang 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_fw_attestation.c:130:6: warning: no previous prototype for ‘amdgpu_fw_attestation_debugfs_init’ [-Wmissing-prototypes] Cc: Alex Deucher Cc: "Christian König" Cc: David Airlie Cc: Daniel Vetter Cc: Hawking Zhang Cc: John Clements Cc: amd-gfx@lists.freedesktop.org Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/amd/amdgpu/amdgpu_fw_attestation.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_fw_attestation.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_fw_attestation.c index c6947d6c7ff51..e47bca1c76359 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_fw_attestation.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_fw_attestation.c @@ -26,6 +26,7 @@ #include #include "amdgpu.h" +#include "amdgpu_fw_attestation.h" #include "amdgpu_psp.h" #include "amdgpu_ucode.h" #include "soc15_common.h" @@ -139,4 +140,4 @@ void amdgpu_fw_attestation_debugfs_init(struct amdgpu_device *adev) adev, &amdgpu_fw_attestation_debugfs_ops); #endif -} \ No newline at end of file +}