Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp2050244pxu; Tue, 24 Nov 2020 15:54:09 -0800 (PST) X-Google-Smtp-Source: ABdhPJzHv8d5RO35Y5xtTEQmuLK/ib0f4vYgsLAsh1rq59xG0gg7Rl1gJdnYAon421GVyLFO3R1l X-Received: by 2002:a17:906:1c55:: with SMTP id l21mr763175ejg.547.1606262049525; Tue, 24 Nov 2020 15:54:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606262049; cv=none; d=google.com; s=arc-20160816; b=PdBvTdqFsNtf1vfDwc8nwDN8wkGA9FS+CWoH7k4HrnWDWi8dtUE+OkbSyRE0vqYFOy h60gLyIfeV9mbF5SJcljNMmLY/FShDMhKlbdrCQsZWCOlJQ7ptoRyn8MSv/PlfizlWDa lR0hK4jliZ8lhXVUxWsjfHkUb5y3bn3p4Rmfptc4lHuKkaDxDVgKiwERNLTlGWYw0iwv I+ZN5D3CmeKW7MvVpSfe0ElZbiBzZMuk6RuCAA4taqUzNkepRWVApoDrieZ3I1ZlrZS/ RTu7/FtVgW1L5qmMgq3+BcQiiLSrKzN6n/ztKnph1KpbbHlxJSrejLxjzZpsjzaNLJ6O MQsw== 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=FuE5YjSJzJI/M1RwfuDXt/n7B1wD8+1e0nH8PA2AEy4=; b=nCA8OEd0xBpAsEQZbkmKjNweyHLETPNB7iyXJvb2cjZYls1q3EwbaCwFzbLy2Y0SI+ lI1IB0PCjYs5nOH8n3Yd+mjqs2VdYcqDxXaO/mWB4vlZkDMrUpDB+WEHXlFoowf1PRqt 69DmDNbGsTrP7RxFazgtuMhxgYT3G3WIEbiTHLTw+VNgGxHjtnXO0dK5v+sAcTUxMKOu 90rtUlfyi9/pXiG71qvxBclisfnnoxZ2XlrO9ObabtDpZHLccvOmKbpAwvRvROmBVAIi rKhCWTDZjjhIpTdR7LT0kFvlcP+vn61F7yjQf/qm9vwTjUImUvk+dzbt2mLOReMvGAVj hSWQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Rx9agVcb; 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 go10si244991ejc.656.2020.11.24.15.53.46; Tue, 24 Nov 2020 15:54:09 -0800 (PST) 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=Rx9agVcb; 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 S1727940AbgKXTq3 (ORCPT + 99 others); Tue, 24 Nov 2020 14:46:29 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35666 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726889AbgKXToU (ORCPT ); Tue, 24 Nov 2020 14:44:20 -0500 Received: from mail-wr1-x443.google.com (mail-wr1-x443.google.com [IPv6:2a00:1450:4864:20::443]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B1256C061A51 for ; Tue, 24 Nov 2020 11:44:18 -0800 (PST) Received: by mail-wr1-x443.google.com with SMTP id i2so4501808wrs.4 for ; Tue, 24 Nov 2020 11:44:18 -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=FuE5YjSJzJI/M1RwfuDXt/n7B1wD8+1e0nH8PA2AEy4=; b=Rx9agVcbDlYfV56teggpfSalWJve64s1Kw/hncpiAqgMm+aBS0xzV7FVdksDeDAxMS w4qNTgYOtKMbhHzSZf0GbZUvDGQvQDp7kD6qQ4rEemO/k6ZAeeqDYqcnwFXuBwf9PRr5 cUIn/3NZs26RM98dauvvAMtXZUrwXq0gSo3HwoZgola+LlDzmPIMm7EiDgjUJnn+J27Z +GI/Dj19rZ2ok377NBLKf7l1ChRWRIXgaUF3pxHFnpYBAkqqgxxnjPXrwRvW5Nz8nQLN YB0Ulv7R5eN07q87F5Bq/AFjwOJGcspCsh6I8HM01549N+/oNeF4yHumttUL5Tzr2YqZ N7mw== 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=FuE5YjSJzJI/M1RwfuDXt/n7B1wD8+1e0nH8PA2AEy4=; b=VcDGlbUTeAuqOqaaVbDxb6GRh8RzuXQyhRDV4BtK0dFxNjcpM19KvSWjj5BXEJYj4M FYkfiZI8H3pakh+iJcCiQ3jZgPRqbisKMF5JmxOG+y0xSm+BuCKxGubM0kp5Qc72ki2x dhUYg1TmrOAwB7U2Ggc0U6aHLnCuvH5zintJ3ByDSaYaJAv8yjAlra7bQmN0VoXib1mX NyNKsjDmvmMODp94S4wgm/Kqgdh7H24Cx572NM72E4dBgQ0i5lNbYSR5t9+T7BAdNKXB XH+zMV4lSrE8vZbYIMLsHaHcvdCHs46cmFn6OvdXBRtGuALLCTo+cZE65zDMQb0Sv4bV v8xg== X-Gm-Message-State: AOAM530cx/e3O9DujAFpdZV/SAlHleq8QQOK40CQ6f+uQUBPJIiT8N8u IY2c/2AAbJCgJttHaX6n/tFoCg== X-Received: by 2002:adf:bd86:: with SMTP id l6mr65170wrh.205.1606247057491; Tue, 24 Nov 2020 11:44:17 -0800 (PST) Received: from dell.default ([91.110.221.235]) by smtp.gmail.com with ESMTPSA id d134sm200511wmd.8.2020.11.24.11.44.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Nov 2020 11:44:16 -0800 (PST) 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 15/40] drm/amd/amdgpu/gfx_v8_0: Functions must follow directly after their headers Date: Tue, 24 Nov 2020 19:37:59 +0000 Message-Id: <20201124193824.1118741-16-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201124193824.1118741-1-lee.jones@linaro.org> References: <20201124193824.1118741-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/gfx_v8_0.c:3698: warning: Excess function parameter 'adev' description in 'DEFAULT_SH_MEM_BASES' 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/gfx_v8_0.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c index 5e6d15f44560a..9a905531f8377 100644 --- a/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c +++ b/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c @@ -3687,6 +3687,7 @@ static void gfx_v8_0_setup_rb(struct amdgpu_device *adev) mutex_unlock(&adev->grbm_idx_mutex); } +#define DEFAULT_SH_MEM_BASES (0x6000) /** * gfx_v8_0_init_compute_vmid - gart enable * @@ -3695,7 +3696,6 @@ static void gfx_v8_0_setup_rb(struct amdgpu_device *adev) * Initialize compute vmid sh_mem registers * */ -#define DEFAULT_SH_MEM_BASES (0x6000) static void gfx_v8_0_init_compute_vmid(struct amdgpu_device *adev) { int i; -- 2.25.1