Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp716895pxj; Thu, 20 May 2021 20:55:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxsP5ziL52CbdN+MK6yqtddsy4onExXI0A90IOVC42q3n1q0uDdg0mLqV1XEGXxGNQgytMO X-Received: by 2002:a17:906:854e:: with SMTP id h14mr7995297ejy.455.1621569353450; Thu, 20 May 2021 20:55:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621569353; cv=none; d=google.com; s=arc-20160816; b=dnmh1DTfVL8qvNFo7aJd1qIlcKgfGckcvyXUOtL4fm23v8Ar4BtX4ZA0MS080JcMy/ xHMqJiWA+KB/W7LSmeMxnVhPlFAxX1jqMZshBJWroaAswM+0wsTsc6XaJ7s6oG8Z9pDy FXvBuhgakVgIOkBs9o9n4VxTzDUZx79dXYizDgkLj3fO6ggCQL4BpI54/mm5x1er1Pya 7OUhZzIbdXX64anVNnwfssL8r/jFo9STTa7MSlXS3bQ98kFwV+rjbdpYgaPIr8RZcS8Z KiLiv1zMrH9QVyZwmYLrNifN9Zl0X1EovKN1gd5ccKjbZBukcU76Q2J5/DUI0mnq0x23 vZbw== 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=erxm+Xcrd7+qygxkCLKKNU6rbI+w3lNDzPu8B/httcU=; b=FwpXOwo7vYH0xO+tZcpzlpZsLThaGMNNwtsY/IB/o22RZyiRUvcl8d8zKWodMwbOZx puMHIAPFkSHZ7HOPke9EB4m2TqqKsZ9vEgUfhD89raWxAkCG7WCE0qejQa5V8RYHGcT8 h2iBgkrX1lt6kIFIiRKd46qjQoFPhli5ZxkfQsKLmN/5BvZSqlv4oIQimZyN9NwzzEpI aBwPVynFLQ2nbv0NI8mdWCONuxw8XcpW6WEINqHFhyyy3l8J++GTe+3AkBuxU2iLESLA kKrtAoyyfP5YkmNxS/+/sZZ+WY1x22Er9y3OeznjsIxPmw5IRm/k/dC4KvrkO7Chn6Jw 9KAg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=OE1cmOea; 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 d24si3910443edp.529.2021.05.20.20.55.30; Thu, 20 May 2021 20:55:53 -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=OE1cmOea; 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 S242803AbhETMpJ (ORCPT + 99 others); Thu, 20 May 2021 08:45:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58180 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238336AbhETMnV (ORCPT ); Thu, 20 May 2021 08:43:21 -0400 Received: from mail-wr1-x42b.google.com (mail-wr1-x42b.google.com [IPv6:2a00:1450:4864:20::42b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 987AFC056491 for ; Thu, 20 May 2021 05:03:04 -0700 (PDT) Received: by mail-wr1-x42b.google.com with SMTP id q5so17383312wrs.4 for ; Thu, 20 May 2021 05:03:04 -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=erxm+Xcrd7+qygxkCLKKNU6rbI+w3lNDzPu8B/httcU=; b=OE1cmOeal6mPQ3zY2RJYNzLtzyM0CyRa/eBZHVQFbLPbo4XxFRKmFTfyjaRvKhOasA hsZjqbS+YYSXLp0jBQp9nvLozK2NuK4+EZXBYKlK/zb+ZI5ALEfDhcrouqo71EsiWyGl dpRYBbKFuPPVmDWnZFYucI6qPiXCOW2SI0++B+paB0abLzPN8pmtpqj9s8MZBLSLa1gF BOS1Y4mjTQipSdmTUML3II0zTQleLPhan2VJ4IaVPVI178JIN2NNaiQYqUFo4xEbJysy fCafIbHV0mLWXiEuaeESdDWjMqZIMKDL2IfpqSl0N6fhknVAhAmOTzgb1DAV0LKz/mT1 XpbQ== 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=erxm+Xcrd7+qygxkCLKKNU6rbI+w3lNDzPu8B/httcU=; b=a/XzBfhDrgk/kOkjFIgaunbzVaCKmDA4SGW0NtX0T3mkKasdKnjKS3DQdU3Jcdm6qx ToVlQFK9YUAhmsaqlZ1+AAHYWVaaCs1M33nI02u9w4W7Ky4dO0cjDaPLDdLZYNg7CbzH sjGGUDQUDk3P93ebkTy4yR8r21n8MGpMR7yD363h21kfiiMi5E82RNehprHZulESokvx GXQkpAuVOnag+mcdN9O2TubreJxT7T+aXGir8EP7EJfBK4dPsRKaHfbzXb3k5MElksav ssbyp61C5KsTcUa4TM/5AwwnzNX4dkgq7gdNK/hh5BMKIsCXxwZYKXSeaYtB83CJ+fWS UnVg== X-Gm-Message-State: AOAM533ysiLlbXih8kzTkwLfD/Olr89XkiSFe/iUAJUQPMvnaMZbC9xW eg+0rSu7D8MW71qu2K0SGC+ZoQ== X-Received: by 2002:a5d:50c7:: with SMTP id f7mr4037179wrt.189.1621512183252; Thu, 20 May 2021 05:03:03 -0700 (PDT) Received: from dell.default ([91.110.221.215]) by smtp.gmail.com with ESMTPSA id j10sm2886332wrt.32.2021.05.20.05.03.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 May 2021 05:03:02 -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 11/38] drm/amd/amdgpu/amdgpu_debugfs: Fix a couple of misnamed functions Date: Thu, 20 May 2021 13:02:21 +0100 Message-Id: <20210520120248.3464013-12-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/amdgpu_debugfs.c:1004: warning: expecting prototype for amdgpu_debugfs_regs_gfxoff_write(). Prototype was for amdgpu_debugfs_gfxoff_write() instead drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1053: warning: expecting prototype for amdgpu_debugfs_regs_gfxoff_status(). Prototype was for amdgpu_debugfs_gfxoff_read() instead 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_debugfs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c index bcaf271b39bf5..a9bbb0034e1ec 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c @@ -990,7 +990,7 @@ static ssize_t amdgpu_debugfs_gpr_read(struct file *f, char __user *buf, } /** - * amdgpu_debugfs_regs_gfxoff_write - Enable/disable GFXOFF + * amdgpu_debugfs_gfxoff_write - Enable/disable GFXOFF * * @f: open file handle * @buf: User buffer to write data from @@ -1041,7 +1041,7 @@ static ssize_t amdgpu_debugfs_gfxoff_write(struct file *f, const char __user *bu /** - * amdgpu_debugfs_regs_gfxoff_status - read gfxoff status + * amdgpu_debugfs_gfxoff_read - read gfxoff status * * @f: open file handle * @buf: User buffer to store read data in -- 2.31.1