Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753269AbdLNUpA (ORCPT ); Thu, 14 Dec 2017 15:45:00 -0500 Received: from mail.free-electrons.com ([62.4.15.54]:46311 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752600AbdLNUoz (ORCPT ); Thu, 14 Dec 2017 15:44:55 -0500 Date: Thu, 14 Dec 2017 21:44:42 +0100 From: Boris Brezillon To: Randy Dunlap Cc: Wolfram Sang , linux-i2c@vger.kernel.org, Jonathan Corbet , linux-doc@vger.kernel.org, Greg Kroah-Hartman , Arnd Bergmann , Przemyslaw Sroka , Arkadiusz Golec , Alan Douglas , Bartosz Folta , Damian Kos , Alicja Jurasik-Urbaniak , Cyprian Wronka , Suresh Punnoose , Thomas Petazzoni , Nishanth Menon , Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Vitor Soares , Geert Uytterhoeven , Linus Walleij Subject: Re: [PATCH v2 6/7] i3c: master: Add driver for Cadence IP Message-ID: <20171214214442.55902041@bbrezillon> In-Reply-To: <8245f2de-eb0a-319b-8f45-d8d5dac36239@infradead.org> References: <20171214151610.19153-1-boris.brezillon@free-electrons.com> <20171214151610.19153-7-boris.brezillon@free-electrons.com> <20171214211722.1c2f269d@bbrezillon> <8245f2de-eb0a-319b-8f45-d8d5dac36239@infradead.org> X-Mailer: Claws Mail 3.14.1 (GTK+ 2.24.31; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 937 Lines: 30 On Thu, 14 Dec 2017 12:25:14 -0800 Randy Dunlap wrote: > On 12/14/2017 12:17 PM, Boris Brezillon wrote: > >>> + events.events = I3C_CCC_EVENT_HJ | I3C_CCC_EVENT_MR; > >>> + ret = i3c_master_enec_locked(m, I3C_BROADCAST_ADDR, &events); > >>> + if (ret) > >>> + pr_info("Failed to re-enable H-J"); > >> Not very good info... > > What do you mean? Is it the H-J that bothers you (I can replace it by > > 'Hot-Join'), or is it something else? > > Who is the message for? If it's for developers, you could use > pr_debug(). If it's for users, it needs more clarity. I think it's of interest to anyone including users. If we fail to re-enable Hot-Join that means hotplug is no longer working which is a bad news. > > Does it print the source of the message? (module name e.g.) I could replace it by dev_err(m->parent, "Failed to re-enable Hot-Join"); > and yes, Hot-Join would be better IMO. >