Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp3960354pxb; Mon, 1 Feb 2021 08:55:57 -0800 (PST) X-Google-Smtp-Source: ABdhPJynLffrPgtf0Yh1rw1EqqX0C+fSqJ5tUFHYJo/c2s7fwbvunEGuUqacYYYmNnpO8wxVYQRQ X-Received: by 2002:a17:906:1d1a:: with SMTP id n26mr19030468ejh.481.1612198556944; Mon, 01 Feb 2021 08:55:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612198556; cv=none; d=google.com; s=arc-20160816; b=dVn+ZEMwzC4YEv935w9U0GRR6Bc2yWt7o6w1RUPoH0lkpNSoIm4vuC1RsjUVrkGURn V9yndmsZfgIGMkCC3f36iPrsnUKioKyDa2RScfzFi/6MLLZZ2MSvR0KR5c8WCt/h99ML agCScKgt4u1Fo1h8TS/XSkEdpIcHyFSTCFnA84YduFdN2372jOrLf6DAw36dJzai17Yj CLy1sLbnRuhrkMTQ/dK78/WP9NiCncCIwpEbhj8weXnrx+kxqjkCB2yqyNmyzWuPV1EB /YmmvB+361pq9KdFexRk0vmT47DwBLwhTeyd1QCnTqy/MgnD03FRosnWw/vUmierSxMR PcAA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=0q//F6ZP0U4h6C3Zdskf4kGUQLIK2PK8TU7pLmgs/wg=; b=SoYDxzzSqbRdpbgedz5ZjXQXx5+lSyKNJweDjSH6EJOb7TI2cfqabPDVL3fwj3mbMF XImgzPD0OBZIfCBHsp04LFycJOlXF2GFoCetAhg2XD+9Bt/9MbC58MxUMA6SISBTG9st ZXZqYXgSiPaP5HoclBRHMl8gQkVwL9gE18C5oJX+7ZueifEd1SmnW1JZEgPHWl0dOxWx oMIs6bZNEA6yiEyK9t0s5gXUdvDXf2289DuPmKqc0q1gWnxfloGPfXD95LXhs4iEjt/p NyH5TTnzOBoVVMAS+WhuQ4x0nTaKc5DAERcuSP4jwBS1++xvgBsmAP2+U5B1pQE9++Xy V6ng== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=XgPjQenG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id hs23si9980125ejc.26.2021.02.01.08.55.32; Mon, 01 Feb 2021 08:55:56 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=XgPjQenG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231419AbhBAQvj (ORCPT + 99 others); Mon, 1 Feb 2021 11:51:39 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59194 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229807AbhBAQvi (ORCPT ); Mon, 1 Feb 2021 11:51:38 -0500 Received: from mail-io1-xd36.google.com (mail-io1-xd36.google.com [IPv6:2607:f8b0:4864:20::d36]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B5E44C06174A for ; Mon, 1 Feb 2021 08:50:56 -0800 (PST) Received: by mail-io1-xd36.google.com with SMTP id q7so4152864iob.0 for ; Mon, 01 Feb 2021 08:50:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=0q//F6ZP0U4h6C3Zdskf4kGUQLIK2PK8TU7pLmgs/wg=; b=XgPjQenGHfZeQHNjMJLXH7tiEIu7p8F1U4XRhzLrTVZwmzN7kAIaKVwqr2Sdcz5dFO wF00Qb+p8Z53/VVAkCJbQvTVnvHd3bOcerxmzrpGUYCE2taKHLRuAYw1LcQDxa3Qwso7 8mBxGlxMK+0JJ+SDe2WdoMb/X3jG1GKDbVRJFdedFxhcGXSm8eVqW7UOmXIlN6WU/cVz YqkJH6pYYPqpkiAPcsVXhdVuHhJ2RC09lW0bhoPjfWMXIDYmH/rpUlARo5GhGEwxswkt hpAaQ5wpF0dYzHt/FKHzIhNHNvgD4FjYZAILhdF7aM/ZpSpisJ8zRGuTfSXKAL/xhCq0 VsBA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=0q//F6ZP0U4h6C3Zdskf4kGUQLIK2PK8TU7pLmgs/wg=; b=D4MoXm8NneLJT99vPFG2CIH17gEHKUY1P7S31g4zxR3pKepHPYZ2pkdZbDHCAmcFn+ BetjtM08bAolWpTi9kociwWFXLF6YXnXy8Mbeb2luM8n/J8Xu2OLqJmL8JqDMLxbU29M NQt8cklyzFqhx+q1MO7C7IU/+IOKI3mzgq8ekf9xPj4mZN1+XjMzOYUBSagYasniobdu f7rQ7/VwklMgUpUdVVqvVqjaIHX3/dSdtJ0llgPi5SXCuxNqtTCsjFDQsaVHMSULNcwr gRjuDAW3lBORuAZ3x6DL60RzQSUwzPn9hAX6bw+/zI3ZHdunFJI+tJiawhi416lfgIRi Yl3A== X-Gm-Message-State: AOAM532ZIHa7Vw6pSVHE77CP6rSqs6OU0MdYbm+Ov1EQpNVMY9uwuipJ 7Y5UTxYQL39yj+mgWgQNJj1Iztsa02jEpkAgliw= X-Received: by 2002:a5d:84d0:: with SMTP id z16mr4894724ior.114.1612198256195; Mon, 01 Feb 2021 08:50:56 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Lukas Bulwahn Date: Mon, 1 Feb 2021 17:50:45 +0100 Message-ID: Subject: Re: [Linux-kernel-mentees] Patches from the future - can checkpatch help? To: Greg KH Cc: Dwaipayan Ray , Joe Perches , linux-kernel-mentees@lists.linuxfoundation.org, linux-kernel Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Feb 1, 2021 at 5:37 PM Greg KH wrote: > > On Mon, Feb 01, 2021 at 10:04:01PM +0530, Dwaipayan Ray wrote: > > Hi, > > on linux-next, > > $ git log --pretty=format:"%h%x09%ad" | awk '$6>2021 {print $1}' > > gives: > > 4a2d78822fdf > > 12ca45fea91c > > 09f2724a786f > > > > These are patches from the year 2085, 2037 and 2030 respectively. > > > > Would a checkpatch rule be helpful for these or are they too > > isolated to waste runtime on? > > Dates come from your email client, not the patch itself, how is > checkpatch going to catch this? > Dwaipayan, there are two ways: - We build a bot listening to mailing lists and check. I like that implementation idea for various other checks. - Stephen Rothwell could include this as a check on linux-next and inform the git author and committer. I am wondering though if that is worth the effort, three instances of a wrong date among 1M commits seems to be very seldom and the harm of that mistake is quite small as well. Lukas