From mboxrd@z Thu Jan 1 00:00:00 1970 From: Artem Bityutskiy Subject: Re: [PATCH] mtd: ubi: Extend UBI layer debug/messaging capabilities Date: Sun, 28 Sep 2014 15:14:02 +0300 Message-ID: <1411906442.11836.24.camel@karhu> References: <1411886185-7838-1-git-send-email-tlinder@codeaurora.org> <5427C046.5030608@nod.at> Reply-To: dedekind1@gmail.com Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Return-path: Received: from mga14.intel.com ([192.55.52.115]:35648 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753808AbaI1MOQ (ORCPT ); Sun, 28 Sep 2014 08:14:16 -0400 In-Reply-To: <5427C046.5030608@nod.at> Sender: linux-arm-msm-owner@vger.kernel.org List-Id: linux-arm-msm@vger.kernel.org To: Richard Weinberger Cc: Tanya Brokhman , linux-mtd@lists.infradead.org, linux-arm-msm@vger.kernel.org, David Woodhouse , Brian Norris , open list On Sun, 2014-09-28 at 10:01 +0200, Richard Weinberger wrote: > Tanya, > > Am 28.09.2014 08:36, schrieb Tanya Brokhman: > > If there is more then one UBI device mounted, there is no way to > > distinguish between messages from different UBI devices. > > Add device number to all ubi layer message types. > > > > > > Signed-off-by: Tanya Brokhman > > Artem's mail is dedekind1@ not dedeking1@. :) Yeah, it is not after a King named "Dede" :-) I just liked the Richard Dedekind's theorem back in the University days :-) > Anyway, instead of passing ubi->ubi_num down to every log function you can > just pass the ubi object itself and let the log function access ->ubi_num. Yes, then we potentially may add more than just the device number to the messages, if we ever need. -- Best Regards, Artem Bityutskiy