From patchwork Wed Apr 26 08:17:15 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ariel Miculas X-Patchwork-Id: 87740 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp93220vqo; Wed, 26 Apr 2023 01:45:03 -0700 (PDT) X-Google-Smtp-Source: AKy350bOZ91BHBqoQGbxLVhiXF448tB6H3ikj9rai6OliallI/QzoCpAsAWRZuKesVEtwW437iJz X-Received: by 2002:a05:6a00:2e19:b0:62d:cfd4:e440 with SMTP id fc25-20020a056a002e1900b0062dcfd4e440mr26847095pfb.8.1682498703287; Wed, 26 Apr 2023 01:45:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682498703; cv=none; d=google.com; s=arc-20160816; b=x64krkHelnqrpSrBu5Da+wpcbC/LMAoemS4gwjTaA7gMEQ3sPJDDCS9lWUX+noGlmd VfvSZlU6INF2TTldj9fpfWXn3E7KoPDZ74mS9M+wsoClKPHb+sNSc0wdVDqVEFQkmVhA tQlXEoTsrGgTrG61HF35GwtFUKDcIlno2XQ4wULLt+oKn8hxGVM0GMUmq6BsO0Bm4OEL ObOo+bh0P4lZubHcoQvtNBEiZ03PjGU3mXZArsBmO1coaxWW5v4+HvR82oXgmRyoxY7o X4JXNUTKHA+3sjORn2jBOaBugz/GgjMTBGnmOLG8ii9APTDdjaNACtMPdt5O827fzAue 9B8A== 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=hPHglsVUSyVNHBx390LARMYYSXfZEHD/f4PadDVbYcU=; b=ZQbhw2mvVcb7QyaZ7B9zzgH9J0je7Z1pYa8YXqTRiXWvKTOV+71/bDEcVj0aYPWYC0 QBN9trYDphNhu0MJWUDoROXgKiXtpZ9vS2BLLuJxVxy3uj9iDc5tPla3XLTR1k0xroxg V08UZbMLPY99+LdRfhI4yefpPBNkEyHchLQhAd2uLpRUqlh5jbScRxm/4FWOLUgwODjI kAKNmQTdTNDoOgLOY5i4NgohCADh96nJrLRhiybvceslUnYyv0tLbV2ZZ0WpTkrWsKNI Ll+cQQYl4s3/KwVLryfPGmmniV8MR+yzL/6jV3AhmVHaDJK6jJo9oIRAbtxW57+hL4wD wB4w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cisco.com header.s=iport header.b=Vm2TCnxB; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w17-20020aa79a11000000b0063ab6bd69a0si15320990pfj.326.2023.04.26.01.44.50; Wed, 26 Apr 2023 01:45:03 -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=Vm2TCnxB; 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 S239627AbjDZISe (ORCPT + 99 others); Wed, 26 Apr 2023 04:18:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43134 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229744AbjDZISc (ORCPT ); Wed, 26 Apr 2023 04:18:32 -0400 X-Greylist: delayed 63 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Wed, 26 Apr 2023 01:18:30 PDT Received: from aer-iport-6.cisco.com (aer-iport-6.cisco.com [173.38.203.68]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E9B27170A for ; Wed, 26 Apr 2023 01:18:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=991; q=dns/txt; s=iport; t=1682497111; x=1683706711; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=1hVL1dW3Hnp9rI/JcRp6myvUhJgzNin3XL8Qc6rAluY=; b=Vm2TCnxBAf6nfOanl83jVrJF7lzc2sEkTbgBIS1O2QYFWj7wmhoPnqd1 5ikAoz6TQiM2wmnxuqz0vpUrUn3Mi8GQzbXkrbBbNtFMyir7Cz/WHhCQY W121+eQ4R0k4oAt1MBq9tAuIgC7eMHOoWZKhb9uv4rdVdD8+CpOSovki3 8=; X-IronPort-AV: E=Sophos;i="5.99,227,1677542400"; d="scan'208";a="4880063" Received: from aer-iport-nat.cisco.com (HELO aer-core-1.cisco.com) ([173.38.203.22]) by aer-iport-6.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 26 Apr 2023 08:17:25 +0000 Received: from archlinux-cisco.cisco.com ([10.61.201.228]) (authenticated bits=0) by aer-core-1.cisco.com (8.15.2/8.15.2) with ESMTPSA id 33Q8HHVM024264 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 26 Apr 2023 08:17:25 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] rust: Sort rust/helpers.c's #include directives Date: Wed, 26 Apr 2023 11:17:15 +0300 Message-Id: <20230426081715.40834-1-amiculas@cisco.com> X-Mailer: git-send-email 2.40.0 In-Reply-To: References: MIME-Version: 1.0 X-Authenticated-User: amiculas X-Outbound-SMTP-Client: 10.61.201.228, [10.61.201.228] X-Outbound-Node: aer-core-1.cisco.com 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_NONE,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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1764181846253558975?= X-GMAIL-MSGID: =?utf-8?q?1764227759849674431?= Sort the #include directives of rust/helpers.c alphabetically and add a comment specifying this. 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)