From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33519) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zq5Dn-0005nF-A9 for qemu-devel@nongnu.org; Sat, 24 Oct 2015 16:15:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zq5Di-0001PQ-9a for qemu-devel@nongnu.org; Sat, 24 Oct 2015 16:15:23 -0400 Received: from zose-mta03.web4all.fr ([185.49.20.44]:58262) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zq5Di-0001P8-3I for qemu-devel@nongnu.org; Sat, 24 Oct 2015 16:15:18 -0400 From: Jean-Christophe Dubois Date: Sat, 24 Oct 2015 22:15:12 +0200 Message-Id: Subject: [Qemu-devel] [PATCH v3 0/8] i.MX: Standardize debug code List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org, peter.maydell@linaro.org, crosthwaite.peter@gmail.com Cc: Jean-Christophe Dubois We fix all i.MX driver files to use the same type of debug code. The goal is to have debug code always compiled during build. We standardize all debug output on the following format: [QOM_TYPE_NAME]reporting_function: debug message We also replace IPRINTF with qemu_log_mask(). The qemu_log_mask() output is following the same format as the above debug. Jean-Christophe Dubois (8): i.MX: Standardize i.MX serial debug. i.MX: Standardize i.MX GPIO debug i.MX: Standardize i.MX I2C debug i.MX: Standardize i.MX AVIC debug i.MX: Standardize i.MX CCM debug i.MX: Standardize i.MX FEC debug i.MX: Standardize i.MX EPIT debug i.MX: Standardize i.MX GPT debug hw/char/imx_serial.c | 51 ++++++++++++++++++++--------------------- hw/gpio/imx_gpio.c | 27 +++++++++++----------- hw/i2c/imx_i2c.c | 43 ++++++++++++++++++----------------- hw/intc/imx_avic.c | 44 +++++++++++++++--------------------- hw/misc/imx_ccm.c | 34 ++++++++++++++++++---------- hw/net/imx_fec.c | 64 ++++++++++++++++++++++++++-------------------------- hw/timer/imx_epit.c | 48 ++++++++++++++++----------------------- hw/timer/imx_gpt.c | 56 +++++++++++++++++++-------------------------- 8 files changed, 176 insertions(+), 191 deletions(-) -- 2.5.0