From patchwork Tue Aug 8 03:30:17 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jim Cromie X-Patchwork-Id: 13294 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:c44e:0:b0:3f2:4152:657d with SMTP id w14csp2281347vqr; Tue, 8 Aug 2023 10:32:36 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE6bbqGbzI7rVcxwDEtkbU9LWszF/o9TYAoJSZ9EL2rhTJISHADOE/GNpsisf0ZANaNCpgt X-Received: by 2002:a2e:95cd:0:b0:2b7:14d4:ce6d with SMTP id y13-20020a2e95cd000000b002b714d4ce6dmr126833ljh.48.1691515956462; Tue, 08 Aug 2023 10:32:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691515956; cv=none; d=google.com; s=arc-20160816; b=STZz1ZwK95t2BlFs9xVO02+IT0R2jidXSdssBy4kxfgYRjnOIpE2xKpiDB1yhx9qGD 1ofpBjL5GJZ4AFiMOsEhZMUKBdz7DK8r/I3c7VtDwod3u8vtl1RGopAhFHtU4qJMiYOE gNZNKqucWX9RTcqtnnkmFsluF9mypzA5zDTTCMhvxoWSExe0TZI5gNEoldSH2yeRjE+8 mnXyAcysSxDC/jOvhuTyw5QM5tnSOEkFXpVfGe7Cml0QWrb64fOS2k6U1cAQkBHUmvgo h3GvXazv8Fna+DmWw0z6FUm+GUq0KUt/sNc6kS9Jn5ocHJVDO81ndCdKqAlAiseHPvk1 NXRg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=mT4/NWkzlbjzHfA8fPhCG7w61qdlctOtO8GcZ/OHAQM=; fh=sLcsH4Awfa5qfTpesEhuKDlI3ImRScbYGxNqG8qt40w=; b=vCKIT2BJFnhdYV0Er3D6heXFz2rcKN6+/knuFJ2lU9bL1KAId+/J+rMnf9+QI7jniG 4abhtv+R7jw9AGviISkMzbZ1XqVZPta/Bt6IKjCT5bbKqr/oFlYoMR80ISQT7Ue8nzxU GucnjshI9G176LzB3NAIvrAVISet9rz5SNR2GKOVNH7lb6VwKrRVS+S6esCZbZwEiQ5x JYtpEveXWXUeUqkTrssEz9XqwBnDR1IK3mbEKcIzhft/3RbDJytSN+iL2tF+qHoP57mY Fjub4pN+cxcBpJYwRKPYr6quZ2GFjHL88LgKBmyXSovzbZQN/Tqirk5vnc6RoSkDr3UN 96QA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=lIcxouJO; 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=gmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x21-20020a1709064a9500b0099351214a94si7642576eju.648.2023.08.08.10.32.11; Tue, 08 Aug 2023 10:32:36 -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=@gmail.com header.s=20221208 header.b=lIcxouJO; 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=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231629AbjHHQDb (ORCPT + 99 others); Tue, 8 Aug 2023 12:03:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59396 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231736AbjHHQCS (ORCPT ); Tue, 8 Aug 2023 12:02:18 -0400 Received: from mail-yb1-xb30.google.com (mail-yb1-xb30.google.com [IPv6:2607:f8b0:4864:20::b30]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E0A6A2112 for ; Mon, 7 Aug 2023 20:30:25 -0700 (PDT) Received: by mail-yb1-xb30.google.com with SMTP id 3f1490d57ef6-d16889b3e93so5525946276.0 for ; Mon, 07 Aug 2023 20:30:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1691465425; x=1692070225; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=mT4/NWkzlbjzHfA8fPhCG7w61qdlctOtO8GcZ/OHAQM=; b=lIcxouJOfbcMQdsk9ecCR3A6B2DiHV9VmDSft4B6yVNqMDHMgeeCOAO5x+ndkSgt1R C0+nYIuwH1gaeAzVOm2iOb2d+ocMlYLA5hThfLkhBumjK/rTJGu8wt0ysUfGdw+Tgofv qcnGhDEZJOKBnOY+zLAgkQkQMKrN8eHRRkDIl4Fz/HBdVm5jx/r839UxeZibiN8j7A3R 3ficPytxhhOXC7L+QFlFJr5s315BYEtMs1JTqGKPcwFZYDgeGMIa8qNs5nc/4qpXXsB2 IqNQbrF2HtEg1TR6Jhkr0fod3CZ/KyXng4wz88WFL4/uGR2Vc6eqKo+DJop3RcW04+DX /Kxw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691465425; x=1692070225; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=mT4/NWkzlbjzHfA8fPhCG7w61qdlctOtO8GcZ/OHAQM=; b=aFP0g3u75QIO21dYjF0rRAU6iDZoLtdHKOBrLaExEBQc5N/LY7FTD0WDOo9+PT+CXU K0nsXEk9EYht4Ac79rH3KqbcBPZWw9pkedgfIVRYJps6FTD/N4/vfGBYaaozIYpJpNfM XGFDlFMBPv23P2Jr13EV399jHVO4E2VbujExnxn9PgGWoO7KrrCupHkYUsNQ1r/c3GfO wf9QPKtqJ3FcsU6/nZ/sinaH2OsswDPWXbMQDDjbMi6d6stzJxC4YB0RrJZAOCigfcrl Bd1oPPFGx98AromycSAp9DRaatSE/kZk3tfa+K0/71F5Fpou3MtZzPqRmd1mUryPZ4IV MVsg== X-Gm-Message-State: AOJu0YzMoVvl6NUweIi5aHL3ADW1DCrMscEx0KPaORpc6HK9u+6BeKcG eY0BsYNK0aX5dUrPLOfBHm1QmUcjLZe/tw== X-Received: by 2002:a05:6902:247:b0:d49:9ba4:bea8 with SMTP id k7-20020a056902024700b00d499ba4bea8mr8913527ybs.40.1691465424792; Mon, 07 Aug 2023 20:30:24 -0700 (PDT) Received: from frodo.. (c-73-78-62-130.hsd1.co.comcast.net. [73.78.62.130]) by smtp.googlemail.com with ESMTPSA id em12-20020a0566384dac00b0042bb5a8e074sm2854031jab.8.2023.08.07.20.30.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Aug 2023 20:30:24 -0700 (PDT) From: Jim Cromie To: linux-kernel@vger.kernel.org Cc: akpm@linux-foundation.org, Jim Cromie Subject: [PATCH 0/2] checkpatch tweaks Date: Mon, 7 Aug 2023 21:30:17 -0600 Message-ID: <20230808033019.21911-1-jim.cromie@gmail.com> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,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 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1773683035396531865 X-GMAIL-MSGID: 1773683035396531865 2 small changes: . silence extern in .c warning if sym is present in vmlinux.lds.h . warn about >75 chars 1st, since thats the actual test. Jim Cromie (2): checkpatch: special case extern struct in .c checkpatch: reword long-line warning about commit-msg scripts/checkpatch.pl | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-)