From: Artem Bityutskiy Subject: Re: [PATCH V5] mtd: ubi: Extend UBI layer debug/messaging capabilities Date: Thu, 06 Nov 2014 10:18:45 +0200 Message-ID: <1415261925.958.177.camel@sauron.fi.intel.com> References: <1413824221-31235-1-git-send-email-tlinder@codeaurora.org> <5449C870.7060509@huawei.com> <54566692.10504@codeaurora.org> Reply-To: dedekind1@gmail.com Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Return-path: Received: from mga11.intel.com ([192.55.52.93]:6234 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751303AbaKFIS4 (ORCPT ); Thu, 6 Nov 2014 03:18:56 -0500 In-Reply-To: <54566692.10504@codeaurora.org> Sender: linux-arm-msm-owner@vger.kernel.org List-Id: linux-arm-msm@vger.kernel.org To: Tanya Brokhman Cc: hujianyang , ezequiel.garcia@free-electrons.com, Richard Weinberger , open list , linux-mtd@lists.infradead.org, linux-arm-msm@vger.kernel.org, Brian Norris , David Woodhouse On Sun, 2014-11-02 at 19:14 +0200, Tanya Brokhman wrote: > >> + ubi_err(ubi, "self-check failed for PEB %d", pnum); > >> + ubi_msg(ubi, "hex dump of the %d-%d region", > >> + offset, offset + len); > >> print_hex_dump(KERN_DEBUG, "", DUMP_PREFIX_OFFSET, 32, 1, buf, > len, 1); > >> err = -EINVAL; > >> error: > > > > Artem, I know you have tried to align the message code in different > lines, maybe > > you can check if you lose this one. > > > > hmmm... not sure I understand what is wrong here.... It is more of a nit-pick, but we try to be consistent. Here is how we align split messages: ubi_msg(ubi, "blah", XYZ) and not ubi_msg(ubi, "blah", XYZ) So we first use few tabs, and then some spaces to align. You use just tabs. Sometimes the second line is aligned, sometimes it goes a bit further.