Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753816AbcCANnM (ORCPT ); Tue, 1 Mar 2016 08:43:12 -0500 Received: from mail-wm0-f54.google.com ([74.125.82.54]:37502 "EHLO mail-wm0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752636AbcCANnI (ORCPT ); Tue, 1 Mar 2016 08:43:08 -0500 MIME-Version: 1.0 In-Reply-To: <56D577CC.1070107@mellanox.com> References: <1456668821-25799-1-git-send-email-pandit.parav@gmail.com> <1456668821-25799-3-git-send-email-pandit.parav@gmail.com> <56D55CE6.7030103@mellanox.com> <56D577CC.1070107@mellanox.com> Date: Tue, 1 Mar 2016 19:13:05 +0530 Message-ID: Subject: Re: [PATCHv7 2/3] IB/core: added support to use rdma cgroup controller From: Parav Pandit To: Haggai Eran Cc: cgroups@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-rdma@vger.kernel.org, Tejun Heo , lizefan@huawei.com, Johannes Weiner , Doug Ledford , Liran Liss , "Hefty, Sean" , Jason Gunthorpe , Jonathan Corbet , james.l.morris@oracle.com, serge@hallyn.com, Or Gerlitz , Matan Barak , raindel@mellanox.com, akpm@linux-foundation.org, linux-security-module@vger.kernel.org Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1348 Lines: 28 On Tue, Mar 1, 2016 at 4:36 PM, Haggai Eran wrote: > On 01/03/2016 11:22, Parav Pandit wrote: >> On Tue, Mar 1, 2016 at 2:42 PM, Haggai Eran wrote: >>> On 28/02/2016 16:13, Parav Pandit wrote: >>>> diff --git a/drivers/infiniband/core/device.c b/drivers/infiniband/core/device.c >>>> index 00da80e..54ea8ce 100644 >>>> --- a/drivers/infiniband/core/device.c >>>> +++ b/drivers/infiniband/core/device.c >>>> @@ -343,28 +343,38 @@ int ib_register_device(struct ib_device *device, >>>> >>>> ret = read_port_immutable(device); >>>> if (ret) { >>>> - printk(KERN_WARNING "Couldn't create per port immutable data %s\n", >>>> - device->name); >>>> + pr_warn("Couldn't create per port immutable data %s\n", >>>> + device->name); >>>> goto out; >>> >>> This change doesn't belong in the patch. >> I agree, but few warnings are with pr_warn and few with printk just >> make code look uneven. >> So I changed printk to pr_warn in same function instead of spinning >> complete new patch. > Still, I think it would be better to have such cosmetic changes in a > separate patch, so that we have a cleaner git history. You can send > this extra patch separately from this patchset so that Doug can take > it independently. o.k.