Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp2217577ybh; Fri, 17 Jul 2020 12:07:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwVofGdPuzc5d4n6Wx5D3snH/sWYO74pmgUPPJb3sHX6fJmpJLYCVyPMJG5WZLtGbAn7jkw X-Received: by 2002:a17:907:42cb:: with SMTP id nz19mr9785937ejb.447.1595012848399; Fri, 17 Jul 2020 12:07:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595012848; cv=none; d=google.com; s=arc-20160816; b=INJ+TA9cj2wy+TYs3re9cVett9xnFZ3d34eEz2BJ0wIUD50xPz0cy7TBmcokS/Glpj i53uD1Eid5tfqg1YBTQIWWZfO1fitVwaYGMSfhVVXscA1fzyWMdi3gqEqFyF/mcxT9L5 agO/UxhZXmMaMWEEEoNuYfvn2BmkmFG3UPCv/KDrC3jAo4VJVSx02meFiTRDaENl6VPW z9sRR07fAmEsx3rS3gRnxiZmXHypIcqgyFFYnNkPdfqoqSdKbXTWehkGowzJylzuygHf V6jBP+3FnaZ0lZRf7MpOL2TAKhFUzQb+aCew25hTjB6UJK1kFqiQnn/ER69QTPw+bLyE d6EA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date; bh=jMxLFzV0+FpHqWCMQZWIxI3BkL7zGICrnXzSgjtv4B4=; b=umSoQKxwwfBptgeSHiwPFGR6+fVUat9E9nC8XuhLRCPuhgBrK5VLKtqRFI1rt8EK1W b7Z9TOr/recNlzRa7zvZ2n04el90QyZvB8z2q8xZ/QhPNhjOIYOjzgBRLNJ+29GfaPQj KCUJ0agvzDnds1/0ynuI3MUaj6C9NERzvY5GhdTpnzXRAHUfARimHCwGQWDlgcgFkOv2 eGycDUmik4tPC6c9Wg7f2f/22iBSAfakt9G3qxjuSClncJ/mKTw0JJNJKX20scI8dvz0 AYYFmSiIKBLCnibO9ls/fbzo5j5S6I8Eu4ZPL14SQyMzK8QRHFNr6oCroZxp+uKCjkZh Dnqg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v25si5654115eju.682.2020.07.17.12.07.05; Fri, 17 Jul 2020 12:07:28 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728188AbgGQTGz (ORCPT + 99 others); Fri, 17 Jul 2020 15:06:55 -0400 Received: from ms.lwn.net ([45.79.88.28]:36864 "EHLO ms.lwn.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727821AbgGQTGz (ORCPT ); Fri, 17 Jul 2020 15:06:55 -0400 Received: from lwn.net (localhost [127.0.0.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ms.lwn.net (Postfix) with ESMTPSA id E9992728; Fri, 17 Jul 2020 19:06:54 +0000 (UTC) Date: Fri, 17 Jul 2020 13:06:53 -0600 From: Jonathan Corbet To: "Daniel W. S. Almeida" Cc: mchehab@kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 01/25] Documentation: amdgpu_device_suspend: Fix sphinx warning Message-ID: <20200717130653.347d2f20@lwn.net> In-Reply-To: <20200717185624.2009393-1-dwlsalmeida@gmail.com> References: <20200717185624.2009393-1-dwlsalmeida@gmail.com> Organization: LWN.net MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 17 Jul 2020 15:56:00 -0300 "Daniel W. S. Almeida" wrote: > From: "Daniel W. S. Almeida" > > Fix this warning: > > warning: Excess function parameter 'suspend' description in > 'amdgpu_device_suspend' > > Signed-off-by: Daniel W. S. Almeida > --- > drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c > index a027a8f7b2819..9e67abe8d0aad 100644 > --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c > +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c > @@ -3377,7 +3377,6 @@ void amdgpu_device_fini(struct amdgpu_device *adev) > * amdgpu_device_suspend - initiate device suspend > * > * @dev: drm dev pointer > - * @suspend: suspend state > * @fbcon : notify the fbdev of suspend Thanks for working to improve the docs build! I do have a couple of requests, though: - Use get_maintainer.pl to create a proper list of recipients for your patches. Neither Mauro nor I should be applying patches to the DRM subsystem. - Please work on your subject lines; "fix warning" is rarely useful. What you have done here is to correct a kerneldoc comment, so the subject line should say "remove excess parameter in kerneldoc comment" or some such. Also look at commits in the DRM subsystem and try to follow their conventions in general. Those comments apply in similar form to the rest of the patches as well. Thanks, jon