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 2DD40C77B60 for ; Wed, 26 Apr 2023 08:15:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239875AbjDZIO7 (ORCPT ); Wed, 26 Apr 2023 04:14:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40426 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240097AbjDZIOr (ORCPT ); Wed, 26 Apr 2023 04:14:47 -0400 Received: from mail-ed1-x530.google.com (mail-ed1-x530.google.com [IPv6:2a00:1450:4864:20::530]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9511010F8; Wed, 26 Apr 2023 01:14:46 -0700 (PDT) Received: by mail-ed1-x530.google.com with SMTP id 4fb4d7f45d1cf-504eb1155d3so50844008a12.1; Wed, 26 Apr 2023 01:14:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1682496884; x=1685088884; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=hPHglsVUSyVNHBx390LARMYYSXfZEHD/f4PadDVbYcU=; b=EeoNuAEcf2hhG/SwOGenpr6F1p5OHWgy1xltdtaneBsVTMX+a69xyKUj/BkIkN/j37 bJcSROx816NyF5j8gM3zeRgjm3NSgs3cyBmeBJPwHqz+BiJfb/xOg6/8L873+0s9fD62 ihgbvXTeI6vK1bnPLH1hcscIzf8/bo8N3alkHh/vdugZDo5DCYlSp9+XFmhbHwagND/R fXX7/stY8rRicHX3qWPCXqcTGxB0L4vWk5mPZidUXNzpJr5bK8+6wJ74r4J/daCqKfbE 6R0Ij8duEQcpUAIpRV5bYHCQ9rXqQzYyuoldDVpm7ZEzdrms4NFhTsKsq5I1pTz+wz8W 3FhA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682496884; x=1685088884; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=hPHglsVUSyVNHBx390LARMYYSXfZEHD/f4PadDVbYcU=; b=JGxZBzbEegIGQ320xJr8ryydVmcSuB1b2yWWd12GNdi76xvw7wlHZP8hBMrxV+A6ue zY3MNwsefsS4H3cViZzZSpdbPtNOVDV6JvwlkxmLLr5rE7u3L+MThTOXi03Q/nHDiTJr Z26T6hLSNSmXe4PpQvu+/kKkf00NX75vgM01DkO8ovY6d5/AVxVcLAvTyrxwR5uKg3r0 2LyGsFEQOdHhAQuDEYnAwdvjvzLw5DK86DR9/QabQl9wesVocKpaAB8W2UMPO6ruYf5U bvxTRXsRu5Cx7e8Uq/DsoYUV7BB6fshqs/RN7t9A9FosffTlsHsCBxS3GEJoZZ3mQMi/ sMwA== X-Gm-Message-State: AC+VfDzTOEc+HBisyi4B9PjN/GCoNQDcRGdXPE+4kUEkegEVqXofPNVC WBUCZN5ArRrkkI1Ytc+LyGUDMp7s0VrAMkR+ X-Google-Smtp-Source: ACHHUZ5ifaUF9TCr2CIibnbLYrCjMciYkU+k8zKlZavuwFG1FgAA3/ED3ElVlVsWDW3+HPfbxfIA2A== X-Received: by 2002:a17:906:198:b0:94e:cfd0:ed9f with SMTP id 24-20020a170906019800b0094ecfd0ed9fmr1409547ejb.26.1682496884403; Wed, 26 Apr 2023 01:14:44 -0700 (PDT) Received: from archlinux-cisco.cisco.com ([2001:420:c0c0:1004::3c7]) by smtp.gmail.com with ESMTPSA id h13-20020a170906718d00b0095386574c81sm7872609ejk.51.2023.04.26.01.14.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Apr 2023 01:14:43 -0700 (PDT) From: Ariel Miculas X-Google-Original-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:13:54 +0300 Message-Id: <20230426081354.38922-1-amiculas@cisco.com> X-Mailer: git-send-email 2.40.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: rust-for-linux@vger.kernel.org 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) -- 2.40.0