Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp117485pxj; Thu, 20 May 2021 05:50:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxqEk86Nr9Lw3jM/V7L8UHjFwesodSlsOLk+36bgkly+wy0qfPd/COJyZQHu/IGUxyHlrJa X-Received: by 2002:a17:906:16d2:: with SMTP id t18mr4543043ejd.277.1621515038381; Thu, 20 May 2021 05:50:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621515038; cv=none; d=google.com; s=arc-20160816; b=oRn2ZQZdkBf3/iulGkpp+GyW6zJZc8Z9h2BRYVpHhoOuLbWfjgN5bTxLeaJWq7gS5B crFWvvORCFkvVdkI6olDedAGbyrNCLfTBdXP2RiJ/OnMgpDaLKj7iznvWXUWRhzH/kjw QsYRK48Xp/0tnyDf0umF+MLZ7zfkavaWWatqmlifomiGaE7IYnEDLFfVZOt2iXHgi8Ac duRuTz9c2gERUZf33YGrQZ+y3I77JuS4C35LpZ45QeDYVW80nilp8bKUyMNLwggWHG4D tZzB1SsOpbBwi/MJvc9fpktMdV/5tCqSagY+pxs3+M2PiJ4pkMubt3m7ZArc2dkF18Vb APIg== 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=6mgshcP2pz5KQTmITqtWPb+8Vos4vgRG6+nB+UjzMjU=; b=DxDqrhFtfRc76tBPLni3CifCcopUNeevS3QhgmC9XJ4jAl5brRhaaVqfP/iI95uW/d PX6bZYyOY0dMRZzCuxdeYuR2AMDcFtkeZlKK2BxOD/oqZNS5NsZE3lPNHRTqhdU3pnuI kgymUfz1R3x+MSp74KYTUzodGCQrRa9XXPrExZK/+E3mVpynyuZL9czOsoWOIi40fP1m fhlpQDJfbP0aatCOpEMJoxpB0vhISZQFWfYRucLes3vxnFf1gWEtDEdTZZHrT141/27w oKiW9wsq0kJ0+xs/d7ZnUVyUoBzcgPeJ1Z6vvltHseWOIYhe5Ed2YcnzMV60Y/zxHvn5 hcYQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=tUt9PCzC; 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 y10si2440073ejp.136.2021.05.20.05.50.13; Thu, 20 May 2021 05:50:38 -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=tUt9PCzC; 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 S240088AbhETMr6 (ORCPT + 99 others); Thu, 20 May 2021 08:47:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59084 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242935AbhETMoc (ORCPT ); Thu, 20 May 2021 08:44:32 -0400 Received: from mail-wm1-x32a.google.com (mail-wm1-x32a.google.com [IPv6:2a00:1450:4864:20::32a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8A349C069147 for ; Thu, 20 May 2021 05:03:42 -0700 (PDT) Received: by mail-wm1-x32a.google.com with SMTP id f6-20020a1c1f060000b0290175ca89f698so5255471wmf.5 for ; Thu, 20 May 2021 05:03:42 -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=6mgshcP2pz5KQTmITqtWPb+8Vos4vgRG6+nB+UjzMjU=; b=tUt9PCzCAgYSzeHm+P1Ghip4HpN8YnHaAQec9JZBmLu/UiSm3dqz+0Eq4AUl1JeewR GPJihct9FOVQk7MB2BFf56q8fgx85aYR1AVv4Qb6uC8h6Ig9DVcUY7MNDzmrmoDmnIVb b/aDxqtCCaItHxQN4Vue6SffHLJ7GJRadEFaztJ5Q8avyChaDNrAD+Ve16oA+kOl3BzC I4cIFXOmH4nMVxIsG+Ishev7ik97tI0aY9qluBFyK3K2uGqRy9bxMoPdkvr2l4hkolMs M8aDaXX0uZ1vnu1y9mtQxAFhZKb3Dmtkr/iNiF1oT3caN0gj4X66CvQgpZcatQCGQTDQ Ig2g== 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=6mgshcP2pz5KQTmITqtWPb+8Vos4vgRG6+nB+UjzMjU=; b=plkLqpCemMK0fF0AYLJFtdk/2TMnZlMUpT9Jm6Hv//GJbFsQmlLFdrtj4ioAq/ZHf3 kHHdLRyqDBUAhFnN00gUGhR1nOJtg+A7wasw2yUdp3fq4rX1NLVUlsXiE8q85rz1dj12 WmOfoEWpCeG9NIm2geNMcVz60fwqJjl/khSv1C31uyMYu/w6BiS7joAQpujeCUdpP6CK 7ZbU/3D990fLii+uWKI72hb0GWfcen6+Ywm2V6SOAI48IISw+cXFl9rCRbCYGiqgBUMH dwXAlVStdRfSjmU7ISsfEX0CHzGs00Y0aPazQXa7tzhIOOUtxkhJ+fbI1V9tf6bdKx/H kEIw== X-Gm-Message-State: AOAM531xUh5euZtCPHl/ml6bdbsBlCRKwzr2zQJgrkXE8soKoaBCYW0b 03K+yddzTW0u5Y02c7FYC5p4tg== X-Received: by 2002:a05:600c:2054:: with SMTP id p20mr3758231wmg.165.1621512221171; Thu, 20 May 2021 05:03:41 -0700 (PDT) Received: from dell.default ([91.110.221.215]) by smtp.gmail.com with ESMTPSA id j10sm2886332wrt.32.2021.05.20.05.03.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 May 2021 05:03:40 -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 , Hawking Zhang , amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org Subject: [PATCH 38/38] drm/amd/amdgpu/smuio_v13_0: Realign 'smuio_v13_0_is_host_gpu_xgmi_supported()' header Date: Thu, 20 May 2021 13:02:48 +0100 Message-Id: <20210520120248.3464013-39-lee.jones@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210520120248.3464013-1-lee.jones@linaro.org> References: <20210520120248.3464013-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/smuio_v13_0.c:99: warning: expecting prototype for smuio_v13_0_supports_host_gpu_xgmi(). Prototype was for smuio_v13_0_is_host_gpu_xgmi_supported() instead Cc: Alex Deucher Cc: "Christian König" Cc: David Airlie Cc: Daniel Vetter Cc: Hawking Zhang Cc: amd-gfx@lists.freedesktop.org Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/amd/amdgpu/smuio_v13_0.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/smuio_v13_0.c b/drivers/gpu/drm/amd/amdgpu/smuio_v13_0.c index 3c47c94846d6d..39b7c206770f6 100644 --- a/drivers/gpu/drm/amd/amdgpu/smuio_v13_0.c +++ b/drivers/gpu/drm/amd/amdgpu/smuio_v13_0.c @@ -106,7 +106,7 @@ static u32 smuio_v13_0_get_socket_id(struct amdgpu_device *adev) } /** - * smuio_v13_0_supports_host_gpu_xgmi - detect xgmi interface between cpu and gpu/s. + * smuio_v13_0_is_host_gpu_xgmi_supported - detect xgmi interface between cpu and gpu/s. * * @adev: amdgpu device pointer * -- 2.31.1