From nobody Wed Feb 11 05:12:12 2026 Received: from mail-lj1-f182.google.com (mail-lj1-f182.google.com [209.85.208.182]) (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 477C32737F6 for ; Sun, 28 Dec 2025 19:36:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.182 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766950608; cv=none; b=gNNYpgHDrXje0bGCcQEAvd3nOcvoqUNyYCsmKPDY0852r6J35UQ2HGtDK4XOeNejGsaJ0Fg8QQewfIYzhvKAtyAI+msOb23gWVl+UNLNeVEoTWtUjwZ1KUZZYtAvMf2WZF0qWla86KwnH+v5bI6ePqUPEKrnOstst7MGnxuSKm4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766950608; c=relaxed/simple; bh=MvgwSe2uuAnSoqmyj7Z6BxaI7PVqfjMSmemWw9nwZVI=; h=From:In-Reply-To:References:MIME-Version:Date:Message-ID:Subject: To:Cc:Content-Type; b=BNAx6k1dftYduWOrcmgSLynPwrc6FiAmzb/IdHjcCFZXL2Asoi/QmCW2aDvmhpx2F7RvRwM+Y6qOkx5NxsCyPXryGnVxTblV7EzcBhKx6QSwTq7D6xhjzpclf/U+XB3/G0v/0VSweWENpqArXwa3todeU+aPOVhehDQWkG6lV5A= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=Jo26XEqa; arc=none smtp.client-ip=209.85.208.182 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Jo26XEqa" Received: by mail-lj1-f182.google.com with SMTP id 38308e7fff4ca-37fd6e91990so66318541fa.3 for ; Sun, 28 Dec 2025 11:36:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1766950605; x=1767555405; darn=vger.kernel.org; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:from:to:cc:subject:date:message-id:reply-to; bh=a8pEOxCzRMteaLHsxGxdhMSLmiiDxpU7yALXLsW+y30=; b=Jo26XEqahZZt1bow3phaIBHzxhAzcPRO4iSMWbexkONb+RhC8n0KcHAwwDa8Af2/tK pgL46z2qw3F0hEqu67FmoIjIZXaaklT/sglRjO9cPAfOIK7afMAAFIN9Zycs2SgoIfqK iTxlxiul5J63SplcntsrpJtIatkbPkYY8zMuKqv+XFKDeF6VDu0bby45iTLt86uPQK/K LpAqNcaexCAYpkm4UCybEIJ9cFZ+i1YH62RgRVG1Zk8mOyWY/t6sBeSC9sm7q1+484ai aWSK91pcjJocah9bRGmTOjToq0Tt9JZxHtDUmoOo8p9dyFzASrfZjE/c5Dtk8vfaTo/k 0Gbw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1766950605; x=1767555405; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=a8pEOxCzRMteaLHsxGxdhMSLmiiDxpU7yALXLsW+y30=; b=Df7MvLij6UK+xmmuG3kDPUvftSFYYnREHq7eEdO6EdKpjyykQbx1HDRNWTgfW8ZJeQ HBO6LZXWyKgZi6T0JgzOUmdr8KEKns6pjV7sUyxemhlw8E8RlzkpO/sJHBBH2cSskk4R /xQ/azNiGgcOUREGXZn2zeYxizwQ37w2ZSr5+bnt0XO0mj6rLA8qs/v3FbU5cbggHnoP NifHPNVE1AyUA48CXzB+79xWK+qOt+i9oXXq8mZQdLfJevhjIc11MIvj/cOhBq96e0Rv A/I+LWd6+vrPhd4glziIqVTFOc/oadYQcuPSvmSxBMS1HRXYULdCBT9+PmNQF6m9abTc SW6Q== X-Forwarded-Encrypted: i=1; AJvYcCWrnjnIxhK6SbaxbDkFwrdRDK41DxydWCwu4SifNm+0N4MbqVWKUuUFOSgwuwX8zTKCbye12ERpcFJZpIo=@vger.kernel.org X-Gm-Message-State: AOJu0YzMi7zYLu9lCUqn3etUyKOknaGcCNKuMmhmbNAIJaIGa/VGU26P k7bgOHNC6bxXDwEsUIHBtR9J9O1RNEkwIKEJ5poADqEtimMFbgSw453AZFNZYy8VmfF1RBm/E7z Z3LS/Vjn9i304iwnCgRuHxaffioxXFgw= X-Gm-Gg: AY/fxX4rQqeGPnwUxlr1t9399V33tS9tixwXKvgT0IJn/H1w6HEMmOUjoZOpmCAiUni 9Id7vFHMaCBsn7ELS5l5RJgtC+DG4R/u7pScuFTFbTKQ1p97AU8h/1p/tiOpfpZAvs0K+R/YDBF Nkat0FeRsiaU0/MLnP4Jh8Ynl5RQuU71i4ndd08UL2VXGSbZ4KqgZbLbUTOpe/sHYBURKAld3uI 1ZXfFHcDqNQ99AYh88eLj5gikFgZXKwP5U1RQREdKuCqjehxVrhcuCGfjma9WXmgnqbo5+0ExMK TN8A X-Google-Smtp-Source: AGHT+IEB4QizO116wEGtM/TvDrD28jqsY2fAs5pY5yVqGRRrOxCn4rxhxMSU2ASm78Oy6NPp0xHNiycd8NYhq/GICx4= X-Received: by 2002:a2e:bc0f:0:b0:37b:966a:493e with SMTP id 38308e7fff4ca-381216fcca6mr97098551fa.39.1766950605367; Sun, 28 Dec 2025 11:36:45 -0800 (PST) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Sun, 28 Dec 2025 11:36:43 -0800 Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Sun, 28 Dec 2025 11:36:43 -0800 From: Benjamin Philip X-Mailer: git-send-email 2.52.0 In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Date: Sun, 28 Dec 2025 11:36:43 -0800 X-Gm-Features: AQt7F2rxsR2W6BfMALSzXTLl-v-44B4FmN48vWNaW0EojizGDJpCSEaLdTYOeF4 Message-ID: Subject: [PATCH 2/3] scripts: coccicheck: warn on unset debug file To: Julia Lawall , Nicolas Palix , Jonathan Corbet Cc: cocci@inria.fr, workflows@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, Benjamin Philip Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" coccicheck prints debug logs to stdout unless a debug file has been set. This makes it hard to read coccinelle's suggested changes, especially for someone new to coccicheck. From this commit, we warn about this behaviour from within the script on an unset debug file. Explicitly setting the debug file to /dev/null suppresses the warning while keeping the default. Signed-off-by: Benjamin Philip --- scripts/coccicheck | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/coccicheck b/scripts/coccicheck index 2efb74afef2b..8dd766009de1 100755 --- a/scripts/coccicheck +++ b/scripts/coccicheck @@ -260,6 +260,11 @@ coccinelle () { } if [ "$DEBUG_FILE" =3D "" ]; then + echo 'You have not explicitly specified the debug file to use.' + echo 'Using default "/dev/null" as debug file.' + echo 'Debug logs will be printed to stdout.' + echo 'You can specify the debug file with "make coccicheck DEBUG_FILE=3D"' + echo '' DEBUG_FILE=3D"/dev/null" fi --=20 2.52.0