Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp1318981ybl; Fri, 30 Aug 2019 16:03:41 -0700 (PDT) X-Google-Smtp-Source: APXvYqx8/CYVyFpIIkvWKp+RF4cgdtiq9gX8wunBYXYIb5M8+XS7+ftVLs9gNCIK7PgjkpivP9KX X-Received: by 2002:a65:4489:: with SMTP id l9mr15276503pgq.207.1567206221226; Fri, 30 Aug 2019 16:03:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567206221; cv=none; d=google.com; s=arc-20160816; b=pvV9tM1XOBAx4CrB+F484SZhrK2mwKYub6yn+bwsLmShWgQvop9NTc4/PD8aj376MF 0qPn2s51OKKJBwCpsuP9rxPjaXNWp1CdqJ0XIk371xI2ZYQ3fs8wmv56dI3VcvBGUoe1 E7eDddsbLkdaUb3jIhvWnUmUTnIPBj2PVkw2R5mz+p6I2dXGhj9zy5sVuF9HfEOSa65H ljBeCfW5ZdIJCGYA5XhWEPp4OeffMuE6dxhC31hDfE99drYz08DUfk65Y2OJkVImQqcR Xb1tvRvtFXBQKLZvVYEDav9WckEKBay5ITYQdq5pES4IPhCWNTibfX12PX4OYms9gg4S VyWw== 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 :in-reply-to:references:mime-version:dkim-signature; bh=WuSrKaBjz6ivWHwLFrJgF/L58VeUxzznRdGEYR+c17w=; b=GkGQba0s+9i2rwYhVJJmtwusioqDwc5yLo2ATpFcJwC0evVH1V/IZ6Ri0DwxLqnjtO CT8X90401xEbVbpCvZvHKv89GVmTeMpwCGSe5NRMTzqipZqPuKStSXBi9WvIqUvvjUU6 vOMckbCbPuEMKFbWixB7VxZjpitoWJDkk3elK+Y2xeRbrQtXNdNhgggl3FewC2iJuY9y 9ddbUq1b4LJbrkgiGz9JUOPXqlvoE9rD0J1xXJLb/yWL/mT6H7ssA+l/B4dkybbuw1PH I8YRotCzhzlofdBpyWaUCko11NZ8iXOOpUosM92dF31cfwZ8TAmjRrgYUjqxdgBj74tI nxEQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=EYxkV44g; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e3si5337485pgv.153.2019.08.30.16.03.22; Fri, 30 Aug 2019 16:03:41 -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=@google.com header.s=20161025 header.b=EYxkV44g; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728225AbfH3XC0 (ORCPT + 99 others); Fri, 30 Aug 2019 19:02:26 -0400 Received: from mail-pl1-f195.google.com ([209.85.214.195]:37423 "EHLO mail-pl1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728185AbfH3XC0 (ORCPT ); Fri, 30 Aug 2019 19:02:26 -0400 Received: by mail-pl1-f195.google.com with SMTP id bj8so4005081plb.4 for ; Fri, 30 Aug 2019 16:02:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=WuSrKaBjz6ivWHwLFrJgF/L58VeUxzznRdGEYR+c17w=; b=EYxkV44gAiJ5RGYNjhQk6VbArVubnJW/4qj50Eu8EsglB+MFzheaW/0YM4soCMmUvy sBx6BCsU81MbaWrb+zExxv/sNrAWyhxZbGpG5nDfEGZ4nUDjLCxBqp+6G+LL+525lhlN HbokrROYgvVX1dBiCYW/M7kPYIrtL3VeLSKEN4SqEtlcOFqwEs2sTM4RIaUsHpqPOtJF ChT3acb5jJ3MDHbDXseFCZs8DkuC/cUStBiX5q3gu8fByUeNedQvJ0kytpmpRvGmxM23 mS3rHmTMIrL5iw5YAcFJDl6gOqJXnQ/WFaH0Nxyky0M5SYDCrBTjbkI+Y02q3Ihi/x7d rc+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=WuSrKaBjz6ivWHwLFrJgF/L58VeUxzznRdGEYR+c17w=; b=g1DQkqH3BzSwYYpl1PGOY88PhEemgaY4HEcz2DFXCf5Ifk0LR/kfNYXCl5hrJkYOEQ gZ3Ido6kYADmYK+qi+cZZD/k5vOUnQl6sJcqxl2dWBZKeW0+dyWRqyXZvJf6sga5gYYM k6gMsYexHiu4wKVD2Ex0Mpf0zwE/XwR23j0tbNti2zSPvUdL4NrtDn+Pie+LPhGzeiGt aPDdPvXf6mJYF0MdzBOqobHkpPsaTnHqLDq9KJKGBdK0OwEtfwUkP5m9I/yLud/3Mg0Q awH5gkR3aKENma42yjaKxRfY4wMPGpgJoiIP9awrweXk6P9pr1R8qj91hwK4i1BkIPZe Pwag== X-Gm-Message-State: APjAAAVAUp0IjmlfON5DkJcLBRNiuO+191lyZrwr8NJ6ubUxLKXaVal/ 7uEaRuL7rff9C5pviaBbEno1hFqn3q+Wt7PDQXQP7g== X-Received: by 2002:a17:902:169:: with SMTP id 96mr17348451plb.297.1567206144995; Fri, 30 Aug 2019 16:02:24 -0700 (PDT) MIME-Version: 1.0 References: <20190828093143.163302-1-brendanhiggins@google.com> <20190828094929.GA14038@jagdpanzerIV> <8b2d63bf-56cd-e8f5-e8ee-2891c2c1be8f@kernel.org> <20190830183821.GA30306@google.com> In-Reply-To: From: Brendan Higgins Date: Fri, 30 Aug 2019 16:02:13 -0700 Message-ID: Subject: Re: [PATCH v2] kunit: fix failure to build without printk To: Joe Perches Cc: "Bird, Timothy" , shuah , Sergey Senozhatsky , kunit-dev@googlegroups.com, Linux Kernel Mailing List , "open list:KERNEL SELFTEST FRAMEWORK" , Frank Rowand , Stephen Boyd , Petr Mladek , sergey.senozhatsky@gmail.com, Steven Rostedt , Randy Dunlap , Stephen Rothwell 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 Fri, Aug 30, 2019 at 3:46 PM Joe Perches wrote: > > On Fri, 2019-08-30 at 21:58 +0000, Tim.Bird@sony.com wrote: > > > From: Joe Perches > [] > > IMHO %pV should be avoided if possible. Just because people are > > doing it doesn't mean it should be used when it is not necessary. > > Well, as the guy that created %pV, I of course > have a different opinion. > > > > then wouldn't it be easier to pass in the > > > > kernel level as a separate parameter and then strip off all printk > > > > headers like this: > > > > > > Depends on whether or not you care for overall > > > object size. Consolidated formats with the > > > embedded KERN_ like suggested are smaller > > > overall object size. > > > > This is an argument I can agree with. I'm generally in favor of > > things that lessen kernel size creep. :-) > > As am I. Sorry, to be clear, we are talking about the object size penalty due to adding a single parameter to a function. Is that right?