Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp3943297ybl; Mon, 27 Jan 2020 13:27:48 -0800 (PST) X-Google-Smtp-Source: APXvYqxBHfshixi9mfqydZDheuCH/6RR6JMoMa1A/RAIsvU2GeBSqWzapab/GrRAKNO79OEsKa1o X-Received: by 2002:a05:6830:194:: with SMTP id q20mr14573984ota.92.1580160467946; Mon, 27 Jan 2020 13:27:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580160467; cv=none; d=google.com; s=arc-20160816; b=D1lMZ3X30SPaMMtIRXiekae7JdYUMYa56b0AL5uQCykG29vbJI8cLWqGjyi7yKjnhj PgACNj+3cRrGoAzOsFH83wIpxXHRKbOY+BeHn2GSTofJ7cnomAEF/A/z2yYtAEh0IWhQ FTaPQh6CYn7IKii8bfV1Rl2+v+e36SQ0SxvH9Mtio+MQhRduA+COWQyXqR9lcZEtm2so ZV99srCHEtGAioVFvqCEHEnfXP6jZ6jZoElZ1WeX8bdmsaZsPXtE9PnMcrg5rYkdzU2u R17vxzmcpZs0e7JdFHWkHvr+yZh76KCj1gDDzDzZq67n2ZlWKtOXNbyjteRTMtpZ9H7d j+Lg== 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=A/Q0g44oWPdqowJzrHL4IV1A+Ko85OnlJunlTa8Py64=; b=ExZPswWVSCNgkmneysqRo6mTteZgq+2QIauBAXpmHIuJeH3AwDkt3QVnE8AqahB0xN eQO0/FDq4e+9B2oXyPaMcN+FH+tcWszpzjWoiXYC0463Xzgi15X5nYxYDCX2NQzbrV/x BLzWzBqzmV+qSr0S0ULTGJnQ8IfMwOb/zt4gZfFu9HZ6mrdMwKqv2qvZyc4cHD7Kn7+V e/FMIeVxL9vmfJ8QDuFmmKbNuX4qYP78wQ8hKxkaMUoodAhnLV46Kn2j5+OK4gfTpchk Dc4bg8r3wBe7RaEez0vsWG9YYJC+qyZX5Nsvf3DLXhSK9mArNYz40q/+O9WS6C2qObTy /RcA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u13si3677604otg.56.2020.01.27.13.27.35; Mon, 27 Jan 2020 13:27:47 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726267AbgA0V0n (ORCPT + 99 others); Mon, 27 Jan 2020 16:26:43 -0500 Received: from ms.lwn.net ([45.79.88.28]:36098 "EHLO ms.lwn.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725955AbgA0V0n (ORCPT ); Mon, 27 Jan 2020 16:26:43 -0500 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 BF0ED7DF; Mon, 27 Jan 2020 21:26:42 +0000 (UTC) Date: Mon, 27 Jan 2020 14:26:41 -0700 From: Jonathan Corbet To: Geert Uytterhoeven Cc: Mauro Carvalho Chehab , Jani Nikula , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] scripts/find-unused-docs: Fix massive false positives Message-ID: <20200127142641.6e865467@lwn.net> In-Reply-To: <20200127093107.26401-1-geert+renesas@glider.be> References: <20200127093107.26401-1-geert+renesas@glider.be> 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 Mon, 27 Jan 2020 10:31:07 +0100 Geert Uytterhoeven wrote: > scripts/find-unused-docs.sh invokes scripts/kernel-doc to find out if a > source file contains kerneldoc or not. > > However, as it passes the no longer supported "-text" option to > scripts/kernel-doc, the latter prints out its help text, causing all > files to be considered containing kerneldoc. > > Get rid of these false positives by removing the no longer supported > "-text" option from the scripts/kernel-doc invocation. > > Fixes: b05142675310d2ac ("scripts: kernel-doc: get rid of unused output formats") > Signed-off-by: Geert Uytterhoeven Sigh, I guess I should have tried that script before telling people to use it. Thanks for the fix; I've applied it with a CC: stable tag. jon