Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp4195387imm; Tue, 25 Sep 2018 13:03:07 -0700 (PDT) X-Google-Smtp-Source: ACcGV61RsGtkd1sivFaS3iBQSzL/mwCE2EnKRjITJ+DcrOTxYnjHnqYJ3h0q5+0grMVOCsgCM8rI X-Received: by 2002:a62:9349:: with SMTP id b70-v6mr2647429pfe.193.1537905787649; Tue, 25 Sep 2018 13:03:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537905787; cv=none; d=google.com; s=arc-20160816; b=D6whxcYsdCxFFIPH0AbCk1qcgPiCOEpMBtIi3vGILFG+Jw30FEpvMo5HehL9mCQJDS 1p46a/WRqF66x82et/gPqxU4/sThZdz/ZbSKC+2Lsv2m2P0j36dshoZ67i6gRSUUVVDw 2kEP08HKLKGLhYzvQdWYmmdInWuzqUqS4Mjpui15Veq3Ke09fQfQSb389l16gig95TyC xX+vwLm5eIC3Z54rja9yqlywt0NIC48YAT+TUeJ+vhW4A0q8w783XNhh6Jo2zBRdMK8V dapxMJPqzTDgf3u0MqqsKYLRO6q70CC6BqfbIpyKPJxLcZmcA76AU4Wh0Rr28+/9PcZo UttA== 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=YaZoiRYrGUXLb1ihaW4Z5mouASNY667LmD1Kg5MWck0=; b=jtjIt8NlyexXGfoUC2BsgQM1kfxtMVNGIcdebJ0bAFw7fI5oBFPuZEv54Pc2ZXIfH3 4KXSO3+529Zq4pMH7j7krH+tfcOra3l6S/OZNwDWSs2WMtf9mAPFom3BRRbiVsRSg/r+ /ztaz56sjmOlapm/aLwOrybcB4wjMCDxHZ3rHu77ZSvpRSo93HF3+kHulaY5jwA2F78y lDlW+y1zKd+fwkXAGlpiJ8tqrUWcLVKxDDHIQrtH/Q1zkHwTVy2NszuidSK3z7YQ7MKR 5BJ2LdPmvTpboU/nEbT1FvsVl0JvttjrrVgFEOqSlkQZI87xlCI8ubuHLd6l5sImeSmD K8LA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@zx2c4.com header.s=mail header.b=zqtpmUfI; 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 64-v6si3351090plb.262.2018.09.25.13.02.51; Tue, 25 Sep 2018 13:03:07 -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=zqtpmUfI; 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 S1726281AbeIZCLl (ORCPT + 99 others); Tue, 25 Sep 2018 22:11:41 -0400 Received: from frisell.zx2c4.com ([192.95.5.64]:35167 "EHLO frisell.zx2c4.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725805AbeIZCLl (ORCPT ); Tue, 25 Sep 2018 22:11:41 -0400 Received: by frisell.zx2c4.com (ZX2C4 Mail Server) with ESMTP id 1672d3b6; Tue, 25 Sep 2018 19:43:59 +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=PmEK7EcXRp29iDPblciKrkxZ3SA=; b=zqtpmU fIaPYJbEFqwWgmMm5gB0/ZdaXgGBSTZQKuz7369mF3Gp2DJA4cq+yuSUw+pNVNTH V8X8Czjo4zZFubo8RmRIVti5Gexe3Ty2yKW94lqyxyvemW9OZOQ5y8Dqv2tuVC1t QNhpFkvlPkT4kRXMxxj3YQRDe63CpP9oM+3xI3rTF7nZ4YdMrXR0ZKJ1s1JAa+wB Ti0L+kiMVaNQ9JaVgDVY4okBkNUfj7AjllDxYJ0M0dNmAKXQg32BOAqdpiGpAa9m dEARBV1cjpq2dqywMznqx8gKfFvPostln1hFVOzg77thzXqyXS1fzltQebLUYCwY q1L4ZO5E+TyWC4Bw== Received: by frisell.zx2c4.com (ZX2C4 Mail Server) with ESMTPSA id 2f32156d (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128:NO); Tue, 25 Sep 2018 19:43:58 +0000 (UTC) Received: by mail-ot1-f50.google.com with SMTP id j9-v6so25768232otl.2; Tue, 25 Sep 2018 13:02:26 -0700 (PDT) X-Gm-Message-State: ABuFfohJT3tBPRj+v0bNbLuHj7rpIbvikYf+H7TkeA+9pz8ZYCFPXwV0 nR3nUTvDgvABBrDXClB3bEPaCQ/8wULvltKiWMk= X-Received: by 2002:a9d:48a8:: with SMTP id d37-v6mr1974084otf.384.1537905745415; Tue, 25 Sep 2018 13:02:25 -0700 (PDT) MIME-Version: 1.0 References: <20180925145622.29959-1-Jason@zx2c4.com> <20180925145622.29959-3-Jason@zx2c4.com> <2b5f2df2f1278c118a913259a44efdf589719293.camel@perches.com> <1BA7DB23-7BB6-46BA-A3E2-D65BC3CAF11C@amacapital.net> In-Reply-To: <1BA7DB23-7BB6-46BA-A3E2-D65BC3CAF11C@amacapital.net> From: "Jason A. Donenfeld" Date: Tue, 25 Sep 2018 22:02:13 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH net-next v6 02/23] zinc: introduce minimal cryptography library To: Andy Lutomirski Cc: Joe Perches , 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 On Tue, Sep 25, 2018 at 10:00 PM Andy Lutomirski wrote: > > On Sep 25, 2018, at 12:43 PM, Jason A. Donenfeld wrote: > > > >> On Tue, Sep 25, 2018 at 8:33 PM Joe Perches wrote: > >> I think the -Dpr_fmt is especially odd and not > >> really acceptable as it not used anywhere else > >> in the kernel. > > > > There are about 2000 cases in the kernel of the same '#define > > pr_fmt...' being pasted into the top of the file, which seems a bit > > cumbersome. Rather than having to paste that into each and every file > > that I pr_err from, why can't I just do this from the makefile, since > > I want that same pr_fmt to copy the whole directory? > > Because people like to be able to just read the C file to figure out what it does. Or we could adopt the Makefile approach kernel-wide, since this use of it seems reasonable. It would indeed be nice to see this done tree-wide. I can recall various random bugs over the year where some dmesg messages are missing a prefix because the author forgot to copy and paste the thing to /yet another file/ in the same directory.