Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp6807977rdb; Fri, 15 Dec 2023 08:49:48 -0800 (PST) X-Google-Smtp-Source: AGHT+IFiuCk1Ozw3SCK6GWP6au3mNE1VPi7gfZhiJjQlJCOyff14wGkyLvmGExJ1Y180wrYx8h/j X-Received: by 2002:a05:6a00:1254:b0:6ce:1001:2eeb with SMTP id u20-20020a056a00125400b006ce10012eebmr7750463pfi.17.1702658988492; Fri, 15 Dec 2023 08:49:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702658988; cv=none; d=google.com; s=arc-20160816; b=TPD/H4A1L+5S/2I5mNkDsKvxL3ZAc+XL8fgl19OHkd3dp4c5TJVGdacCZXd/1vsQXK SrTnIA5gM5ktxW+1FuFekX1XlhkSNcfEL4sCs78eOj03gZw9NfeWd9Is7hmAt09m4DcT 4I4Qtp+gQCCf/7lFF/Y+6hOcVQVxQ75Y7p9lY4VLL4Htiqemt2GXznk7v7ZOr4k5J5e/ qC1K6oxGrKA6YxE7Xj72RLmQ7zs/iLU1tOqaNsPQ4BXMyeHWkUEoXoX2HsVHI6XG/znh AhAAmyELUdR/f05dsSdNegi783CQkGAZ0uIXqddIRTtgmsQNr8s7cigzIiNALbqF+zU8 b6Yg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=56+Wae/xX9CIF/Rb17HxT31PTyujjzTbsxy+sp2Y1vA=; fh=ZLku6cBV7uVYn39hMw0xdiM5DXKuWVKl0qMy5kbzHdY=; b=V0sKMXXZKWaxCmn8brziAqk4X9oX+vD00p3gwJqpM49g04PCMdgagmZ1YSF10MUfaf CsutWEyEvkuAk2w+R9uRM7C5oeeLhrPL+I7mrcY+VlyhPKxUqpfUzzq6ot0fmXNvlFXh YXDngYFcaYuMDCxxb1N2JHIS6X4NFORfvq0NRBpgVu23+zqXVOGR8L3cZgMNFsuOrcfz /b5Yss2+JP3g8h+WA5pCygR+BwFh4zj3jzcZIFdFlUmpv1xGZyPD/R/JY8w3EGCPUSOP V2Nwo3cRHWEQFFo3uCCnJgpYCeeySl0Dg2TInzBwgSBR65O28N7PQkAa+srPGbd85xMp HtnA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=GlwvFBbS; spf=pass (google.com: domain of linux-kernel+bounces-1329-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-1329-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id x34-20020a056a0018a200b006ce9b9901e3si13308170pfh.156.2023.12.15.08.49.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Dec 2023 08:49:48 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-1329-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=GlwvFBbS; spf=pass (google.com: domain of linux-kernel+bounces-1329-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-1329-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 2C94328410B for ; Fri, 15 Dec 2023 16:49:48 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7D5733E489; Fri, 15 Dec 2023 16:49:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="GlwvFBbS" X-Original-To: linux-kernel@vger.kernel.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E7B5C25546; Fri, 15 Dec 2023 16:49:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: Content-Type:In-Reply-To:From:References:Cc:To:Subject:MIME-Version:Date: Message-ID:Sender:Reply-To:Content-ID:Content-Description; bh=56+Wae/xX9CIF/Rb17HxT31PTyujjzTbsxy+sp2Y1vA=; b=GlwvFBbSvLeKzj0bgyCL8gJ9SX j6jK5r4uA2qjfS9oos86V7tLq6rmiL7blM7qk+kWqZTWOY3pnE+EqF0o4VN8IaiJxE5shdE9+wPwl YXTort9mUAZBpvow1tPlpX4GXAFt/osQP+BJK1HjLyS6HCpJrpL5dAZUvdGueuOvOlZETt/vwzDwq oS8tHmaWd/7EPyBd6kS1ynzNMV99Yfe5aTY1Y2s61y2Pz43ixo7rEOFT6zliPsFM18UQr2KJF2we5 27d1omiYQ8/UgXkhC0Bz/HHWWaHIz6YxCQXAy+mNo7QEccRBVeYfBVLLSbWPX6jnPaD8KITGQwPCq nkZ6Le3A==; Received: from [50.53.46.231] (helo=[192.168.254.15]) by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1rEBNa-003vcV-1c; Fri, 15 Dec 2023 16:49:38 +0000 Message-ID: <03c0b3bd-5798-4066-964e-a884485fe1d3@infradead.org> Date: Fri, 15 Dec 2023 08:49:37 -0800 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v1 1/1] kernel-doc: Aling quick help and the code Content-Language: en-US To: Andy Shevchenko , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Jonathan Corbet References: <20231215150341.1996720-1-andriy.shevchenko@linux.intel.com> From: Randy Dunlap In-Reply-To: <20231215150341.1996720-1-andriy.shevchenko@linux.intel.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 12/15/23 07:03, Andy Shevchenko wrote: > The update to the quick help mentions -Wshort-description, but > code never supported for that. Align that with the code by allowing > both: -Wshort-description and -Wshort-desc. > > Fixes: 56b0f453db74 ("kernel-doc: don't let V=1 change outcome") > Signed-off-by: Andy Shevchenko Reviewed-by: Randy Dunlap Thanks. (Note: in Subject, s/Aling/Align/) > --- > scripts/kernel-doc | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/scripts/kernel-doc b/scripts/kernel-doc > index 0a890fe4d22b..7d7ed3e43946 100755 > --- a/scripts/kernel-doc > +++ b/scripts/kernel-doc > @@ -23,7 +23,7 @@ kernel-doc - Print formatted kernel documentation to stdout > > =head1 SYNOPSIS > > - kernel-doc [-h] [-v] [-Werror] [-Wall] [-Wreturn] [-Wshort-description] [-Wcontents-before-sections] > + kernel-doc [-h] [-v] [-Werror] [-Wall] [-Wreturn] [-Wshort-desc[ription]] [-Wcontents-before-sections] > [ -man | > -rst [-sphinx-version VERSION] [-enable-lineno] | > -none > @@ -328,7 +328,7 @@ while ($ARGV[0] =~ m/^--?(.*)/) { > $Werror = 1; > } elsif ($cmd eq "Wreturn") { > $Wreturn = 1; > - } elsif ($cmd eq "Wshort-desc") { > + } elsif ($cmd eq "Wshort-desc" or $cmd eq "Wshort-description") { > $Wshort_desc = 1; > } elsif ($cmd eq "Wcontents-before-sections") { > $Wcontents_before_sections = 1; -- #Randy https://people.kernel.org/tglx/notes-about-netiquette https://subspace.kernel.org/etiquette.html