From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: MIME-Version: 1.0 Sender: geert.uytterhoeven@gmail.com In-Reply-To: <1516107034-6600-1-git-send-email-fabio.estevam@nxp.com> References: <1516107034-6600-1-git-send-email-fabio.estevam@nxp.com> From: Geert Uytterhoeven Date: Wed, 17 Jan 2018 09:14:18 +0100 Message-ID: Subject: Re: [PATCH v2] clk: Print the clock name and warning cause To: Fabio Estevam Cc: Stephen Boyd , Michael Turquette , Fabio Estevam , linux-clk Content-Type: text/plain; charset="UTF-8" List-ID: On Tue, Jan 16, 2018 at 1:50 PM, Fabio Estevam wrote: > When getting the clock related warnings, it is useful to know what > is the clock name that is causing the problem and the cause of the > problem. > > Add the clock name and the the warning cause to the log, so that the > output becomes clearer like this: > > [ 2.383969] ------------[ cut here ]------------ > [ 2.388720] WARNING: CPU: 0 PID: 1 at drivers/clk/clk.c:814 clk_core_disable+0xd4/0xf8 > [ 2.396658] uart4_ipg_gate already disabled > > Signed-off-by: Fabio Estevam Reviewed-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds