Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp4213853imm; Tue, 25 Sep 2018 13:22:38 -0700 (PDT) X-Google-Smtp-Source: ACcGV63o6cIs40OZ1pKZVujPoPXWwMaBbAhZlzbJ3r3L9o+dAWdFGDppjhxbHL5ilu0laKzO1VVl X-Received: by 2002:a17:902:b787:: with SMTP id e7-v6mr2002447pls.252.1537906958482; Tue, 25 Sep 2018 13:22:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537906958; cv=none; d=google.com; s=arc-20160816; b=RclP4Fvb7FSZPGoSdjG4gWmPAReo0Hof9ybPtMQMgOhf9SAFFQ+1Gbo1wOL+2RHeYq /ulqh8eQMCunRLwNhctP65tcbRiscnBmhQRj0rSEAr7g9aVKRoNcRHNWEyfRW0H5VSDR yesuJdv8BETkuZRKF7bbF/r+Ok/6wgjKGC0hgkUMsyBk567OL2U+aND7hyUXybTFDuHq wuMEl/Q0TH1eKBYIT3dqflrfs0yeVQkP+7C6bfWHIYV+At/yrF+RSl14Mmxm7qNuuqtE SHmwC3XgRWkkI7800czivYqD0WMKBCxQFznFs9Px0lGoUA0mjzyjY77ZD3ndCPxr92EV NLBA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:date:cc:to:from:subject:message-id; bh=d2yyD/cKujmDN68NE61MgqsFADQzObpNhP1HnFY7e6g=; b=RrKTdXV3u5KNtISf6JiO7Dmae0qqVpb8DvJJnoi247auNAf0vmKZPLyWMFLBbhsgP9 XqLuF4UzkjUPcScDt2IXNV2HZZ4UPClQWnCydoO8iP4yV2vL+fY3sNq92tGUnXTiV7vi 0jrGbYLhfvJdXo89hL0Wi9Dyr7F8ZcBsMwMqE2HDkxVjgQiit79pV+0UHpRlWqZyFY5x 0CgHsVi1AVjh0vuY773tAEXU1m0RcfzdN0SjWvk9P3KEfOE6+Ibw6rfdDM46mQ1Shpog SY7mHHNRN2T+yPdapNdJa5gGZLUzOOya18ljqnfWBCJg3r/5Q6Gp8fB5gLB2OZRMO+vB aI7Q== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 137-v6si2941392pfb.45.2018.09.25.13.22.22; Tue, 25 Sep 2018 13:22:38 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727057AbeIZCbG (ORCPT + 99 others); Tue, 25 Sep 2018 22:31:06 -0400 Received: from smtprelay0016.hostedemail.com ([216.40.44.16]:54898 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726042AbeIZCbF (ORCPT ); Tue, 25 Sep 2018 22:31:05 -0400 Received: from filter.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay06.hostedemail.com (Postfix) with ESMTP id 4390918224D82; Tue, 25 Sep 2018 20:21:48 +0000 (UTC) X-Session-Marker: 6A6F6540706572636865732E636F6D X-Spam-Summary: 2,0,0,,d41d8cd98f00b204,joe@perches.com,:::::::::::::::::,RULES_HIT:41:355:379:541:599:800:960:967:968:973:988:989:1260:1277:1311:1313:1314:1345:1359:1437:1515:1516:1518:1534:1541:1593:1594:1711:1730:1747:1777:1792:2393:2525:2553:2559:2563:2682:2685:2693:2828:2859:2933:2937:2939:2942:2945:2947:2951:2954:3022:3138:3139:3140:3141:3142:3353:3622:3865:3866:3867:3868:3870:3871:3873:3874:3934:3936:3938:3941:3944:3947:3950:3953:3956:3959:4321:5007:6119:7903:9025:10004:10400:10848:11232:11658:11914:12043:12050:12296:12555:12663:12740:12760:12895:13069:13311:13357:13439:13618:14096:14097:14180:14181:14659:14721:21060:21080:21433:21451:21627:21740:30054:30060:30070:30079:30090:30091,0,RBL:47.151.153.53:@perches.com:.lbl8.mailshell.net-62.8.0.100 64.201.201.201,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fn,MSBL:0,DNSBL:neutral,Custom_rules:0:0:0,LFtime:31,LUA_SUMMARY:none X-HE-Tag: north82_83e34cca32b26 X-Filterd-Recvd-Size: 2797 Received: from XPS-9350.home (unknown [47.151.153.53]) (Authenticated sender: joe@perches.com) by omf08.hostedemail.com (Postfix) with ESMTPA; Tue, 25 Sep 2018 20:21:46 +0000 (UTC) Message-ID: Subject: Re: [PATCH net-next v6 02/23] zinc: introduce minimal cryptography library From: Joe Perches To: "Jason A. Donenfeld" Cc: LKML , Netdev , Linux Crypto Mailing List , David Miller , Greg Kroah-Hartman , Samuel Neves , Andrew Lutomirski , Jean-Philippe Aumasson Date: Tue, 25 Sep 2018 13:21:45 -0700 In-Reply-To: References: <20180925145622.29959-1-Jason@zx2c4.com> <20180925145622.29959-3-Jason@zx2c4.com> <2b5f2df2f1278c118a913259a44efdf589719293.camel@perches.com> <748429eee2fc77afd01630c24bd2cf66a545aec5.camel@perches.com> Content-Type: text/plain; charset="ISO-8859-1" X-Mailer: Evolution 3.28.5-0ubuntu0.18.04.1 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 Tue, 2018-09-25 at 22:12 +0200, Jason A. Donenfeld wrote: > Hi Joe, > > On Tue, Sep 25, 2018 at 10:05 PM Joe Perches wrote: > > As far as I can tell, zinc doesn't use pr_err, just > > pr_info > > Yes, pr_info, not pr_err. Apologies for my imprecision. But the > distinction does not matter at all, since they both use pr_fmt in > exactly the same way, which is sufficient for the purposes of this > discussion. > > > > why can't I just do this from the makefile, since > > > I want that same pr_fmt to copy the whole directory? > > > > Ideally all of those > > > > #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt > > > > uses will be removed one day soon and the default > > will change. > > > > https://lore.kernel.org/patchwork/cover/904507/ > > > > This slightly odd use might complicate that. > > Oh, that's good to see. In this case, I'm prefixing all of them with > zinc: instead of zinc_chacha20: (the modname), but I wouldn't object > to that changing to KBUILD_MODNAME if your patch lands. IOW, once your > patch lands, I'm happy to revisit this discussion and fall back to > using the sane defaults you're in the process of setting up for > everyone. I'd still prefer as all these are effectively debugging output that you convert the pr_info uses pr_debug and so avoid using pr_fmt altogether.