Received: by 2002:a05:7412:1703:b0:e2:908c:2ebd with SMTP id dm3csp330629rdb; Thu, 24 Aug 2023 07:26:45 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGqrTdF3lYQVPqHu0eNjk7w/w+7r22pZLG1UFgWfOBiDaiwcRxh2jT0u82h1uM1odJ2byIN X-Received: by 2002:a17:903:26cb:b0:1bc:98dd:e857 with SMTP id jg11-20020a17090326cb00b001bc98dde857mr15157465plb.38.1692887205043; Thu, 24 Aug 2023 07:26:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1692887205; cv=none; d=google.com; s=arc-20160816; b=nZDAeRs5XulRwmgiB2chE0gnj+W48bLgEW0iJ8BB7hVBnc+TQjwk4ShGGyut6CcF52 ZidGoasY8qPKy2jomC0DKgLZTcHDvSrdrg4mdAQFspI42ylGRJUJasUQ/VESoYXsKala y7ooLxeT7L+UOnd+qTyTMQDW+mNoazwHrzSNBz87lFN9yEkxqkpJHUq7qwwvEZ33EPi5 DtlBGFboUFoBpn5fyV+RSiNX3zJF+XhnzGueuuuNsQKa1d7egKiefg7yK4+vnwc8XFQy Ji1omBq0PRNu+ctCSX0toudG7qQESkY9GiXXl9JnAI9jkcsIMtNuExlVjFgKI/8sQawr Muiw== 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=qcgRRGtM+1wHVNFIqmOGM6PzAzyDEhF+5pVXVAjubxI=; fh=hQUDeG+PWYyuzybbFgKILHFBnI0CxqyfJH3dXOckPPE=; b=JmhcSx+6qHrzGeVlbneQy/kdmSlCTr7IQnQf0jzbR8K7j25Co/NccxBory241uuKkU JMRV08K8lLSXJAtZKOxoeUmxqE49ycVWt850OBmIuLJ9v4xIGLXuVGQqpTzoHZ9QjTox 0bXNhDxce2mEPJXVt/poyagzB2WsQkq/k2dbOE+A7/rp6UsyEn8mPLL4qzuPpWATEaXn l1jrwwd7xyJ3F956tzeMdguGi36o8OjxTd04Pb0u5PUG89cgWgKL8eZNHjF+Mlzgrc42 qF35zMUwvDUDajzg5mQcKsjcVnSAGfCwKeNw6ulFonxrA58XSDBJTPqKLhVBrT/4dxsG Rhlw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=jHuHQaGg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w12-20020a170902e88c00b001bbc61fedafsi14720371plg.422.2023.08.24.07.26.29; Thu, 24 Aug 2023 07:26:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=jHuHQaGg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240477AbjHXHih (ORCPT + 99 others); Thu, 24 Aug 2023 03:38:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54294 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240408AbjHXHh7 (ORCPT ); Thu, 24 Aug 2023 03:37:59 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A0C06C7 for ; Thu, 24 Aug 2023 00:37:57 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 408D162349 for ; Thu, 24 Aug 2023 07:37:57 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 551FFC433C9; Thu, 24 Aug 2023 07:37:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1692862676; bh=HAx36VxD8SeJ19cuhWARnMLzp3fwBWyVuZuUJYdgr/w=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=jHuHQaGg4Vb86jowcTNgkWiVaVeYdqTolC0e84zCxI8iISBvWduO+la86lew1mX5S yrHkH1eRcW1Ar0svfHOovGuWCJpKh+e7NsKP7UE9oez3OLiEy4caGPDBggU5pDFW61 8lXY1H+o3m5N8W19E4JZIAlwqZjssGSszLiJtwKHCQvxexYl+/3OE39X97kAKZXgO2 ZJkjcAwCA760dNQHuSnWRkdvk/yG6NyRqKKnuRkqrD8Vev8vrazo4AxJQZ95F2mKvw og5sbSAmypyfGTlS+JTu6aH6bmSiw6NT70BHJAkLs9SnmNI5fXuRlmqHlu1Jb31KPG Zyrb3ARi6Uh8Q== From: Lee Jones To: lee@kernel.org Cc: linux-kernel@vger.kernel.org, Alex Deucher , =?UTF-8?q?Christian=20K=C3=B6nig?= , "Pan, Xinhui" , David Airlie , Daniel Vetter , Shashank Sharma , amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org Subject: [PATCH 11/20] drm/amd/amdgpu/amdgpu_doorbell_mgr: Correct misdocumented param 'doorbell_index' Date: Thu, 24 Aug 2023 08:36:56 +0100 Message-ID: <20230824073710.2677348-12-lee@kernel.org> X-Mailer: git-send-email 2.42.0.rc1.204.g551eb34607-goog In-Reply-To: <20230824073710.2677348-1-lee@kernel.org> References: <20230824073710.2677348-1-lee@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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_doorbell_mgr.c:123: warning: Function parameter or member 'doorbell_index' not described in 'amdgpu_doorbell_index_on_bar' drivers/gpu/drm/amd/amdgpu/amdgpu_doorbell_mgr.c:123: warning: Excess function parameter 'db_index' description in 'amdgpu_doorbell_index_on_bar' Signed-off-by: Lee Jones --- Cc: Alex Deucher Cc: "Christian König" Cc: "Pan, Xinhui" Cc: David Airlie Cc: Daniel Vetter Cc: Shashank Sharma Cc: amd-gfx@lists.freedesktop.org Cc: dri-devel@lists.freedesktop.org --- drivers/gpu/drm/amd/amdgpu/amdgpu_doorbell_mgr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_doorbell_mgr.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_doorbell_mgr.c index da4be0bbb4466..d0249ada91d30 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_doorbell_mgr.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_doorbell_mgr.c @@ -113,7 +113,7 @@ void amdgpu_mm_wdoorbell64(struct amdgpu_device *adev, u32 index, u64 v) * * @adev: amdgpu_device pointer * @db_bo: doorbell object's bo - * @db_index: doorbell relative index in this doorbell object + * @doorbell_index: doorbell relative index in this doorbell object * * returns doorbell's absolute index in BAR */ -- 2.42.0.rc1.204.g551eb34607-goog