Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp5264597rwd; Sun, 18 Jun 2023 08:09:40 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7+04AsVBU5PNqJY4kwgVAkdYlz/cNZDbh/UFSisF23drFRdlG2c7xouLLla4+Whhh+b5tV X-Received: by 2002:a05:6e02:14a:b0:342:2f49:77eb with SMTP id j10-20020a056e02014a00b003422f4977ebmr4680687ilr.32.1687100979806; Sun, 18 Jun 2023 08:09:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687100979; cv=none; d=google.com; s=arc-20160816; b=f3dOCj2VDjdCPKZ9AUA5ws1/bdmFYheMu0Gcu4A2PomkUN1tdo3JlhFW+utt36X9Pp EeOokjcYuO/L4P1Xi93rcy1YScUjKQrOPJVX9C89ATcEz3vAR3AetbfKhRz3KoIppRQm z7ilSOhluJOcaB/nw1zhts8Cf10wkTS2Swg9rgZzf5i3EA0HqjLxBH2W+wxFrLA+3TFI tVJckJArO/p7khRJvbZ3vOhfBb12gVmln6uJYnRxtiYP+uj4ktI/5SfRWLhIP/aERTdu efBGJY5GoFzIikM8BWRfQcxA2F1uN/Tl0TyRaSznjPMJIUy8o1NNumuQjdXehvCAeHKd jaBw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent :content-transfer-encoding:references:in-reply-to:date:cc:to:from :subject:message-id; bh=3axSYVnS4FYFMIMj2S8hWzLc+vC+jd0ANXMF8r1J+5k=; b=GuKjsAX/wXFHkHAd/xpDzgAkOYWhA8dNIHn8V59fzl1gZSsfz9hXcWop8LnCm20twe 1wFXeXmypvGsHed5ylHIX1uwl3dCQ38B0cUNGSsP5iELD9shv2GamiPtlN8hK/5CLeGy hfnIaDoLB32IIkMqQWLH59KC2T35mL4VRGNQseyZCkIFFzlAO1K3EB3UJs//Ja636bYR Duq92P6bRACIiojvCkuNfU1qh0jfcvoPhrwcxK74CENmdiSRZ8f9hrq+fMpxW8duKFcG KFWTNP++3TlTZX9fpQliRFn3ZKHN2eAccXlHSNYc2LOcs/Jh/S3ZKpxOREdI5sLDrXou fd3A== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l71-20020a633e4a000000b005533750836fsi6307341pga.421.2023.06.18.08.09.24; Sun, 18 Jun 2023 08:09:39 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229688AbjFROyx convert rfc822-to-8bit (ORCPT + 99 others); Sun, 18 Jun 2023 10:54:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55918 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229470AbjFROyw (ORCPT ); Sun, 18 Jun 2023 10:54:52 -0400 Received: from relay.hostedemail.com (smtprelay0010.hostedemail.com [216.40.44.10]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D26C3C5 for ; Sun, 18 Jun 2023 07:54:51 -0700 (PDT) Received: from omf17.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay06.hostedemail.com (Postfix) with ESMTP id 85B8EAF9F7; Sun, 18 Jun 2023 14:54:50 +0000 (UTC) Received: from [HIDDEN] (Authenticated sender: joe@perches.com) by omf17.hostedemail.com (Postfix) with ESMTPA id CB73D1B; Sun, 18 Jun 2023 14:54:47 +0000 (UTC) Message-ID: <4fefbd7697c593b25ecc981668cc7bae1a1212d9.camel@perches.com> Subject: Re: [PATCH] workqueue: format pr_warn exceeds line length in wq_numa_init From: Joe Perches To: Lai Jiangshan , tj@kernel.org, linux-kernel@vger.kernel.org, zyhtheonly@gmail.com, zyhtheonly@yeah.net Cc: tiozhang@didiglobal.com Date: Sun, 18 Jun 2023 07:54:45 -0700 In-Reply-To: References: <20230616070041.GA32700@didi-ThinkCentre-M930t-N000> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT User-Agent: Evolution 3.48.3 (3.48.3-1.fc38) MIME-Version: 1.0 X-Rspamd-Queue-Id: CB73D1B X-Spam-Status: No, score=-0.2 required=5.0 tests=BAYES_00,FORGED_SPF_HELO, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, SPF_NONE,T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY autolearn=no autolearn_force=no version=3.4.6 X-Rspamd-Server: rspamout06 X-Stat-Signature: iizqkfy7wtwoc7o3cimfey14cgead7n6 X-Session-Marker: 6A6F6540706572636865732E636F6D X-Session-ID: U2FsdGVkX1+cRK7rSkNANajA3jaD43ZwaKMPzf3murA= X-HE-Tag: 1687100087-147404 X-HE-Meta: U2FsdGVkX189TGuvXrBqh/jRC/4R6aI59sqYT4nUnZcSQT8h1a1kRPBliILswJE38ETDZ5VGqub2XiuJu56YxvZ67qYdi9ikWP2RYu7zizeNPQU5Hcz6StAEpL8khxzQcuaD9MdreEkQNSRHq5iHbMc7R0IE04VzIVd0VCZqpXIxdg3rqtVxlGYNdQVtHADUDA31fq9C2t+gdg793ks6crq40RaPFjiuGmQAWQEU4G6LHArBe0oCTbsi7CRs9zRnKSVZj5AndKPyVHG+XdAkxuBAWkM3CYHnpjLsOTq9oo2pHgUSIkj+zOkQVMzqwM5ujuyhErWn6yd+CAMbnoPB79URBX09DuWGc88iwlezON9EnGyFdtF+QHAQLU/TELoC 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 On Sun, 2023-06-18 at 09:19 +0800, Lai Jiangshan wrote: > On Fri, Jun 16, 2023 at 3:00 PM tiozhang wrote: > > > > Format this long line which would potentially let checkpatch complain > > "WARNING: line length of 103 exceeds 100 columns". [] > This patch hurts the readability actually. A few extra characters exceeding > is Okay for me. [] > > diff --git a/kernel/workqueue.c b/kernel/workqueue.c [] > > @@ -5959,7 +5959,8 @@ static void __init wq_numa_init(void) > > > > for_each_possible_cpu(cpu) { > > if (WARN_ON(cpu_to_node(cpu) == NUMA_NO_NODE)) { > > - pr_warn("workqueue: NUMA node mapping not available for cpu%d, disabling NUMA support\n", cpu); > > + pr_warn("workqueue: NUMA node mapping not available for cpu%d, disabling NUMA support\n", > > + cpu); What _might_ work reasonably well is to add #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt before any include and remove "workqueue: " from all pr_ uses.