Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp1100257rwb; Tue, 27 Sep 2022 08:24:46 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4u/rT3M27ObQRlCI/llCmS2PTmrgIKK9GSa9J8k2Pnm7MUWx3YFVFZug1h0plHgWil0h18 X-Received: by 2002:a17:907:6d28:b0:782:32ad:7b64 with SMTP id sa40-20020a1709076d2800b0078232ad7b64mr25012325ejc.23.1664292286419; Tue, 27 Sep 2022 08:24:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664292286; cv=none; d=google.com; s=arc-20160816; b=f09ufdeYc6yjFQqAjeFD3C+3DWe1WOFupAjxOEibvajMSzI/rBgYunic6t7uwXFPm5 rOiba4rdE97jYoVpwgSne9dpiKsI7dsLvWz83452R5nqq0ps18oyYeA8vF6NStBLaO0g 5TTnCV5h8ChE4WoejOEEE/kUu9bNB6CZmPdlj8I7IHY1nowx1EVqozK7zNsoJ8hBIGlC oRqj2vO54AGygtvGD61pVJ/kVmiySbcmRH54NzFAF7Qdq0XptgEYD+9Jxxqm5Ql7pZPZ 24CKwVcwZvEo2JUhiJmMzQYdS1eS6p+m8+xCyAm7z9bMhoWFWLoK59QUG2TZmCQ9jRsT 4O+g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=XZj/JveXwEu/e9Augj2Q/JowUphoMgB9pP0/GvVT77Y=; b=h569PZpov+CsxJEZBGkBQOBs41jKNA6EGFEZJelAvCxxAIq3jjDsfqSYIoQaJwOFtx tq3390khiebkojLjMyU5wV7ETz7TdCinIAKK5alYVn793shKwwb/D3zvK2BEiyajT/lX /BSpS+AaJz9lsHhdf4c6xUZ6mEjKFCirozPSTDd6W0HucKNcOQ8DAPQVzZduL35PNhQO 6Mce0lSmgNcDn1ajwCUyd03cWmj0/88XNCE9RfyjbpCmw1R6i2HCZSj7UdfQarBgh0kt GS14fdBvJD6QyNN5El+FGPJgfYGVh6tnzH04T2y6goXbVBvwSAx6r1wcYwF/MYNkVkR3 wE9w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=ERRJxriF; 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=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e11-20020a056402190b00b004573e23619esi2187184edz.91.2022.09.27.08.24.20; Tue, 27 Sep 2022 08:24:46 -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=@linuxfoundation.org header.s=korg header.b=ERRJxriF; 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=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230028AbiI0PDJ (ORCPT + 99 others); Tue, 27 Sep 2022 11:03:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37078 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229760AbiI0PDG (ORCPT ); Tue, 27 Sep 2022 11:03:06 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8CC22D8E13; Tue, 27 Sep 2022 08:03:04 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 47E98B81BFB; Tue, 27 Sep 2022 15:03:03 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8A38AC433C1; Tue, 27 Sep 2022 15:03:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1664290982; bh=yZ1HtZd84+qNCSmptCOHlzte0cS64QkSd66+19rQPa8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ERRJxriFlLQi6zF/sM87TxHlUKGq0qkzDMagdYQ4WVgq9F1cp6YbEPgRtJfl71R0R QPDic1KCK/Cmg4uo0KYcall7d+wMlqSxMRNe/wbsEKnObXDeoTzl1+xxMLAcl+YvDp Le0z282zBGJZlegkynfE4nv7+eBAbtkq8tx5Y5uM= Date: Tue, 27 Sep 2022 17:02:59 +0200 From: Greg Kroah-Hartman To: Miguel Ojeda Cc: Linus Torvalds , rust-for-linux@vger.kernel.org, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, patches@lists.linux.dev, Jarkko Sakkinen , Kees Cook , Alex Gaynor , Wedson Almeida Filho , Andy Whitcroft , Joe Perches , Dwaipayan Ray , Lukas Bulwahn Subject: Re: [PATCH v10 16/27] scripts: checkpatch: enable language-independent checks for Rust Message-ID: References: <20220927131518.30000-1-ojeda@kernel.org> <20220927131518.30000-17-ojeda@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220927131518.30000-17-ojeda@kernel.org> X-Spam-Status: No, score=-7.2 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS 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 Tue, Sep 27, 2022 at 03:14:47PM +0200, Miguel Ojeda wrote: > Include Rust in the "source code files" category, so that > the language-independent tests are checked for Rust too, > and teach `checkpatch` about the comment style for Rust files. > > This enables the malformed SPDX check, the misplaced SPDX license > tag check, the long line checks, the lines without a newline check > and the embedded filename check. > > Reviewed-by: Kees Cook > Co-developed-by: Alex Gaynor > Signed-off-by: Alex Gaynor > Co-developed-by: Wedson Almeida Filho > Signed-off-by: Wedson Almeida Filho > Signed-off-by: Miguel Ojeda > --- > scripts/checkpatch.pl | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) Reviewed-by: Greg Kroah-Hartman