Received: by 10.192.165.148 with SMTP id m20csp159598imm; Wed, 9 May 2018 10:23:39 -0700 (PDT) X-Google-Smtp-Source: AB8JxZquRKww/qKHEi25jYi6mFHleUjKf/6zZ6KwxCCJFgOX7sdna9KX5qf9anIZhQIMfqolJxyX X-Received: by 2002:a63:7250:: with SMTP id c16-v6mr35842649pgn.385.1525886619349; Wed, 09 May 2018 10:23:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525886619; cv=none; d=google.com; s=arc-20160816; b=zfJ+G3l4r5rijw3VQT7LBV3aq9SL0nhnFF4EsLUB2kXiNWTXe60jY9uZq7j5z+2rvU L2uGCSGtIri3PTJzign/+txy3Cay+oeMAgx/2s59Ru3QCfqrKhx2gxJ9+W25FZj3vwL3 rsqryoyLWoUxLSAH2FV798JMKv6Oz9z/DoHK7AVjBNLN60yboPe4LqFG9y0mBhYY1FOl n82c9pUJBZkhPKlM0X33iz3m59fnzKSt0tJm65Z+lCIc9abB41QabHWx+tEsA0ZmjPzy y6dHkTzhzZY73SBpE/nf+7dhAC7ptQ0mOiYFVU6W+WmcLcLzl7t47AWZRt+R6g9le1+4 Hctg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:reply-to:dkim-signature :arc-authentication-results; bh=DS2C1kNR0Bum8QZUwIdBm1bdt3J5tzLSM589FYUsaCY=; b=N8n6cNBedLp2i/mLW07Dl0y0o08GGGWilhXicT0FFomwn1XQdeRpmrjqAQ6bWnxixl j5YjtUfCFARs099Ouh+F/sB4RExLIQVZFC7D0b4No2ddm5YMmum6JwlvswoFadS/d4UM Iqy9nQA4xElpM5PKLDyKyumNqxzTTB5O6jKj0q51KBSte1CqgUpHEMEm5+tTu22f0d9i M3jFNIUajbujYP7XyZ33zJd/myCrgO+DJUTZCX+OVvA3YRppNh+FUfPAbgo30dAIONaD RjoN/Zv9fDwLtQs+SQ2gjIHkHV5xfQJF4iesVEuT9sStRv8Eug1vkUNvMvWMNSrktP7h pUvw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=ajwxk4aq; 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 i3-v6si26729823pld.189.2018.05.09.10.23.17; Wed, 09 May 2018 10:23:39 -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=fail header.i=@gmail.com header.s=20161025 header.b=ajwxk4aq; 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 S965854AbeEIRWw (ORCPT + 99 others); Wed, 9 May 2018 13:22:52 -0400 Received: from mail-ot0-f193.google.com ([74.125.82.193]:34633 "EHLO mail-ot0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S935153AbeEIRWu (ORCPT ); Wed, 9 May 2018 13:22:50 -0400 Received: by mail-ot0-f193.google.com with SMTP id i5-v6so29356973otf.1; Wed, 09 May 2018 10:22:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:reply-to:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=DS2C1kNR0Bum8QZUwIdBm1bdt3J5tzLSM589FYUsaCY=; b=ajwxk4aqFSda2TjzMmve9b9vmPGtUVcJKme5rdsokY0EPWBJ85wGTMBPygExvquOAf m0gAND9O9EPm9ahZSUpYEFffc2Cf8mukanT5odInJ2lO12VfryI+jXonX2ZszmDI1/E4 J6qmDmyvkwBIruKNw3JWQYm4G2aAGSEXI8jwjcDHprSljUp6hq7Zyj5MmFdpqO8h8Z5G Y6gUr9rZfcF5mBec0WExW+xJhSidttr7vhjF3d78VANM3LSJdAXD1aVG5xxSuyYYrFBh mCTdU77J95dAip4RtL38cB27fxD4arLmkUxgvsJcGRcPahPC53d3iwaKlLRRJbn1g/so dexQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:reply-to:subject:to:cc:references:from :message-id:date:user-agent:mime-version:in-reply-to :content-transfer-encoding:content-language; bh=DS2C1kNR0Bum8QZUwIdBm1bdt3J5tzLSM589FYUsaCY=; b=Rpc6X0vhl3+WwnmxM6roEJyxADSCIFA6KB6RmO+3vW4Sk9QYY+D6UiZSkJX09CQMhf VdDo+yBMIKAhM5ickmhusui/NKSdOS5POKwkHlJYQH51rptRCU/nzSy2DFriH4juaBSb yJhUTzhFr8RchrjH/gd2j6nnzrSydAiNxWfimZwGRvjJhgivlZDluzhL1Nrs7EgDGcLq E9l8adp6b99TBW3nMzy9M+AnVxV4oogngtP8lN9DBc7AcsQ9vrVIkTQcfe+J+/cragfT fiinJ2rhV8VeHCfDMw1LVQS4grmiIspXu7DIXf4bu5r408YLWejgHNNyo7PfafvS4kxt LY3w== X-Gm-Message-State: ALKqPwdVcf4YgszxQ7nZbs0UdwohXiV50hRPUaJVHGTaFDYz0ZKGTSDd /edZ7qkE8vspBloA6NcGZQ== X-Received: by 2002:a9d:22a2:: with SMTP id y31-v6mr8923231ota.167.1525886569558; Wed, 09 May 2018 10:22:49 -0700 (PDT) Received: from serve.minyard.net (serve.minyard.net. [2001:470:b8f6:1b::1]) by smtp.gmail.com with ESMTPSA id e15-v6sm5000051oiy.24.2018.05.09.10.22.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 09 May 2018 10:22:48 -0700 (PDT) Received: from [192.168.27.3] (t430m.minyard.net [192.168.27.3]) by serve.minyard.net (Postfix) with ESMTPSA id 9D73E67A; Wed, 9 May 2018 12:22:47 -0500 (CDT) Reply-To: minyard@acm.org Subject: Re: [PATCH 0/6] treewide: Add and use dev_fmt similar to pr_fmt To: Joe Perches , openipmi-developer@lists.sourceforge.net, linux-rdma@vger.kernel.org Cc: x86@kernel.org, linux-kernel@vger.kernel.org, Greg Kroah-Hartman References: <4a397208-bd6c-a6c3-c161-4de8579ca17e@gmail.com> From: Corey Minyard Message-ID: Date: Wed, 9 May 2018 12:22:46 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-GB Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 05/09/2018 12:04 PM, Joe Perches wrote: > On Wed, 2018-05-09 at 11:47 -0500, Corey Minyard wrote: >> On 05/09/2018 10:15 AM, Joe Perches wrote: >>> The pr_fmt mechanism exists for pr_ logging message prefixing, >>> but no similar capability exists for dev_ message prefixing. >>> >>> Many uses of dev_ have an embedded prefix for logging output. >>> >>> So add a similar dev_fmt macro that can automatically prefix the >>> dev_ logging output. >>> >>> Rename the existing dev_ functions to _dev_ and add new >>> macros that call _dev_ with the desired prefix if defined. >>> >>> The new default #define for dev_fmt is blank. >>> >>> Convert ipmi and infiniband to use this mechanism. >> The IPMI changes look good to me. > Oh good. > >> There are some conflicts with a patch I have pulling out the proc >> interface that is destined for 3.18. > I'm sure you mean 4.18. Oops, yes :).  I was just looking at a 3.x kernel and it stuck in my brain. >> I can take the IPMI changes into my tree, if you want. > These patches are not at all urgent and were done > on top of next-20180509. > > As there are dependencies between the patch that > introduces dev_fmt and the reset of the patches, > I think it makes sense to take these as a single > patchset rather than take parts into various trees. The dependency isn't hard, the changes work without dev_fmt, it just won't print the prefix.  But I'm fine with you keeping them. > > Respinning the IPMI patches is trivial and can be > done whenever appropriate. > > When do you expect your IPMI patches to hit -next? > I went ahead and pulled it in now, it's been tested well enough in my tree. For patches 3, 4, and 5: Acked-by: Corey Minyard