Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp4814166imm; Mon, 14 May 2018 13:38:43 -0700 (PDT) X-Google-Smtp-Source: AB8JxZopDLo5XctXo7i/n0F/YGwBKiwQq7Yry+jI+AXJDqpDiEiyBm5IhrIFVNAVx1nCFT7qD+ZZ X-Received: by 2002:a62:ca98:: with SMTP id y24-v6mr11816532pfk.187.1526330323885; Mon, 14 May 2018 13:38:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526330323; cv=none; d=google.com; s=arc-20160816; b=0PKy7zmAIWA9/zQBSUymVPGVCccqC2BEugMnpMDVeIkcqeRurJP9EJKEpNbwzh76fo JZk9UNRDSY3PbpAp18+G5WwJjJq8Ds/P0Q94vVQK+wcZh1Q6cFUdfagDgXwZ6bSGf9+v UK8ES5GPq4Ic5b2MHITQYBrKy2anLnyNKvDWHNBJrSWSihnyO//ytedWnwvMDs+/qIAO XECbsAdv2TNR+qYRnbqEg0HIMMxLGQny/ypEI4SzB0oUtXRoG1R7kGagQAmjoLw1dKpf thtN/I8wSxiliXe7Jb2zAn17oic7kLFokNDYU70cyzVFzx3H9NPxVO8MVYjpiY1OHXK6 aKmQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=/GoDNd18G8aWDiW8rOf61kIqc9l2UmTltEQUgh4IB40=; b=aXSnZT2Z1BRrEZ76ioHvZtF7AVaYLmT0t8xBv/UNWWRS+TDnL/zJc7Qyup9Wq7wHu3 tjG5jYTscRK0P/cLBuXJbZ7kHatVA5KPYz51aEed1aaoa2ySlSanbq4r2AetQwSJ2Tgg vqDor9MUgznx93wGjz7Rmmz/kIMhMEbIiO+iJXRJh2bt4GwVrsvjt8i4fh7dujDIaTxN A0zeIKueoOUJ1GzDosO+uSYW6Dtb6uTXWygqRdpLx6pBYxNhOBcZQtvHpRFbQmWqXvVB O63xjN9Y1AQIK3o56Q1BeAyLIx/41BVmNuNnCCHVDugvKtQ7XseT6vYn3k938ffweE0H /CJw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=QNfDKoEu; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e11-v6si2467817pgf.469.2018.05.14.13.38.29; Mon, 14 May 2018 13:38:43 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=QNfDKoEu; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752109AbeENUh7 (ORCPT + 99 others); Mon, 14 May 2018 16:37:59 -0400 Received: from mail-qt0-f172.google.com ([209.85.216.172]:39099 "EHLO mail-qt0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751498AbeENUh6 (ORCPT ); Mon, 14 May 2018 16:37:58 -0400 Received: by mail-qt0-f172.google.com with SMTP id f1-v6so17996801qtj.6 for ; Mon, 14 May 2018 13:37:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=/GoDNd18G8aWDiW8rOf61kIqc9l2UmTltEQUgh4IB40=; b=QNfDKoEu+ERN8Ziz2TejW+iJzb5LZzLkDwTBp98jCN7d2wkR9w3Bjt+JQAf0u83v+e b0qNbSy1fsOCosPzezws/Ru6soxL0aaGvLMixurjfkDE+XP4xZS1bAswn7I6NvN9bw+6 9pje6KYGeExserdmtt1W9OjMU8kZXyIQnfB7H3Ar359Db+AHZ4HS9Bbd6XDXlYVhLRgv g271JC58xgDMMVibTwo2ks+08uQIXYM56P0xloeJ5JDVJQoH8Nx2M9W5H8cLNxjeIH7i tR2MGUFhA0C+SoHF3J9THRMGvCRxUoml5mJZaN0ALaozUKw4+gsEPWRUEhVPGgYcaY8/ JuzA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=/GoDNd18G8aWDiW8rOf61kIqc9l2UmTltEQUgh4IB40=; b=PftTUPSTpG/yciV79oVfEeNghrTsO0Q1AQn+bUv8w41HyLMc9Q9q2G8fdui3O2q0kw SMDJruWOXJi1odw1oYX6B2EeB2RbFH3LIMRyi8EjJNeYwr+URv6y21MS3bKh+6vFayzb e3dbCCKJIphipNPuJ3SSLsqhDgqYEorXc2w6O0wBv0ygY5uJkdGq7wxvihccFgDIIe8x Xp9VkGTxPA0Dx3HoeiZK5+NTHN2bci1P8LdiEQoNnXmOD3NwQLpdXdbp1N7AN5a79l9k bBIVUMc/1uWSn2j5cbziAiuMfCyRq+V3rdvI3jfuJqlhHkD8rPSxXoGw2ySDkRqmol6k u93g== X-Gm-Message-State: ALKqPwdjrRK63eNj8tjnNM0XAh+3fzEhzGdGZa+BryS6JGPnkp4fL1Y+ fI3CnUBKtEuvhJ937S16CLWHdmQdACGkBJC7pJJYlwXd X-Received: by 2002:aed:2c43:: with SMTP id f61-v6mr10533767qtd.105.1526330277206; Mon, 14 May 2018 13:37:57 -0700 (PDT) MIME-Version: 1.0 Received: by 10.12.152.150 with HTTP; Mon, 14 May 2018 13:37:56 -0700 (PDT) In-Reply-To: <20180514202910.GI26088@linux.vnet.ibm.com> References: <41d9686471d67f6f98d160e5891bf61061515b6d.1525964386.git.joe@perches.com> <20180514202910.GI26088@linux.vnet.ibm.com> From: Andy Shevchenko Date: Mon, 14 May 2018 23:37:56 +0300 Message-ID: Subject: Re: [PATCH 18/18] rcu: Use pr_fmt to prefix "rcu: " to logging output To: "Paul E. McKenney" Cc: Joe Perches , Josh Triplett , Steven Rostedt , Mathieu Desnoyers , Lai Jiangshan , Davidlohr Bueso , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, May 14, 2018 at 11:29 PM, Paul E. McKenney wrote: > On Thu, May 10, 2018 at 08:45:44AM -0700, Joe Perches wrote: > And I took this (but kept the period), plus used "%s" to make it fit in > 80 characters: > > pr_info("\tRCU restricting CPUs from %s=%d to %s=%u.\n", > "NR_CPUS", NR_CPUS, "nr_cpu_ids", nr_cpu_ids); Why do care about 80 characters for string literals? (Checkpatch dropped this limit long time ago after some discussions) I think it's better to find line if more context given (this my objection agains %s for string literals). -- With Best Regards, Andy Shevchenko