Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp6367553rdb; Thu, 14 Dec 2023 17:00:20 -0800 (PST) X-Google-Smtp-Source: AGHT+IGD2Q5to7TxLLgajbRswXpyPMGUtBvqPb8xatd2CkeMqwjfLfCFwWQliNrmv3ShLfG8LJFQ X-Received: by 2002:ac8:59c4:0:b0:425:7326:e9b8 with SMTP id f4-20020ac859c4000000b004257326e9b8mr16473939qtf.68.1702602020272; Thu, 14 Dec 2023 17:00:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702602020; cv=none; d=google.com; s=arc-20160816; b=HTma73jVBoVJAUUrq1DUVr7kpPgkGstv0eO7YKMBYiCQIEiTa6WcqPOSge0O7QzFft CUo+eYs7KRx/DffAdBTmT3GxVj4NQqzg3810uSnL1mrfMvLI0Ka9tZ0/WoXK+x1FRXT3 D4y7a24EUA9gQ76iFW10DKuLeelqDoXSK2+yQo7LtrHVQxVhLXM+R/EvNMg5TeNegHrE xZqbiMApiGzo16QDr4+0wxESpTHaqMUtFokIn5emVE6kQOjgPBnNiuTwjxTbHJPMq5AX lD4U7fE/xxufOkjVqci4czFNNB6RN54lyqzfBBYnwirQkqVIGhrdguPsg/9UJLtExgbE Pb8w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=trQkv00mtfGAqfYN2kxyaymJn3A93RCw6IDqXYBNgGw=; fh=1V0qvhjFMXXpUtre7zQqG4/LMqIz6Rh/Thwi2rIQSnw=; b=p/eSFlQxNA5DX/FyEnrhl2ja/j3AyGfm26x8XUS4psApxc+ZGKgTEqszvvpitpj6Pp 2LmSeipfVVfvLCw2OMvPezTV17XtbBKBTtuSg5TlrhB3DWyfSBYB4kN4zNIIljBtEryh whh99y7el9R4irzw6ZLlBxdsIr5LTglrvneZVFuvWdkLX9Z11NW1MoD6FcXtHJulVZFS n/psRQ1YrdjMCyX6sTpKqXrg/7KPaBuMaVAanasmP6WbTMhHfMI2WqP5YwKLqHKg182W xXJ4z7giUR4Dbz7MQgkJ4jyei7TpRKUgrqCS0tnLICTGA/egwIT9UIV5zGPbMLm6jvvo 6DWg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=Wc4WOIZC; spf=pass (google.com: domain of linux-kernel+bounces-298-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-298-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id fk14-20020a05622a558e00b004257f994332si16961261qtb.278.2023.12.14.17.00.20 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Dec 2023 17:00:20 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-298-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=Wc4WOIZC; spf=pass (google.com: domain of linux-kernel+bounces-298-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-298-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 0D46E1C21F18 for ; Fri, 15 Dec 2023 01:00:20 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6896D7EA; Fri, 15 Dec 2023 01:00:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="Wc4WOIZC" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-oo1-f53.google.com (mail-oo1-f53.google.com [209.85.161.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1FF7317E3 for ; Fri, 15 Dec 2023 01:00:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=chromium.org Received: by mail-oo1-f53.google.com with SMTP id 006d021491bc7-58d06bfadf8so143629eaf.1 for ; Thu, 14 Dec 2023 17:00:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1702602009; x=1703206809; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=trQkv00mtfGAqfYN2kxyaymJn3A93RCw6IDqXYBNgGw=; b=Wc4WOIZCFo6jTOFDnqrhGeKUCKyVlhkBMYlMZ+E/7DBUHpY7zXnt097/5w3mH1MZG5 k4iUdqOCQ/q8O1/z56mStQTiCeyEcGaE/iXP6c6AtUbPKUDWRfhg3wVz8m5UCxL/Sd/C hJ6NhJ5iO2w6QiET0sL289GlC/diwxfGNtNbc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702602009; x=1703206809; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=trQkv00mtfGAqfYN2kxyaymJn3A93RCw6IDqXYBNgGw=; b=pf1Cr0mwS/mXi6rUcG5pBAtlaY1cFsa/vQ0uEZpUycM+kE4dO2UTfxRjwWAP8fajAU bkjB1D5+BAW0yKlG5obS1alNyZEUsAFb20TO/ky+jL2F4Inq++9XBCUEUl8K5FQF8wFt /D5RnylvSGu66ZZp2ae592V+Wybhhwa3yTCQlm2WZoukx3VJH4suC7bvb+8R02I2+My6 z5g4VTZ7wbkNeLxvTXkH4TpvXvIk9cdeI+Xnsx8L6SOLNgAtxpsDh0BbXmPAubLuD8kB AAw+tPsEttTNGrNen0pZIS9QKoMtyTZpOa96GCCz4+LzBgAJoZsiUn+kY5gkN8z4Lk+d pSJA== X-Gm-Message-State: AOJu0YwI744iQkhK0SNoniJZTKJ8ci/Sxa/EHpXPJaBv35fwPbKAeyTy vizaNFJ1cCkFEz+ZcHi7+tIcTg== X-Received: by 2002:a05:6358:6f14:b0:170:5b7c:26ac with SMTP id r20-20020a0563586f1400b001705b7c26acmr15172894rwn.59.1702602009087; Thu, 14 Dec 2023 17:00:09 -0800 (PST) Received: from www.outflux.net (198-0-35-241-static.hfc.comcastbusiness.net. [198.0.35.241]) by smtp.gmail.com with ESMTPSA id pb7-20020a17090b3c0700b0028aea6c24bcsm2537pjb.53.2023.12.14.17.00.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Dec 2023 17:00:08 -0800 (PST) Date: Thu, 14 Dec 2023 17:00:07 -0800 From: Kees Cook To: Randy Dunlap Cc: Jonathan Corbet , Matthew Wilcox , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-hardening@vger.kernel.org Subject: Re: [PATCH] scripts: kernel-doc: Disambiguate origin of warnings Message-ID: <202312141659.56017364EA@keescook> References: <20231215001535.work.434-kees@kernel.org> <6d8d2001-ea9e-4e3d-9e6d-8192064556a5@infradead.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6d8d2001-ea9e-4e3d-9e6d-8192064556a5@infradead.org> On Thu, Dec 14, 2023 at 04:19:34PM -0800, Randy Dunlap wrote: > > > On 12/14/23 16:15, Kees Cook wrote: > > There's no prefix to warnings and errors reported by scripts/kernel-doc > > which makes it frustrating to isolate errors reported from CI systems. > > Add a "$0: " prefix to all the STDERR output. > > > > Cc: Jonathan Corbet > > Cc: linux-doc@vger.kernel.org > > Signed-off-by: Kees Cook > > Matthew's reply to my patch with similar functionality, which I agree with: > > https://lore.kernel.org/linux-doc/ZQke26HX9Am3k2sh@casper.infradead.org/ I guess that's true, but it's really confusing to figure out if it's kernel-doc or Sphinx reporting errors. Ah well! I can live without it. -Kees -- Kees Cook