Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp4206699imm; Tue, 25 Sep 2018 13:14:40 -0700 (PDT) X-Google-Smtp-Source: ACcGV61Qq6NWNpvRRMPR4qOro1OtmXocaz3xIFpER2PqDM8XlKWmcLRobxW4GZ/5XYgZgX+hSuID X-Received: by 2002:a63:1947:: with SMTP id 7-v6mr2525166pgz.192.1537906480527; Tue, 25 Sep 2018 13:14:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537906480; cv=none; d=google.com; s=arc-20160816; b=ZYrR4Q8pNqg1+L6IArc76udUIIR34D3ryiXv647Nd6ruhMKtC7UQjFevqNOvH+y/hN E7rPHqk0VC0E5V+6bjRsT7kIZGOWk2xkY30gWA9aQlB3lmTB/P3eVcykmM2s+7wgcFra e+085AL7Fq2zwPcR6iG9nQq7nTu3r/OIhJrhXodqqGP2y4Lq91a4uFjyYAMhervOud02 mwzoPishksQIfnwraBJmiqvUkJdZOYii+euNgstyLwcb4raNxRix45MLcPGIH1teFTnc eF52oy1C+NiFPw/9HROE7f47EWYOFpVCzi2z6kRC8a/jH8BsrciTmvtCszVOrVHHgrwR lRdQ== 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=MO/cfWLhVBkrKaVG7c4+rGiXFZpuz8v4Dq4IkfVOMu0=; b=zSSV53rVVgVu5Yo+sjqO7TKzxC2RZP6SWJy3a7Bnt1GRCL77Qv9vDJ4keBOVWEP0w9 jES2T4r8W/AHOzO1TYjJ9H8i8ZnLXeBUQEbdeDTa2RiHKGivsidnB8schetgWUg/QEPc fqON/qY6QYIJFOkzu/AAuyY2GziFzjTRHDAS4rkSqowQ8xPg05MFOOTsJDy4OD2oQP0E TjH8E0mb3iBFOX5BXat8i6fo7klcu85ozhuDcnpB4cqR+rINGpruYjCQc88tzlkmDKN4 yE7tCCUGSnCiGhb0nUmAWhA+7uQcdjY2oVJjHxGXcazumoYIwpVsIFXMg70Zl7gmFl8p ZmZQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@zx2c4.com header.s=mail header.b="TEP7M/AU"; 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=NONE dis=NONE) header.from=zx2c4.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k7-v6si3148396plt.327.2018.09.25.13.14.25; Tue, 25 Sep 2018 13:14:40 -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=@zx2c4.com header.s=mail header.b="TEP7M/AU"; 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=NONE dis=NONE) header.from=zx2c4.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726706AbeIZCWX (ORCPT + 99 others); Tue, 25 Sep 2018 22:22:23 -0400 Received: from frisell.zx2c4.com ([192.95.5.64]:46369 "EHLO frisell.zx2c4.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726213AbeIZCWX (ORCPT ); Tue, 25 Sep 2018 22:22:23 -0400 Received: by frisell.zx2c4.com (ZX2C4 Mail Server) with ESMTP id deddc221; Tue, 25 Sep 2018 19:54:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=zx2c4.com; h=mime-version :references:in-reply-to:from:date:message-id:subject:to:cc :content-type; s=mail; bh=1L9KXjlrygRhsUzF+BzFa1+/YG4=; b=TEP7M/ AUQR8MZ58AFCxnZcYboPp0ou9RhWhT5R6TQAlvCK8zf3lKABV5GTRfFIsQ/sGbUx oIbQnVBSxdc/vRHwReLRQy26U+jZRHAzg+VEtIZdqI1jF7AH37m5cA6S7chVLuQV WWl4MGDavrluOz1mW+GtERve8iiaW3qWBIdjnPqsUupxU3vIFin19m3Zfpyob0XY 7xO5oTLiMb7ZNrtuv7SPOY4mFC+3BG5ZcQZyt95cfGGBRQt01s5dEhKwXZppe+Lr /bRyH+1KyYJqEHvTbj6dFnpI/Peu8PXZTDmJ6c/TVaadkCgxcfOY1lfbgoAowgZw pDsXJFtM82Z0uYnw== Received: by frisell.zx2c4.com (ZX2C4 Mail Server) with ESMTPSA id cc6b236e (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128:NO); Tue, 25 Sep 2018 19:54:39 +0000 (UTC) Received: by mail-ot1-f45.google.com with SMTP id c12-v6so25780444otl.6; Tue, 25 Sep 2018 13:13:07 -0700 (PDT) X-Gm-Message-State: ABuFfohaxRIDKj6klfDb2VoKgpb7f8dVQ1Ojw4JduCMleM7BX2QBrXNK irgQmdfiTPKHk+cwg4GH9P363LHoxuATDS211hA= X-Received: by 2002:a9d:522d:: with SMTP id e45-v6mr1821874oth.250.1537906386458; Tue, 25 Sep 2018 13:13:06 -0700 (PDT) MIME-Version: 1.0 References: <20180925145622.29959-1-Jason@zx2c4.com> <20180925145622.29959-3-Jason@zx2c4.com> <2b5f2df2f1278c118a913259a44efdf589719293.camel@perches.com> <748429eee2fc77afd01630c24bd2cf66a545aec5.camel@perches.com> In-Reply-To: <748429eee2fc77afd01630c24bd2cf66a545aec5.camel@perches.com> From: "Jason A. Donenfeld" Date: Tue, 25 Sep 2018 22:12:54 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH net-next v6 02/23] zinc: introduce minimal cryptography library To: Joe Perches Cc: LKML , Netdev , Linux Crypto Mailing List , David Miller , Greg Kroah-Hartman , Samuel Neves , Andrew Lutomirski , Jean-Philippe Aumasson 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 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. Jason