From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 56422C6FA82 for ; Tue, 27 Sep 2022 15:03:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231161AbiI0PDH (ORCPT ); Tue, 27 Sep 2022 11:03:07 -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> Precedence: bulk List-ID: X-Mailing-List: rust-for-linux@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