From patchwork Thu Jul 25 19:28:29 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steven Davis X-Patchwork-Id: 13742096 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 kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8500DC3DA49 for ; Thu, 25 Jul 2024 19:30:08 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id D34E66B007B; Thu, 25 Jul 2024 15:30:07 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id CE5106B0082; Thu, 25 Jul 2024 15:30:07 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id B85966B0083; Thu, 25 Jul 2024 15:30:07 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0011.hostedemail.com [216.40.44.11]) by kanga.kvack.org (Postfix) with ESMTP id 9A9546B007B for ; Thu, 25 Jul 2024 15:30:07 -0400 (EDT) Received: from smtpin11.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay02.hostedemail.com (Postfix) with ESMTP id 3ED81120DFC for ; Thu, 25 Jul 2024 19:30:07 +0000 (UTC) X-FDA: 82379265654.11.C11BE69 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (mail-mw2nam12olkn2079.outbound.protection.outlook.com [40.92.23.79]) by imf25.hostedemail.com (Postfix) with ESMTP id 890C0A000B for ; Thu, 25 Jul 2024 19:30:04 +0000 (UTC) Authentication-Results: imf25.hostedemail.com; dkim=pass header.d=outlook.com header.s=selector1 header.b=TbJENut9; dmarc=pass (policy=none) header.from=outlook.com; spf=pass (imf25.hostedemail.com: domain of goldside000@outlook.com designates 40.92.23.79 as permitted sender) smtp.mailfrom=goldside000@outlook.com; arc=pass ("microsoft.com:s=arcselector10001:i=1") ARC-Seal: i=2; s=arc-20220608; d=hostedemail.com; t=1721935803; a=rsa-sha256; cv=pass; b=yp4FGsxZ5NBdRW8xZ+QnQBEbI5jjF/lTn9SY6QGCGAeuoN56mnMfptJHnfk7lQpIYhZYsl z58URASaNOpcqCmTeCMEb55fGWMHwe46tQ7mpILMHKN2TqT7ZvOcwig2cLZ5Y6DktnKsSb zABzvtJcyGiQngtebwUR13wcVuUEmLk= ARC-Authentication-Results: i=2; imf25.hostedemail.com; dkim=pass header.d=outlook.com header.s=selector1 header.b=TbJENut9; dmarc=pass (policy=none) header.from=outlook.com; spf=pass (imf25.hostedemail.com: domain of goldside000@outlook.com designates 40.92.23.79 as permitted sender) smtp.mailfrom=goldside000@outlook.com; arc=pass ("microsoft.com:s=arcselector10001:i=1") ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1721935803; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:in-reply-to: references:dkim-signature; bh=CJY2avQfHK37SRGxbD+pqod82QyYhpSTQfULkPvIIUQ=; b=aAaUD7Rfs369ydC18twQsE8UprU5s1ytbkWvkqncWEYwVZ/9QxxZ5R5/c0BrQSNspbsH6w nguuEgHfGI8sZGBPxFJHXn1zaJTbspyI7BHu9Vqu1sAFDIXzBTU/zYKEakJThdsxQWh3lG 9jcFRwxE21YmBUZQi6ZF1dkQKMo2Imk= ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=SZ9nQSVXOskvfuf+E/eOvaf5sF0jcwNJ5W+1CH2+wIHFDbWNm3KzmGObPkCNFaHljCNJmXl4yfK/5c6D7v3M36tRajAcaF2VzH7YSovhunke4aJahowl8U4w5sdP/VZerDCfLaxmyLaxa8+MwgknWlrK8iamGFIvZ83NgvDZ28lEFXGoniqPn9AfrMvUX6OOV3MXDg3k/mNEH8/dtr1E/mScbvzbG6Ri2cRvlNupwOe2JcnbpiGESrRPFRFsoftp0VGdpzZSVie/FZre/eqfcIPmJxDlilKLvpvadudIlukCwNSf384aFDkta+c/J3SWRtwiB8aTyWq3NRitBcJi4g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=CJY2avQfHK37SRGxbD+pqod82QyYhpSTQfULkPvIIUQ=; b=PEwQsDY8oa/EdBff1/2HMLXcuz07P31NAESqrsiEGqQgkxl3I+9oPPuNxaS7stqzpXjCjnFLflREf6XljXoQV9ScV43uI0aQbT8uPatopeAlHfDlNKa/+MvQOf9SU+XkCHhcvg6XuH4ZvFIVFb5K1eUaxxgCah9Q3nA0/xgeJT/ncnC60zIIQw8iM63jWc3ljiEBOqLaUqKb0RGhfVHXL0lKoMZbEWci+0097sR2kowLh1JYhJGXPWE39dFmkH3TPy0a9J5/c1FMcfQ6OSqqYAZ/jITHDu6dsJ2/qXEjeJZLXfFW0eFxYDzfpeuXUA4kkMdmzpa7/7fI1jwXLhH1lA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=CJY2avQfHK37SRGxbD+pqod82QyYhpSTQfULkPvIIUQ=; b=TbJENut9vnHtN4OVXxK22jn9xm/QnwXganEAremLuBF1AtaZCLMc9yDRdvWp4eKG7Ob2JEAH8ZvrBXmq4aD8Htanv+KbTKN1DMIujuOgcXEqNDyMAuNX5ZoHlqcPNUqcHXwE1VmtFxxSvyeJx9oATQaJmeBBOn0x4CzsYnckBx8YTJ9kccVvWIvFLetmKJWf30TJGPBy+6jyhbmkUGnuzeLabm4Gn2aKWNsyCknJmSBH9IYQyzIECnR3P6SxN3/kBJXee8Xvo47BluqWW2cjkEDaJIJ/szidcOAhDiWv6Co71fOuGA9zQ/Ps3ZYspbIl9Fv47PXFIspwh1EhHQSl+w== Received: from PH7P223MB1039.NAMP223.PROD.OUTLOOK.COM (2603:10b6:510:2fc::11) by DM4P223MB0543.NAMP223.PROD.OUTLOOK.COM (2603:10b6:8:a7::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7784.20; Thu, 25 Jul 2024 19:29:00 +0000 Received: from PH7P223MB1039.NAMP223.PROD.OUTLOOK.COM ([fe80::9c9e:3eec:db55:6a5]) by PH7P223MB1039.NAMP223.PROD.OUTLOOK.COM ([fe80::9c9e:3eec:db55:6a5%5]) with mapi id 15.20.7784.017; Thu, 25 Jul 2024 19:29:00 +0000 From: Steven Davis To: akpm@linux-foundation.org, urezki@gmail.com, hch@infradead.org, hannes@cmpxchg.org, yosryahmed@google.com, nphamcs@gmail.com, chengming.zhou@linux.dev Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, Steven Davis Subject: [PATCH] mm: Capitalize letters for readability Date: Thu, 25 Jul 2024 15:28:29 -0400 Message-ID: X-Mailer: git-send-email 2.45.2 X-TMN: [nJfdNTdby/ytfaKLLMRkFISA+cm8Si5Y] X-ClientProxiedBy: BN9PR03CA0706.namprd03.prod.outlook.com (2603:10b6:408:ef::21) To PH7P223MB1039.NAMP223.PROD.OUTLOOK.COM (2603:10b6:510:2fc::11) X-Microsoft-Original-Message-ID: <20240725192829.1677-1-goldside000@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PH7P223MB1039:EE_|DM4P223MB0543:EE_ X-MS-Office365-Filtering-Correlation-Id: bf680a1d-c5ae-494c-ec19-08dcace00749 X-Microsoft-Antispam: BCL:0;ARA:14566002|5072599006|461199028|19110799003|8060799006|440099028|3412199025|1710799026; X-Microsoft-Antispam-Message-Info: 9DWtEdMAarlLcnwgZYiGCaHdPbxv2m+ydq3zTgTMYwu8z+/EY20iICmyx5Zkn4qMf+LP2eEHw8cfxaplYpn8fhkXvSXkNOganGdPqE+Dmf4fozDabtWzT7i1vRM2MQ4jT8Se8ApM4K0uwwLYxqELgpTbQcQ2V0EeNEv9yszGNYMPkVfyc2JPYf6+eOwgOURW3mfN36ue8qx5x6EjKAUxr5byg2lw7wZCpFn0NVnjsS1wDZZqbOwat+QtOSKL7UwCJCYRq87KksxggNcjxjFNTAj01fSVDnWMEoMots8tuSfwG3snWYOjK6yDrOnPQUPQy/HSdWK0ash3XCEPlq1jHTzaTLWtDGAfzjVF6/YlVaRmRcZKMpbZe5MKB7Nmo4laJLeYrr2g3+Hh5it7y/MHr09aUKOFuczCSTrBkGVa9O4XFPP8wzgHLynWj0NatG8YP4Aj0+frV2Zevky6ABxOSdq/2q48Qtl0ToIjopnL6LR/3CFmzQ1eDTgs2RGyIcVtdjs2dSMky+6TsQtXeS6+oyHzipelkLP/taNztVgoj5wsFKWmy3kl5YmmET6SAFpBqjdNq2TsuNsl40lgulIspv/LD3hcoazPb3dr3lc9MMsCkoDoFyLo1RBC7+ADkEsCGX11zdXOMiOqFQUgj0Dexo4c7FA8fHNcWduAX/hLK+ac7AWoLVWg03cXdVBb/LLeTT1ZD0QAtM2xgjry55qzfQ== X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: VzIm3QY7z3ukH/TtlvMRpoLRTWf4c4qDN7i6C8SnF8R1P5U9aqBUfNrF/o/TtWpF1YTXq7aGMcda3+HRGMZU/ZXiTd+s0UUAyS4NzuGrkr1wQ6uA9TuQfPZMeIbBEiJMBhJfMhp7VztOfgr1oPl9VSXLLoA+QzTOrjLWBxIDi5zM/I8P712mPaoVhs+LM6OB23AU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com X-MS-Exchange-CrossTenant-Network-Message-Id: bf680a1d-c5ae-494c-ec19-08dcace00749 X-MS-Exchange-CrossTenant-AuthSource: PH7P223MB1039.NAMP223.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Jul 2024 19:28:59.9881 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4P223MB0543 X-Rspam-User: X-Rspamd-Queue-Id: 890C0A000B X-Rspamd-Server: rspam01 X-Stat-Signature: n83pj6qanooqko6yu4wb1tfseswnesb1 X-HE-Tag: 1721935804-242180 X-HE-Meta: U2FsdGVkX1+aoXvjkhkS2VVoENuWimMC9Kux3ew7IVn9UXf2FxszpG5WyY27rcgxolTPYWOpARIOrQKJbuWb9Hf7i0NPqs4h6pRgUTvPDvUp+lovG/ejDZnXjvh1mJTkJzfo2J7kc1eXCu1dugQ26N2qh4OByt6Vt2FVq5OqyUQjDzUeCtafZWNYEplLf4AI3HdKd/2ZZGO0AjQRS+bg4zkOqSgEwtiZFLeCGHfhwFW7OnJ5LQSDVTLqBjreHE7VhSqjAmOhi1nzqeHxJ/LDE5T/tDQXlpVyW0oWpU66uG/ltH3ID7LqeAf5VrskWs80hmwLTTLnscnLWCAyvI72w9heDfaIb1wCDSQLozEF47GCjedi/WZZG7nQay4+ZWZ+PgfOf70UJNYxhHpIWuftYZDJ0Cu+tVG1cSGDiXlFZpabKbT3ZWCyh7G5j5mkz2dnYO9hamN+8OyJYw4lFrFVYhFT6eV2mV7VSbj8PZvbe9bwOWZgBznW12gK3D+dzwwDbVhxMZsU7CvwrHOFDwKah1/XJNKBIpoFXhTkFWHqTuct7mo0w0iG1YUc79qoGNyno/kZc1Aon+snoETg5dcskhwX1DNHjNHI6BSyFhKbGzoUhHKJ6FXGqihe0sQn+hsyMQ3ppdBMFVs72VJLfBNizgkwvz7Mgchi1cNSGJEAYJJxGKgcgGzNN4ICQSSOMGBYN+AKpD+NmefPj/X+SLcXf0VmuCSYVVSfBxwTBYXP5mv+o2O8vTl09xOCiOy8l60V/OlYx0aU7OOkXVLcl5TB0bV03hO2yboOb3k0QJ3nguZF4mAkTc/Flhfo1dJRHSOLwUbzwed8h5y0fcK5R4TGphGr0k4avy92X62ecA9hU/VpbxHy251VrH+lzFug0VVm4wKWgI/N8AHZAdC4g7cwKh9fV0EemnEzKZGI8kfGlzmfPy0cz9E/fVdjodqTp5CItXJYXHP2fFC9QjFXt8D /JQwhvcY dzIEbSU/cuHkaknHW+qaFG9kKS0H8EVz79IQV8GeGmFtAwVn/C4xd0vzmVzTji9Sx2NLGz8UN+UWjQQIk7L/GwovN0YtAR9ArcLaVHRu921rRAg9+sBJJ5jD9FslCEgeHzeb92/wZXRY/DS3cD54T9pUSg9NV/U/I8swucu9jfbQykuvykHdnBn4KUDmdn7+TzzoZigyE1BzNMbmyDAokGwB3Kx4G8+wK/ns9gr790aIC2kKkreSobkV5QnkMG6vkT7uBlS7Tkk0ABnAfN9hFeWw1KGJV+djqqNk2vsofcxw7aM3fixpdCDDu/Q== X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: List-Subscribe: List-Unsubscribe: This patch capitalizes the first letters of error and debug messages to enhance readability. This is important for adhering to the style of other error messages in the kernel, and making it easier and clearer to read the messages upon the (likely dark) terminal. Signed-off-by: Steven Davis --- mm/execmem.c | 2 +- mm/vmalloc.c | 2 +- mm/zpool.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/mm/execmem.c b/mm/execmem.c index 0c4b36bc6d10..ce4334087b1b 100644 --- a/mm/execmem.c +++ b/mm/execmem.c @@ -40,7 +40,7 @@ static void *__execmem_alloc(struct execmem_range *range, size_t size) } if (!p) { - pr_warn_ratelimited("execmem: unable to allocate memory\n"); + pr_warn_ratelimited("execmem: Unable to allocate memory\n"); return NULL; } diff --git a/mm/vmalloc.c b/mm/vmalloc.c index 6b783baf12a1..131b05aef593 100644 --- a/mm/vmalloc.c +++ b/mm/vmalloc.c @@ -108,7 +108,7 @@ static int vmap_pte_range(pmd_t *pmd, unsigned long addr, unsigned long end, if (!pte_none(ptep_get(pte))) { if (pfn_valid(pfn)) { page = pfn_to_page(pfn); - dump_page(page, "remapping already mapped page"); + dump_page(page, "Remapping already mapped page"); } BUG(); } diff --git a/mm/zpool.c b/mm/zpool.c index b9fda1fa857d..3c766a1d065b 100644 --- a/mm/zpool.c +++ b/mm/zpool.c @@ -198,7 +198,7 @@ struct zpool *zpool_create_pool(const char *type, const char *name, gfp_t gfp) */ void zpool_destroy_pool(struct zpool *zpool) { - pr_debug("destroying pool type %s\n", zpool->driver->type); + pr_debug("Destroying pool type %s\n", zpool->driver->type); zpool->driver->destroy(zpool->pool); zpool_put_driver(zpool->driver);