Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp848453pxj; Fri, 21 May 2021 00:03:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyJmtfDUGFTDQUVQ4m/mPzSXu4AeXrNzwm9EvyzBiU/+jrFX6E8yLQVYq6nsflrs+wGC2lN X-Received: by 2002:a17:906:3181:: with SMTP id 1mr8940510ejy.36.1621580616897; Fri, 21 May 2021 00:03:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621580616; cv=none; d=google.com; s=arc-20160816; b=YJLLwoi34pvWgj+fPykeKnVej1WqkLn5D1k8cgFfFlz4fmoQU3O082uO5FzuBw5IsW 0dso9aQrXXZ/UQXEGF+VDC7mdOhf1UNl5Zkfw60XtqIWFI0EmIwcBF/Wjp+l7JgN0GFQ Z/LoCUmnuhDSRrxsRUDASVP/ToiG2xybMiksE/miV1XF3oHbaG3UNsdQgzLhv+bYfsUs zBXCdPKy2WaG4RnVVNK9UKmBGHTRFXyz016N7R3jifoc+z08tOJz44aMU4oUYwu656HX MBqLI1HQ4u63aS5IadQGMbBZdtPuXBiBFEMWLVZgecF654j8pgp7hHGkUhKmAUvdLX/f S+Rw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=qZmqhErjNw9NpB4sTEi7TBGKOlHWpPlsaMkchqCd25U=; b=baHmECScob/gUPNIAc7p6CQOB/hxKtSyA0+n5jiaDwZ7Aux6dqd4aFjA/ZvwD+SrI/ arExeYxanIExyITUMyWANWHL7l9/7RSG6FICjUEdW8HJZihx9Y8uyp8i7/8mzq8lDe9V pPhUHoq/tHBgTVceoIvxB6Z2mgdIReGoHeKtXPB+ARiOrTse4PgH7JelM7iYNvvvCWMW TwA0yh67dFl16SWnM8KDmySJ+AVA9a10bEX7OBwGck5KDsuAbw7uiPZ6Di0x/wrDpPod XtyX+SF/NfR5rTodibZyRLHsxzBujN09GXx8HovaQn+0qO5xItTV932qDYFgB6oB+T5q LmEA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="VUk9UBH/"; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u16si6052501eje.91.2021.05.21.00.03.12; Fri, 21 May 2021 00:03:36 -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=@gmail.com header.s=20161025 header.b="VUk9UBH/"; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234559AbhETTLk (ORCPT + 99 others); Thu, 20 May 2021 15:11:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34884 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232667AbhETTLi (ORCPT ); Thu, 20 May 2021 15:11:38 -0400 Received: from mail-ot1-x332.google.com (mail-ot1-x332.google.com [IPv6:2607:f8b0:4864:20::332]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3B3D8C061574; Thu, 20 May 2021 12:10:15 -0700 (PDT) Received: by mail-ot1-x332.google.com with SMTP id t10-20020a05683022eab0290304ed8bc759so15807679otc.12; Thu, 20 May 2021 12:10:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=qZmqhErjNw9NpB4sTEi7TBGKOlHWpPlsaMkchqCd25U=; b=VUk9UBH/QcIR0qeCSyhDdMQ/L42ux4gncCKIrTFJFcDzd6FRRipqIKh8piNmD1KJnl kmHeFjswq2lFGSXDBDXUCEt1dLMwk6XSOgtK6Ax11cwQyipfUaJRO0Z6bHFj7Sf19SoB LJASG5MubLxCC7Dv0UYkWWlAwT1hTF6AFdkCqD5f/pSvAHyVWMELpLmJaV8XQZIv7eMZ n7Fw0Xpf1bwMUgAOMFuUhGe6cIyjjTMicraKgLuYtwvFkS0D8jNaRI0I40CCB527W60y ptF9CSJPC7NFp2kmV0GTbc2GoN1Qc2vNoo3XHRFV7uD2bnguZGzpNtbozHgPPM7XHbnx MmRw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=qZmqhErjNw9NpB4sTEi7TBGKOlHWpPlsaMkchqCd25U=; b=arB/cNQY32gvhU+zPAEInLr7ZMB4wDQq4iUax6o57qb4Hd4YZ+C8nzeRnTZNlyO6ma /Nwce/Sh03RPZ1y4RqUtcNicDXoe/BWYtlCdB4xpYZGQXqeOlasqOz5JqbIzRrPsHeBV N3XlwtuZzs9/5wop62Zy0WFwyukq9pSWAG/sagcc8fb20y7w0nwZMhX8uQvBgolRGRfE w3WfPih4SqPvoynBKvYzXL0HPj2i8uQLq5ZvUmhd/rM46xLiWGE0twz7YPqdzHBrmMUm e3xmODHGKFregK2/kMKKhAoug6kF44KIpLN1+bSbJVdJQ54DPRDgdzAfOeh+tcm6Fp+R u2iw== X-Gm-Message-State: AOAM533yATA0moqrxFA2DV3xyWjSwJZKHJsKSjtFHgllslkZY055+qRy NDWdmQi3NFUpNhYNY+U6oNpTxFDp+7tDs175bwXykPfC X-Received: by 2002:a9d:74c6:: with SMTP id a6mr5119212otl.132.1621537814661; Thu, 20 May 2021 12:10:14 -0700 (PDT) MIME-Version: 1.0 References: <20210520120248.3464013-1-lee.jones@linaro.org> <20210520120248.3464013-12-lee.jones@linaro.org> In-Reply-To: <20210520120248.3464013-12-lee.jones@linaro.org> From: Alex Deucher Date: Thu, 20 May 2021 15:10:03 -0400 Message-ID: Subject: Re: [PATCH 11/38] drm/amd/amdgpu/amdgpu_debugfs: Fix a couple of misnamed functions To: Lee Jones Cc: David Airlie , LKML , amd-gfx list , =?UTF-8?Q?Christian_K=C3=B6nig?= , "moderated list:DMA BUFFER SHARING FRAMEWORK" , Maling list - DRI developers , Alex Deucher , linux-media Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Applied. Thanks! Alex On Thu, May 20, 2021 at 8:03 AM Lee Jones wrote: > > Fixes the following W=3D1 kernel build warning(s): > > drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1004: warning: expecting pro= totype for amdgpu_debugfs_regs_gfxoff_write(). Prototype was for amdgpu_deb= ugfs_gfxoff_write() instead > drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1053: warning: expecting pro= totype for amdgpu_debugfs_regs_gfxoff_status(). Prototype was for amdgpu_de= bugfs_gfxoff_read() instead > > Cc: Alex Deucher > Cc: "Christian K=C3=B6nig" > 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/dr= m/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 f= ile *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 >