From nobody Sun Feb 8 05:27:04 2026 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 66148C001DB for ; Fri, 4 Aug 2023 08:26:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234601AbjHDI0x (ORCPT ); Fri, 4 Aug 2023 04:26:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59350 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234564AbjHDI02 (ORCPT ); Fri, 4 Aug 2023 04:26:28 -0400 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.115]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DF24A4696 for ; Fri, 4 Aug 2023 01:26:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1691137586; x=1722673586; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=9je9OUfnXEviEXKQNXB4gUKmQR3Ey4mpBgwuRjMpZ5o=; b=mlSVorM3xUk2ULomzOf0Uwsstg78ZW3bu6sMBjntjXgz+1fTepacBxxB 6a1P3PaHrbyKC/BW+Cps4hGSJjm+obUMtoxQPH9coDf/HFr6qqsTDxYon /xKr+8F5Nh6Z975giawYu8Q+3+EN2oBlyTQi/QiqTuMOgVaI6+t6DCqC0 UGeEUU4ifKVIAwfV+k0/QcKDV6pYAgN5fDTS/gLtBF3vRqsla0sUiqM8Q 4tmwPhI2eJuxet6FIOO5Neh1kUs8GO7hWtK4a/QTVCF2vytpO36EKZ5TP EjJhH2BHRxvcsK0IcPS/uD+4ITs5FC/E2c2KY3Y3lTW9cpUNeipG6SSem Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10791"; a="370090221" X-IronPort-AV: E=Sophos;i="6.01,254,1684825200"; d="scan'208";a="370090221" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Aug 2023 01:26:24 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10791"; a="733132238" X-IronPort-AV: E=Sophos;i="6.01,254,1684825200"; d="scan'208";a="733132238" Received: from black.fi.intel.com ([10.237.72.28]) by fmsmga007.fm.intel.com with ESMTP; 04 Aug 2023 01:26:21 -0700 Received: by black.fi.intel.com (Postfix, from userid 1003) id 868F8F4D; Fri, 4 Aug 2023 11:26:32 +0300 (EEST) From: Andy Shevchenko To: Andy Shevchenko , Marco Elver , linux-kernel@vger.kernel.org, kasan-dev@googlegroups.com, linux-mm@kvack.org Cc: Petr Mladek , Steven Rostedt , Rasmus Villemoes , Sergey Senozhatsky , Alexander Potapenko , Dmitry Vyukov , Andrew Morton Subject: [PATCH v1 2/4] lib/vsprintf: Sort headers alphabetically Date: Fri, 4 Aug 2023 11:26:17 +0300 Message-Id: <20230804082619.61833-3-andriy.shevchenko@linux.intel.com> X-Mailer: git-send-email 2.40.0.1.gaa8946217a0b In-Reply-To: <20230804082619.61833-1-andriy.shevchenko@linux.intel.com> References: <20230804082619.61833-1-andriy.shevchenko@linux.intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" Sorting headers alphabetically helps locating duplicates, and make it easier to figure out where to insert new headers. Signed-off-by: Andy Shevchenko --- lib/vsprintf.c | 38 ++++++++++++++++++++------------------ 1 file changed, 20 insertions(+), 18 deletions(-) diff --git a/lib/vsprintf.c b/lib/vsprintf.c index 6774cf84e623..63afffab4249 100644 --- a/lib/vsprintf.c +++ b/lib/vsprintf.c @@ -17,42 +17,44 @@ * - scnprintf and vscnprintf */ =20 -#include #include #include #include -#include -#include /* for KSYM_SYMBOL_LEN */ -#include -#include +#include +#include #include -#include +#include +#include +#include #include +#include #include -#include -#include -#include -#include +#include /* for KSYM_SYMBOL_LEN */ +#include +#include +#include #include +#include +#include +#include +#include #include +#include +#include #include -#include -#include -#include -#include -#include -#include + #ifdef CONFIG_BLOCK #include #endif =20 +#include + #include "../mm/internal.h" /* For the trace_print_flags arrays */ =20 -#include /* for PAGE_SIZE */ #include /* cpu_to_le16 */ +#include /* for PAGE_SIZE */ #include =20 -#include #include "kstrtox.h" #include "vsprintf.h" =20 --=20 2.40.0.1.gaa8946217a0b