From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A3E17C3A5A6 for ; Fri, 30 Aug 2019 22:46:19 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 7E65823427 for ; Fri, 30 Aug 2019 22:46:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728263AbfH3WqS (ORCPT ); Fri, 30 Aug 2019 18:46:18 -0400 Received: from smtprelay0153.hostedemail.com ([216.40.44.153]:60114 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728143AbfH3WqS (ORCPT ); Fri, 30 Aug 2019 18:46:18 -0400 Received: from filter.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay03.hostedemail.com (Postfix) with ESMTP id 30292837F24A; Fri, 30 Aug 2019 22:46:17 +0000 (UTC) X-Session-Marker: 6A6F6540706572636865732E636F6D X-HE-Tag: cream33_197a4f8aa505a X-Filterd-Recvd-Size: 2154 Received: from XPS-9350.home (unknown [47.151.137.30]) (Authenticated sender: joe@perches.com) by omf14.hostedemail.com (Postfix) with ESMTPA; Fri, 30 Aug 2019 22:46:14 +0000 (UTC) Message-ID: Subject: Re: [PATCH v2] kunit: fix failure to build without printk From: Joe Perches To: Tim.Bird@sony.com, brendanhiggins@google.com Cc: shuah@kernel.org, sergey.senozhatsky.work@gmail.com, kunit-dev@googlegroups.com, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, frowand.list@gmail.com, sboyd@kernel.org, pmladek@suse.com, sergey.senozhatsky@gmail.com, rostedt@goodmis.org, rdunlap@infradead.org, sfr@canb.auug.org.au Date: Fri, 30 Aug 2019 15:46:13 -0700 In-Reply-To: References: <20190828093143.163302-1-brendanhiggins@google.com> <20190828094929.GA14038@jagdpanzerIV> <8b2d63bf-56cd-e8f5-e8ee-2891c2c1be8f@kernel.org> <20190830183821.GA30306@google.com> Content-Type: text/plain; charset="ISO-8859-1" User-Agent: Evolution 3.32.1-2 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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.