Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp3976891pxb; Mon, 1 Feb 2021 09:16:59 -0800 (PST) X-Google-Smtp-Source: ABdhPJy+LvS0eU1jHkX1b3kFZzt5XawF0kHHSCH6y2Ai+62QKFfqpOQY+7dWfu0CZP8B+TxlJKtk X-Received: by 2002:a17:906:6951:: with SMTP id c17mr5886788ejs.395.1612199818856; Mon, 01 Feb 2021 09:16:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612199818; cv=none; d=google.com; s=arc-20160816; b=SWEsFoCObwRcIeyXK+LZUi2LdWFpN6oFjZXLwrVi6cabz10VK1K1oEZagBm/52sDaT J4OJs2/tnUYa+lbQz882u908b22Q1d3QqGfdvpChKM26XTU5jFvQrf36ilCBML/rVLQf szaa23yD1Qi54d+TVrlY537QVZoBveNiYQHN5/e/Xpfn6uFM/APuQptNpxTH72V2zC0J 3eJYquXbiQotoGInOS/7fhHsbLTIOR2u3Qa8qhSeQ/eAkDJwgUTgjQBkWnAA6NSodydT jLh/cTKzUCZKKzEn25E7YRm2qhazN7nIsG83z6AhMPCWm23e3NUyLjJqoEXkWgEMXSWc mmvQ== 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=pSPw/fBYIyhRfckoXNVPoWECxEnxFCcki9n6TzTl56c=; b=lz91RvYJkxOHEeYdAtlQJ7QysPqh24bIoZL7qXSJJ/GuWr1CFog93FmO7mDIrJXdVo ibOCkMABpD2mOwqk/YXerbLXNU7HXogkiiX5CbxTo9S7PgpZwe901kQqSKPMbVZ8dRbh 230MxZD1piI6IS/JNpqadisjIy0xjNIVK34O8n6GOdfw2EOc0rTyV1WpaTsRLRVrIPBO eAIaN3ENikHb+gLxIGaeVOGKbSuNc5JyJJa0guIX1rgMTwa308K/9fEjJXq6lcm+4XCi VuIHUH7PsE6t295NX7QTACgrbypahmyr+WpEHHPNdKodoBiFqsVKTNZ87Gm1B/Xu4hYb F9Bw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=p4HKVnvr; 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 u8si11478777edj.434.2021.02.01.09.16.25; Mon, 01 Feb 2021 09:16:58 -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=p4HKVnvr; 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 S231784AbhBARMW (ORCPT + 99 others); Mon, 1 Feb 2021 12:12:22 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35452 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231622AbhBARMQ (ORCPT ); Mon, 1 Feb 2021 12:12:16 -0500 Received: from mail-lj1-x233.google.com (mail-lj1-x233.google.com [IPv6:2a00:1450:4864:20::233]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 144A8C061573 for ; Mon, 1 Feb 2021 09:11:36 -0800 (PST) Received: by mail-lj1-x233.google.com with SMTP id r14so20579967ljc.2 for ; Mon, 01 Feb 2021 09:11:35 -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=pSPw/fBYIyhRfckoXNVPoWECxEnxFCcki9n6TzTl56c=; b=p4HKVnvrA0s7JvNr1TGoHlg2+K/dnjyGEXUGOrtnUC+Xt6iughcCUvwp62QPtoMzue 2SUIZ9H6y7wNhVzeDOQBCZUUYl1uHaIiDwKwJcYHOgF+TK9JAYGdRO6lU04IzwylWg47 N+DP7XE03GHXr8NYHzqXKq3AqFio8zCnZcA9hGeybCKrjdB86dq/aHSLvtl9GSl2WK41 DAYZZbmo1ROti/RNCyxmhA/rrL+7SWLX+X2Dw5+2AMIVTNkWKzWJl6DohoT3Zf2yn2+4 mRu68u/wFP/ssLicwA9AQ4MoEDHrljhhDuzpXsNod3ZL6vFkpVmYTitVbXb6iG9Vx5hY XLug== 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=pSPw/fBYIyhRfckoXNVPoWECxEnxFCcki9n6TzTl56c=; b=IH5hXZ286urFosd74wmjZ8uNv65C+oAkuGPSYkT5VbWh8d4EAEKtyp+nQihqUBRsRd FyqSQvpQcShikopDXagVwyBc0hfdiNd5f9bL4LeFjRx/QVIRpL/t6oDjtGRbYCcri8qJ oegdNtYkDUupxphAORTMnDkS6briOdrbHV6bmtmpTPXsteYHAQkEB2GpuyR3R1P9ULKf UFgC+0BoBmIGi/rKtoHMiKcCvECRunBW3CBYCCBx9yPcbzwPkPxSwzcffInNEgcdbMPb yu4wN2KcrqMCozgrK1AvRWKCWZ6RXRGDhxO8Eou3mcAgBvpdhUOkmul/o/16GvzfUCAs RGHQ== X-Gm-Message-State: AOAM533EVf5c50ck14T99rXfrc2XWWyOnk6cDtmt1zzn87bYQKRXXL4S hVa8qrOC6/t7xzYkqYJX+iWHv2tMP9qGU/fiF0E= X-Received: by 2002:a2e:7403:: with SMTP id p3mr10835574ljc.373.1612199494275; Mon, 01 Feb 2021 09:11:34 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Dwaipayan Ray Date: Mon, 1 Feb 2021 22:41:33 +0530 Message-ID: Subject: Re: [Linux-kernel-mentees] Patches from the future - can checkpatch help? To: Lukas Bulwahn Cc: Greg KH , 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 10:20 PM Lukas Bulwahn wrote: > > 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. > I agree. I felt it was isolated as well but it might affect people who do static analysis on the commits or such. The idea of a bot seems nice though in general. People do have all the style checking scripts at their disposal, but still we see style issues on the list. Something similar to the kernel test robot, but for style issues seems nice. Is it something the community would like? Thanks, Dwaipayan.