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: 324320 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:5ce:0:0:0:0 with SMTP id l14csp1214362ils; Fri, 13 Nov 2020 05:52:26 -0800 (PST) X-Google-Smtp-Source: ABdhPJz+zY7/8B0CFbhXLH8xzZBKuSyWvX75Vof5zogVnOB9pffqVQBG0OKvJ88MX43ZyHfeC/Z7 X-Received: by 2002:a17:90a:2ec3:: with SMTP id h3mr3221436pjs.54.1605275446352; Fri, 13 Nov 2020 05:50:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605275446; cv=none; d=google.com; s=arc-20160816; b=aq0UexxRMlZArzrKcTDrSV8VQmiQ3kPE6GZ8s5iUCzJjPUsA9wKqTlCBwuy6uAuR3+ 96DQTuq/r+r777iNqvoy/8U8txQ+oA5iOY3MqibyMbPsglvWKBw4XkWgbakgr0YUIVOI 0zXyybXnJ3FTYkYzwzRgtljKTvK3gpJNydu+v7aBS4F8XNWIb/tnux42TqgzPqYa8ip/ xHS+JX1MG2FqBCgy5IO0iU3gEXrqwrp6aWFRuQTPXLqvxi3Chpu5tb9qKHeNfa8u4LWc AivSxEp0ZeyrSkVlHovPLtni4Jn/2x0POX06a+eHJLqziz8FPn/nV/4MPhHm5M0fRxhL LiSQ== 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=AvR8mPuoayjdgWziwWmmBud3CbTJqtUTYaffSttkWhQ=; b=HOi1wQFAdVsdjjS7H7U0T7a5jeyaDd4lJ5uL87iBAj9VUN8ukLHLfdFxsIfFaQxK1N GhbjpSCUuhdbE1KBp8kkrednDOzvC//nv4IdJlzSCWNxEjK0KUuWf2MM83btgbJQWPWQ /Jf3Q2QVB4/qzLvZwm9xCLPxZhANkg20p9doRRdKqbDCr2K1fqqR8+9ATlb3T7Xs3kBD +lQ6Z/V7RgrUOjuidZof+LsSgEzZNFWZJQykTio1vF3RZEvu/EnWkvCsYEFxyxLR9Qpf 2Xr5PUvsRcKeanOO+yiK1/cua8uaD4Tm9ryi+TefR7VgZcgP3AswKtU1dI2lWuyQQdAa 8MPA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=n4DRu6ud; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 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. [2610:10:20:722:a800:ff:fe36:1795]) by mx.google.com with ESMTPS id v6si8513134ply.204.2020.11.13.05.50.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Nov 2020 05:50:46 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) client-ip=2610:10:20:722:a800:ff:fe36:1795; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=n4DRu6ud; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 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 B942F6E532; Fri, 13 Nov 2020 13:50:33 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org 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-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=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_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