From patchwork Fri Nov 13 13:49:26 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 11903483 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.5 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7994BC4742C for ; Fri, 13 Nov 2020 13:50:45 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 3B0A422201 for ; Fri, 13 Nov 2020 13:50:45 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="n4DRu6ud" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 3B0A422201 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id B942F6E532; Fri, 13 Nov 2020 13:50:33 +0000 (UTC) Received: from mail-wr1-x442.google.com (mail-wr1-x442.google.com [IPv6:2a00:1450:4864:20::442]) by gabe.freedesktop.org (Postfix) with ESMTPS id 105866E544 for ; Fri, 13 Nov 2020 13:50:18 +0000 (UTC) Received: by mail-wr1-x442.google.com with SMTP id p8so10001296wrx.5 for ; Fri, 13 Nov 2020 05:50:17 -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=4fbIgQuSd7qx2Uw2PNoVR5q/2EBKr9ikJs14+3PNgZs=; b=n4DRu6udIoyajnEV5cYhZElN9i8TgkAMzWGe2XXO8ZJAtYQn5MO7IMOTwcJKM7snU9 JqPnyBnWOlcnU/T21rzOcwxuyqy/YqZQIRnFwrNhrXPMSSPdiF3vagDOA9lzf7m8sCkS P6upsPYAj91zk7+AQIlxbK4GxzVVMlYDAmdq7JzKe742gAi6bOyd1aJpogxYwpxPjfam 6fh/2Jnt7GS3QFBfKuPgxTxVRHEsqcST5Z/5kex7Nd3qOzjB5szFrz1oHxHH1vSwV6nm JdwijeFcrJb6v608c3XTw2RKXAfMl3ruV4hyrimERbrJ75RNT8ou4IwZ4nP+zsSXYXX9 niRQ== 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=4fbIgQuSd7qx2Uw2PNoVR5q/2EBKr9ikJs14+3PNgZs=; b=n2FqvuaMqnOa5hJTAnzeLrjGlkFAw+iHP0YRyXGlq+AShBaVN6fBSXquJJa6OJValI HpPEW+nBKBNCsYIZ4ibgnisAy9mj/iXdyCvj06Rdsm3XVEqw9K0mseQZeyT95ulsAooH x1/iw3FXBS2shYcUAYlluKIr+h8+BDj4Js1y0rv90XqgcTyaGrVgrS+Y2s8hNqS2eUmz vZZlVcsl8BcxcgJpCwIxL0qkMx2MDZXzh7Sx9wR/i+UxNaPJJVmMjUFfTIG1Ld8wr5FH mrgP70q4RyHwhTDWCWoVohDDFXwBPo7f7vKsXpF71uvt6ajzj5xBTarohpJ4vqpBwBc1 2UZw== X-Gm-Message-State: AOAM531SKu0S8QrL7XnUEjnDvnyEfxbLt0yyBr/NBh3o1zJalXsT4g5R SQ9VCg7tOKZARMndv+gdQrotWQ== X-Google-Smtp-Source: ABdhPJwRAPuVH+2vvmutSjwOa8Cia0gPuinTJS19FPHN1ooaNyDBXHTCw7kmrU3q3Z5aPZKc7t1QmA== X-Received: by 2002:adf:9e08:: with SMTP id u8mr3518812wre.282.1605275416485; Fri, 13 Nov 2020 05:50:16 -0800 (PST) Received: from dell.default ([91.110.221.159]) by smtp.gmail.com with ESMTPSA id t11sm4561614wrm.8.2020.11.13.05.50.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Nov 2020 05:50:15 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 28/40] drm/amd/amdgpu/amdgpu_ras: Make local function 'amdgpu_ras_error_status_query' static Date: Fri, 13 Nov 2020 13:49:26 +0000 Message-Id: <20201113134938.4004947-29-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=B6nig?= 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_ras.c:1482:6: warning: no previous prototype for ‘amdgpu_ras_error_status_query’ [-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_ras.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c index f89a991999428..9d11b847e6efe 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c @@ -1472,8 +1472,8 @@ static void amdgpu_ras_log_on_err_counter(struct amdgpu_device *adev) } /* Parse RdRspStatus and WrRspStatus */ -void amdgpu_ras_error_status_query(struct amdgpu_device *adev, - struct ras_query_if *info) +static void amdgpu_ras_error_status_query(struct amdgpu_device *adev, + struct ras_query_if *info) { /* * Only two block need to query read/write