[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <50726C9F.1030502@nvidia.com>
Date: Mon, 8 Oct 2012 11:33:11 +0530
From: Laxman Dewangan <ldewangan@...dia.com>
To: Joe Perches <joe@...ches.com>
CC: "sameo@...ux.intel.com" <sameo@...ux.intel.com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Venu Byravarasu <vbyravarasu@...dia.com>
Subject: Re: [PATCH 2/5] mfd: tps65090: add error prints when mem alloc failed
On Sunday 07 October 2012 09:43 PM, Joe Perches wrote:
> On Sun, 2012-10-07 at 20:52 +0530, Laxman Dewangan wrote:
>> Add error prints when memory allocation failed for
>> tps65090 data. Also cleanups the melloc arguments.
> The new dev_err is unnecessary.
> A dump_stack is already done on alloc failures.
> The sizeof(* is ok.
>
I think this will also prints the device name for which it fails and so
when we have multiple device, it will help to find out the failure case.
Thanks,
Laxman
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists