Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp5180393pxj; Wed, 26 May 2021 04:56:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyG1qWWWwvgdE8mrNNq01qUrb5XVfWgSMU2pYWFkamx3PBdo9HdXCjW3SAxz6GHWqCYk9e4 X-Received: by 2002:aa7:d853:: with SMTP id f19mr37621112eds.371.1622030215895; Wed, 26 May 2021 04:56:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622030215; cv=none; d=google.com; s=arc-20160816; b=thdPxS88dgghvJlw6cnwB3oJvJ4uqK8BArFjgQBr5cq/kP88E2aiX7yJ3em4EAGBJD cdE3znQenvu/6LMAvBy9nP6haPNZyRkwd8ptJsooJM/MkpT/m5qznUzv/V12QC8VbBnl sly5g5t14oSQtawfzqLTcglCx2SEDYh1BdaOvKPTg7r8FkCKI++oNUVej4jz/oqp/yfZ eF8ujs5ii2sKJ8uQ0XORVor8AIY+VS42HvZZAQcY1zYYtnrXHKCAlDqZqyj2s+PJZgyQ +YaSqgZPLBtO5+qF0R0eZuqnrVepj1DlXnvuIuZG5lRlwzraS5a/ft2x32jJ+6tKrVn+ Gvzg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=GJer5W/toWhPsUhogBXg4zIXSRSHg7fRSySLo0mmvxU=; b=tDCZ4j/u3B9UbBqdUJNgERGOMNTsQp0D6fkiebKsKrvAyKFJnDDBKofwHl4IXRIHI8 QVNKn59M5nN2NKV19YzvqSvEkShmUMS7+xSaDHvytRM/iqRlgmNgyZ87EL2AdAsoyYSn q57LnVCrcXkq88DHgWO0yO26TErODCG3U8NObLE4VM7H1ImeWO08KeWPbozWQQIM7eqw KSF7VVPaodnF3+wAcFl7T6ar4c7hS/HXEJ/g/HHVdnDg2wH2emzchOSgn96DDNqnNuzH gURdOZ71rVk/kaprRNPmfD4t79TW1sJNcWL/Wod2uSDzV3UD04xlQ4PDGLVcbTr79ah6 lF4g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=c4kUnaRX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id gn25si18054153ejc.434.2021.05.26.04.56.32; Wed, 26 May 2021 04:56:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=c4kUnaRX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233561AbhEZIt5 (ORCPT + 99 others); Wed, 26 May 2021 04:49:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39646 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233354AbhEZItX (ORCPT ); Wed, 26 May 2021 04:49:23 -0400 Received: from mail-wm1-x329.google.com (mail-wm1-x329.google.com [IPv6:2a00:1450:4864:20::329]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E065AC061342 for ; Wed, 26 May 2021 01:47:51 -0700 (PDT) Received: by mail-wm1-x329.google.com with SMTP id u4-20020a05600c00c4b02901774b80945cso15026337wmm.3 for ; Wed, 26 May 2021 01:47:51 -0700 (PDT) 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=GJer5W/toWhPsUhogBXg4zIXSRSHg7fRSySLo0mmvxU=; b=c4kUnaRXN1uSNT9CNqKjLxGgwMYV5KPLAkWSyqK5DOgFijFCdPEer5ag+RhVskDw8W xD5Wm1G3uhkJQFCh9CEozH8HaqWRsKb3lQa6A8QKchsv4XF45F0g4L4kIRz9YnJzeM6J R9O4BkOK8yTJg2L9Eh3RQJB2LisUZWeHoD0TKD7j6TAOWauUevORNcMzXlaLCANb+nWS vhmPGu+ZC+SIosHydMuuyePzdK5IqegCQydfd8NglfJf/fOqcywr3kvB2QvDWBTF3LPY XXV0kLgr0qrY8mZm+YmZwRmFB/vZoQRUvj0bOzwp3/0UAd60jYd5IU8l8stUaFHUn7kj YJkQ== 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=GJer5W/toWhPsUhogBXg4zIXSRSHg7fRSySLo0mmvxU=; b=ZCHTYwZaCQg5Mx6ZxIFLbHu7Q/g2oEgWy5WOgOgXi+XHpxqs1fjpzQflZLfYx02jW6 UBvD6ufScWxBE6ju3A1hL5tpnS7jWpr5ioFniStttt9JEHiMmCnSJ6RDP4P8bg5us3+l xn5gYChhsOVYO8He6nfnXrm4sQvqbAHn1/6IBX7tqyPZsskA6v/26V21wpdhT1v2rwlV +v7Wy5D2VUc2yU0OZQRzERc+65O+N31Ba3UOtI0N977M/sYUqPssu3c96bZdjIovawXa KytWUaSTr4W5TKtHqOsnxiipl8lmS/QLUVXAZx2f6Al3/mW1CF2iYO97Ng8N3Kr/nXIp woOA== X-Gm-Message-State: AOAM5306prVFPnDFbzALBO4hEAW2HqRnbyB//SZj+4dXDDavdjsAHMB0 cesAJOmTIuDV9a4bDY47P8QUkg== X-Received: by 2002:a1c:e284:: with SMTP id z126mr1717895wmg.108.1622018870506; Wed, 26 May 2021 01:47:50 -0700 (PDT) Received: from dell.default ([91.110.221.223]) by smtp.gmail.com with ESMTPSA id l18sm18911918wrt.97.2021.05.26.01.47.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 May 2021 01:47:50 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Alex Deucher , =?UTF-8?q?Christian=20K=C3=B6nig?= , David Airlie , Daniel Vetter , Sumit Semwal , amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-media@vger.kernel.org, linaro-mm-sig@lists.linaro.org Subject: [PATCH 19/34] drm/amd/amdgpu/amdgpu_device: Make local function static Date: Wed, 26 May 2021 09:47:11 +0100 Message-Id: <20210526084726.552052-20-lee.jones@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210526084726.552052-1-lee.jones@linaro.org> References: <20210526084726.552052-1-lee.jones@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/amdgpu_device.c:4624:6: warning: no previous prototype for ‘amdgpu_device_recheck_guilty_jobs’ [-Wmissing-prototypes] Cc: Alex Deucher Cc: "Christian König" Cc: David Airlie Cc: Daniel Vetter Cc: Sumit Semwal Cc: amd-gfx@lists.freedesktop.org Cc: dri-devel@lists.freedesktop.org Cc: linux-media@vger.kernel.org Cc: linaro-mm-sig@lists.linaro.org Signed-off-by: Lee Jones --- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c index 4a040f89ca5aa..f15e180762d2e 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c @@ -4692,7 +4692,7 @@ static int amdgpu_device_suspend_display_audio(struct amdgpu_device *adev) return 0; } -void amdgpu_device_recheck_guilty_jobs( +static void amdgpu_device_recheck_guilty_jobs( struct amdgpu_device *adev, struct list_head *device_list_handle, struct amdgpu_reset_context *reset_context) { -- 2.31.1