Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp1357038rwr; Wed, 26 Apr 2023 13:52:07 -0700 (PDT) X-Google-Smtp-Source: AKy350YRSosK0bkFyEfE0gl4f00sOoi4tkEL75K8hc8E/PlHJWonr13h0ckTHybnGG4AUUky8K0f X-Received: by 2002:a05:6a00:114f:b0:63d:2343:f9b with SMTP id b15-20020a056a00114f00b0063d23430f9bmr25621788pfm.19.1682542327250; Wed, 26 Apr 2023 13:52:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682542327; cv=none; d=google.com; s=arc-20160816; b=Er46peHUgKLqpN2JA/5eifrb4PkK+0VKlbu+wvDiETTMv9giO1RlFhhk8DQcLpX+Cw HzitHF6Gu4BeuMxP73w5HPgP1mBxGS623BPEeoshTDcChDf6ynxFntbaSN1FoflF2yPo wWsFSiH3UhQIbGNKSTssvpeQ3z1d/d9z1WxB4BvQC6ww623bBLeNxpGbuFQl7ukEdaqO F4lpJkfZN34kzMCeu2TgM6id1YHiU/FzBDXOgy4U52RwaEPrCBKd8ENyOFDY7M4bv9GS ps8W54B2H61bB6Hhvbi7LLhk1pKvdfCXwt66VYO14LtG8JkCIxTyGZQkMUFdYEnPuWi8 MHMg== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=s5I68jFKupvDf60min4MSAdXFgP9QtQJBXmgTj7l/fM=; b=uQQrW5r8cj2UtSakAaVY+m9mdbkrVD4Bz+zfzrpa1paQBUjH7qCypAkSszEMomzYn1 aiULrOV/CFPm7zrNGhM2pWoJUiwirg5+aeQmvXNBV4aWhL0W8PrUiEzCIK77sb75y/q6 IytAPSmI9Ro3ZJd8eQb34xCW3uf4fUZB179I86ZSpkQ5up1tGbKsNHI/lh0Whrym3dEc bg6AIurBI6Y2DeuoUE0tvIKiLZf5RK/LKXYW1/OY2oi2UFbO7+BsQwVhB9G6F/t3Xd2r WdFv+p1JMkdKx6/tmVXmDSluvzyn3jST761HJv9Wc4Apm5PtFERZ569gqvVUGwmagaqn /rrQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cisco.com header.s=iport header.b=by0kjwrr; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=cisco.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y9-20020aa79ae9000000b0062d9eed7d25si16972512pfp.57.2023.04.26.13.51.32; Wed, 26 Apr 2023 13:52:07 -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=@cisco.com header.s=iport header.b=by0kjwrr; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=cisco.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239879AbjDZUtt (ORCPT + 99 others); Wed, 26 Apr 2023 16:49:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32858 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239959AbjDZUtr (ORCPT ); Wed, 26 Apr 2023 16:49:47 -0400 Received: from aer-iport-3.cisco.com (aer-iport-3.cisco.com [173.38.203.53]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2D2623C15; Wed, 26 Apr 2023 13:49:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=1121; q=dns/txt; s=iport; t=1682542173; x=1683751773; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=ZbVNXlIv8G5b2W+u/CXT4H6oOP5oKHIlM/cd0euePXI=; b=by0kjwrrhmPt/+n8NMmGFg4EhbREfEE+KG9rbO1v1UWPpN9x7oR4ePmI SMwm5LZ7AY3d7VMQHt4R2+xYciXMl5p0okKDDqwBNdSA/U6k0WvZWEhdL DpDnbtt9KF0aSd/39Ca4RZKgIEFok4jmcSCv8TFDi6soyfp5mOEp7qMEy A=; X-CSE-ConnectionGUID: ZAQgjrNlTbCMw4RSGzqICw== X-CSE-MsgGUID: 8DPdC6ZmQyCqMKY/NAvaJA== X-IronPort-AV: E=Sophos;i="5.99,229,1677542400"; d="scan'208";a="7233052" Received: from aer-iport-nat.cisco.com (HELO aer-core-10.cisco.com) ([173.38.203.22]) by aer-iport-3.cisco.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Apr 2023 20:49:31 +0000 Received: from archlinux-cisco.cisco.com (ams3-vpn-dhcp2960.cisco.com [10.61.75.144]) (authenticated bits=0) by aer-core-10.cisco.com (8.15.2/8.15.2) with ESMTPSA id 33QKnOPF053840 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 26 Apr 2023 20:49:30 GMT From: Ariel Miculas To: rust-for-linux@vger.kernel.org, linux-kernel@vger.kernel.org, ojeda@kernel.org, alex.gaynor@gmail.com, wedsonaf@gmail.com, boqun.feng@gmail.com, gary@garyguo.net, bjorn3_gh@protonmail.com, benno.lossin@proton.me Cc: Ariel Miculas Subject: [PATCH v3] rust: helpers: sort includes alphabetically in rust/helpers.c Date: Wed, 26 Apr 2023 23:49:23 +0300 Message-Id: <20230426204923.16195-1-amiculas@cisco.com> X-Mailer: git-send-email 2.40.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-9.8 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIMWL_WL_MED,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, SPF_HELO_PASS,SPF_NONE,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED, USER_IN_DEF_DKIM_WL 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 Sort the #include directives of rust/helpers.c alphabetically and add a comment specifying this. The reason for this is to improve readability and to be consistent with the other files with a similar approach within 'rust/'. Suggested-by: Miguel Ojeda Link: https://github.com/Rust-for-Linux/linux/issues/1003 Signed-off-by: Ariel Miculas --- rust/helpers.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/rust/helpers.c b/rust/helpers.c index 81e80261d597..73c01db0c828 100644 --- a/rust/helpers.c +++ b/rust/helpers.c @@ -16,15 +16,17 @@ * * All symbols are exported as GPL-only to guarantee no GPL-only feature is * accidentally exposed. + * + * Sorted alphabetically. */ #include #include #include -#include #include -#include +#include #include +#include #include __noreturn void rust_helper_BUG(void) -- 2.40.0