Received: by 2002:a05:7412:98c1:b0:fa:551:50a7 with SMTP id kc1csp1360790rdb; Sun, 7 Jan 2024 16:37:14 -0800 (PST) X-Google-Smtp-Source: AGHT+IHLa6n3uP4crbJo1Yx5CBNMIC1ITuWR5kNHSWORc0OnfZWHmmY8lQoNovfgGRbMt0eEyubo X-Received: by 2002:a17:902:fc8f:b0:1d3:a0b8:c4dd with SMTP id mf15-20020a170902fc8f00b001d3a0b8c4ddmr3246963plb.118.1704674233959; Sun, 07 Jan 2024 16:37:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704674233; cv=none; d=google.com; s=arc-20160816; b=Dux5Pco+EKdWc5LqhXLxNn31jOFK8Ccpuop5aPRRCV5LcNBmLdUDP2zdQSw7wfbyW9 IK9r2/9YonHKtuvr9bclFVG28n1skQPksPxzox5ewXkQFWHZRV/LicTwJlO8Jioguvtq bvrfJAWxyPDcIbftItWiAOflgFX7swpe3cy7IBMM4e18YtoDFxYakjC8BKfZpE72n7nS K8qQoLHVxa2h+R02w5osrkIOAuixed7+kdKdOuSEmQlrX5ubZxAvq+GZIuvs2KNUqdkA TDiGSqjJl8QbKoINdq8r6qNol+gTqNRZiUegWQdWVOdxFBXCUwgfDah1dhPyf6CISXFC NwAQ== 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-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-19029-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 l10-20020a170903120a00b001d495d6aeeesi5311916plh.336.2024.01.07.16.37.13 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 07 Jan 2024 16:37:13 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-19029-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=nPGrkrNr; spf=pass (google.com: domain of linux-kernel+bounces-19029-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-19029-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 A25D52819C0 for ; Mon, 8 Jan 2024 00:37:13 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D7EB47F; Mon, 8 Jan 2024 00:37:05 +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 To: linux-kernel@vger.kernel.org Cc: Randy Dunlap , Jonathan Corbet , 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: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Linux kernel does not use "MACDOC" in any documenation or any source files, so stop searching for it. Signed-off-by: Randy Dunlap Cc: Jonathan Corbet 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 } elsif ($x =~ /([^\{]*)/) {