Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp2734066rwl; Thu, 13 Apr 2023 10:06:31 -0700 (PDT) X-Google-Smtp-Source: AKy350ZGWl7ieNPlYf0AVyfW1JZU+eR7T1BGNSZHju5/WSo2RNtiq9JVFNvlEBa4Xn+w7RuNkMFz X-Received: by 2002:a05:6a20:7b16:b0:ec:4d07:4c57 with SMTP id s22-20020a056a207b1600b000ec4d074c57mr3002858pzh.45.1681405590970; Thu, 13 Apr 2023 10:06:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681405590; cv=none; d=google.com; s=arc-20160816; b=h4eLGV5AmPS/t1q9+s+UYjsFAzmM4Vr0uBVqr0eT0L+8w/Q0oZNbn0qKvMHoikf2/F az81ar0tWU46PpCVBiqIGFTVjZ8u7VtQQplqhhkW5JTxhFUr/m4xlxF1oAjDHp8UFFK/ 2SM/WnZCa9NHBBADdaNFDrcgLUJFYB+d9v6MnECd/WQDrTiNlcPhOuzL7y11jK2Uo9ri ATtmWqjB8wUcerKTavTnlEv0T6JJ/QfHR6WlxuvcUGTZySeV/cZZtaUf5gt9BUDFTDz2 IyZDNlRDVavz8J6ne9E97veXSzAt85buU1tLdKArMDfFi0R2+2X4/zMBOy5qSy6cnGBC HokQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:ui-outboundreport:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=Us1CHR0NteZfpDptWHN2rQd9i4SLUfUc44vd9lua7Ls=; b=QAPMonqQQUFJ5bjMD4v0cmaHU1BpbLqfuRBH9Ae67tp979H9hNJuLAUHWJTRIZQ3LN JjCAPh24Ag5iX5wLLI2uFAWKOK4h+fnIxGE1aXpY4kqKgOUWJ+/UBhsaYZf8M8DY+uwJ vPIOrTNmi5+mOvaghJU2m+DlQRvxgXd7k4OPwzOZR78fE4ra2U4i2dopegeq7pXft+BK /XYY7KCBMRd8prLOmAjpn0ZGHNvAZKeefYqNdslOMiAJzS1/t54iduS/XzGjm1c2NWcy DgZM/yWCQA8fOgnyqsG0FqhXRgzS2PeXXlKRq0D0raj+f3XF5Awx0OL6s7ij0VNylufb mQ6g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@fjasle.eu header.s=mail header.b=dWQ6fAU3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=fjasle.eu Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m17-20020a63ed51000000b0051392b219dfsi2547155pgk.334.2023.04.13.10.06.07; Thu, 13 Apr 2023 10:06:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@fjasle.eu header.s=mail header.b=dWQ6fAU3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=fjasle.eu Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229995AbjDMRFD (ORCPT + 99 others); Thu, 13 Apr 2023 13:05:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37380 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229638AbjDMRFC (ORCPT ); Thu, 13 Apr 2023 13:05:02 -0400 Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.17.13]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8DA056592; Thu, 13 Apr 2023 10:04:51 -0700 (PDT) Received: from leknes.fjasle.eu ([46.142.97.232]) by mrelayeu.kundenserver.de (mreue108 [212.227.15.183]) with ESMTPSA (Nemesis) id 1MKsf5-1q3qmO31kz-00LIxD; Thu, 13 Apr 2023 19:03:25 +0200 Received: by leknes.fjasle.eu (Postfix, from userid 1000) id 476813C0EE; Thu, 13 Apr 2023 19:03:22 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=fjasle.eu; s=mail; t=1681405402; bh=prF/9k2Xus4Gm9F26joQ49+N2+VxW+Wm+lPAuwRp3dc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=dWQ6fAU3wvVnrinGJLkjxvqSon1S0SVzZW5AcGXighRgxgZiYYmHDiL2A1IkifD+o hsuVrD+WosyjaO2AwMJcNqGA0EnoQHvB0nCqQFQ5+cJzBjnAHRzTVnZwXj474Y6r97 785SyyD1yi+ohEHMz1L7R5JktSQEAIUsNBk+VsJs= Date: Thu, 13 Apr 2023 19:03:22 +0200 From: Nicolas Schier To: John Moon Cc: Masahiro Yamada , Nathan Chancellor , Nick Desaulniers , linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, Greg Kroah-Hartman , Randy Dunlap , Arnd Bergmann , Bjorn Andersson , Todd Kjos , Matthias Maennich , Giuliano Procida , kernel-team@android.com, libabigail@sourceware.org, Jordan Crouse , Trilok Soni , Satya Durga Srinivasu Prabhala , Elliot Berman , Guru Das Srinagesh Subject: Re: [PATCH v5 1/2] check-uapi: Introduce check-uapi.sh Message-ID: References: <20230407203456.27141-1-quic_johmoo@quicinc.com> <20230407203456.27141-2-quic_johmoo@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Provags-ID: V03:K1:bO1rw56I77aHqH/VCK3YAqnRlsHmHlJPegGsTHf6wVQeF9YdNeJ BX3WJOp72K1UoDLThrwGftGd8Tou6vI7+bFnsDkSM4a0cjjzr5bUQwvX/Qa0dLBZwd+I9Q1 AbVv5/6hFwpVX5/Onm0auumhAvtx6eYUlwrhEcx2meg3ZxNOmmE3dRq6t0bH3Z40+sKBWu0 oeR7zTDfws8wScvscxvjg== UI-OutboundReport: notjunk:1;M01:P0:fa520UNgWXc=;8FOl1iK4C45pcNI0FlwShKu27eu AR1PbR3UET4azRwIN69vPZrhsdhu/TboQH3jYuaixatTTKsxsrw/KY/3J7YiT4nHQ7ouKLeTK o2aMGIsgAYtWIok8YtDmPzzuOKvoZjiTFGVEI0/lEXk+WxlnkSr9BmsrrsdmLpCCjfcpXHvvT L5rpnFig3FIO45uSJR9CBcDPqtSP2lTtXuyMXRT9PMfaxGeQntIvINiDxp0R2u0EzPWrMiCi9 TJ8vxu2Y5CUsnksiErOdqLZqjGcs0kbiEdeMTx/zkzNQwjDIvTiesy7oXB4RBNeewiTRAOAAE udl9PC2nzs2B2OrjKu1YwuKQDKk80xKquTAzSPkAvCgclMqCGvoNBDjq5iZC3FVfJRkMGwxVR GuMpQO54FfgpkfmYqf1x7WNZAdxdUgcNgN4UDE4eXLRAklz/2mN+fyTq0j2ZQZgn2RdGMWzo0 eEFiiZX+C7oqD7pHmBbf8kevY7dEagD+h9Hawg7oo2SCxzAPaSUD5O9OhCs414C4OYXvQUWvl x5u2TbyCwDQ7Ru7JNZFxZ/wKPt97lr+C8HVl0jciEHjA020Gs9yx8IWUnplQHUjpSQwQa4HpD +eVlfQMFgpYS9ifiBoFhPFm0ud7IcanC/flGF9ZVLh6gR2sEWMf+CsBIwxYMe4HvXz59QsavW ppf6tgPmY+MiGlqWXVean94SHi4S+PxUJ2gKsT4DUQ== X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Apr 10, 2023 at 07:03:05PM +0900 Masahiro Yamada wrote: [...] > [2] Be careful! > > > While testing the patch submissions of this, > I messed up my repository multiple times. > > The script takes some time because it builds many objects > internally. > > However, once this script starts running, you must not hit Ctrl-C. > If you do it, your repository will be sprinkled with a ton > of untracked files. > > Apply this patch, and run "./scripts/check-uapi.sh -p v6.0" > and hit Ctrl-C. > > Repeat it a couple of times, and "git status" will show you > something horrible. > > > You will never know when git is checking out a commit > because this script hides it by 'git checkout --quiet'. > > > So, this tool should show a caveat at least. > > > 'git checkout' should not be hidden, or > maybe a caveat message should be shown. > > > CAVEAT > This tool runs 'git checkout' a couple of times internally. > If you interrupt it, your worktree might be messed up. John, did you consider using git export for obtaining a source tree that can be used for headers_install and the following comparison, instead of git stash+checkout? AFACS the script does not depend on any other git functionality than providing a specific version of the source tree. I am pretty sure that leaving the original working copy in its original state is supporting the script's popularity. Kind regards, Nicolas