Message ID | 20240108003700.13418-1-rdunlap@infradead.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-19029-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:37c1:b0:101:2151:f287 with SMTP id y1csp765636dyq; Sun, 7 Jan 2024 16:37:25 -0800 (PST) X-Google-Smtp-Source: AGHT+IED68JWfb2OGUTW1V5ELXt8YmlqFo5NioqPB+Aoh91byF6O0ePnssPNYSh3s7DDVFVTiqMt X-Received: by 2002:a05:6512:3e11:b0:50e:6b5d:59fa with SMTP id i17-20020a0565123e1100b0050e6b5d59famr1477660lfv.4.1704674244901; Sun, 07 Jan 2024 16:37:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704674244; cv=none; d=google.com; s=arc-20160816; b=rbKqYnalRS1lueMGqHPXTsD1bXBglVKI8SpKyMP1nbVCSdn0JfmCzO1z+JkXar9VEr nRys3tebA1cwXXBoVWuJfvJVKzEvlikLRvgtGRnVUL8ZuY0RL7biQndOo4ZHFN3dsYWs qp9sIZqdxDswUCMM/4F7N07ht4Ke98QpR/z7R7ljOosUNBjG/dniuJ6v9X2UsscmzCKj OA1slyBlgy5EQ9B59rpJs3bRJLO2fU8fi5cRRb8MywKvdyAKbYEKRSL5VkC6LcM0lGEj QwdIo8uUBG2d0In8Ivh9UymL4A+2cntJODaLdCohPZTq+wW7x1MxKb/srGhwYXITOLXt VArA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=3bMaMkziS0/N+UDamXhqPcO/Lypj3kmw4TlMaIlfB4o=; fh=Gt5JS598BYSpTXO95MfIQFb7GsHjBSuareMMdhO+8I8=; b=vJrigLggbZp9+KR9TAYIIoHHfhM8THjYhfhfBc48rCpzpnj4cXOMZpVpCVZXCwmXJY CtvRpEDddDBrxqs+MesKZb7AnRNAnq9FlcEQ7Pv/7MuPkKA9Tq54hSY1rGRbfECPFujR 3rA23lYdgntwfZaJMnYa2LBS3GlizApRssL2ffIjNGCFRS1rzVH6k6mvZcPo/1KUjFrl egTiASishXsICXCkx5TqsdASgJkm0NV/3V9UDoLkBMJXARqdzryQN8Cz1Sw0LyitUcoZ HiC+b7vkcD9kf5vgMqonqwaPbSpfqRQYKTc50rB2/wxwZENnKnUsqD/njo14vUNH3bbJ Licw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=nPGrkrNr; spf=pass (google.com: domain of linux-kernel+bounces-19029-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-19029-ouuuleilei=gmail.com@vger.kernel.org" Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id y4-20020a056402358400b0055651b67763si2720855edc.47.2024.01.07.16.37.24 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 07 Jan 2024 16:37:24 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-19029-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=nPGrkrNr; spf=pass (google.com: domain of linux-kernel+bounces-19029-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-19029-ouuuleilei=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 am.mirrors.kernel.org (Postfix) with ESMTPS id 712EF1F21666 for <ouuuleilei@gmail.com>; Mon, 8 Jan 2024 00:37:24 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B7B15881F; Mon, 8 Jan 2024 00:37:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="nPGrkrNr" 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 689055CB0; Mon, 8 Jan 2024 00:37:02 +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: MIME-Version:Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:In-Reply-To:References; bh=3bMaMkziS0/N+UDamXhqPcO/Lypj3kmw4TlMaIlfB4o=; b=nPGrkrNrjpUqicje19YYn42kvj FsVR3ie557JMeoyvi4Yf0DSjANmIfuzFpoyVxtmF983FclU487u/M1KnNUud/NHizdWEOM0nFJfnu V40DGhVtCsvbq5bxBqm6sHsPyelbvJqtwrIlatpWN11tEIx6fKfw3gn/dKVXsgda/eNSivLbTIDLZ suG5LzhiYIu+b9jNHXz5i2Fr6eSuKGZRpkhPGYGEofjVNgK6i/r4qyC1F0glh7c5XzURf9zH35dGf K5NyigXzVJWEJOQePXq3Znb3yKWoI8+WdiQxnumfo3wz2KD8tzxZ3lYGgpZGCmH1c8UiGu5dxhuz1 NNh2Mi1w==; Received: from [50.53.46.231] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1rMddV-003lj6-08; Mon, 08 Jan 2024 00:37:01 +0000 From: Randy Dunlap <rdunlap@infradead.org> To: linux-kernel@vger.kernel.org Cc: Randy Dunlap <rdunlap@infradead.org>, Jonathan Corbet <corbet@lwn.net>, linux-doc@vger.kernel.org Subject: [PATCH] kernel-doc: drop looking for "MACDOC" Date: Sun, 7 Jan 2024 16:37:00 -0800 Message-ID: <20240108003700.13418-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1787480501078182286 X-GMAIL-MSGID: 1787480501078182286 |
Series |
kernel-doc: drop looking for "MACDOC"
|
|
Commit Message
Randy Dunlap
Jan. 8, 2024, 12:37 a.m. UTC
Linux kernel does not use "MACDOC" in any documenation or any
source files, so stop searching for it.
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: linux-doc@vger.kernel.org
---
scripts/kernel-doc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Comments
Randy Dunlap <rdunlap@infradead.org> writes: > Linux kernel does not use "MACDOC" in any documenation or any > source files, so stop searching for it. > > Signed-off-by: Randy Dunlap <rdunlap@infradead.org> > Cc: Jonathan Corbet <corbet@lwn.net> > Cc: linux-doc@vger.kernel.org > --- > scripts/kernel-doc | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff -- a/scripts/kernel-doc b/scripts/kernel-doc > --- a/scripts/kernel-doc > +++ b/scripts/kernel-doc > @@ -1907,7 +1907,7 @@ sub process_proto_function($$) { > > $x =~ s@\/\/.*$@@gos; # strip C99-style comments to end of line > > - if ($x =~ m#\s*/\*\s+MACDOC\s*#io || ($x =~ /^#/ && $x !~ /^#\s*define/)) { > + if ($x =~ /^#/ && $x !~ /^#\s*define/) { > # do nothing > } Applied, thanks. jon
Randy Dunlap <rdunlap@infradead.org> writes: > Linux kernel does not use "MACDOC" in any documenation or any > source files, so stop searching for it. > > Signed-off-by: Randy Dunlap <rdunlap@infradead.org> > Cc: Jonathan Corbet <corbet@lwn.net> > Cc: linux-doc@vger.kernel.org > --- > scripts/kernel-doc | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff -- a/scripts/kernel-doc b/scripts/kernel-doc > --- a/scripts/kernel-doc > +++ b/scripts/kernel-doc > @@ -1907,7 +1907,7 @@ sub process_proto_function($$) { > > $x =~ s@\/\/.*$@@gos; # strip C99-style comments to end of line > > - if ($x =~ m#\s*/\*\s+MACDOC\s*#io || ($x =~ /^#/ && $x !~ /^#\s*define/)) { > + if ($x =~ /^#/ && $x !~ /^#\s*define/) { > # do nothing > } Applied, thanks. jon
diff -- a/scripts/kernel-doc b/scripts/kernel-doc --- a/scripts/kernel-doc +++ b/scripts/kernel-doc @@ -1907,7 +1907,7 @@ sub process_proto_function($$) { $x =~ s@\/\/.*$@@gos; # strip C99-style comments to end of line - if ($x =~ m#\s*/\*\s+MACDOC\s*#io || ($x =~ /^#/ && $x !~ /^#\s*define/)) { + if ($x =~ /^#/ && $x !~ /^#\s*define/) { # do nothing } elsif ($x =~ /([^\{]*)/) {