[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <cd0d74fa-3842-949a-55d9-d5591c6bd615@gmail.com>
Date: Fri, 22 Sep 2017 14:27:06 +0530
From: Arvind Yadav <arvind.yadav.cs@...il.com>
To: Marc Zyngier <marc.zyngier@....com>
Cc: tglx@...utronix.de, jason@...edaemon.net, vz@...ia.com,
slemieux.tyco@...il.com, linux-kernel@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org
Subject: Re: [PATCH 0/4] iirqchip: Handle return value of kasprintf
Hi Marc,
On Friday 22 September 2017 01:40 PM, Marc Zyngier wrote:
> On Wed, Sep 20 2017 at 1:38:18 pm BST, Arvind Yadav <arvind.yadav.cs@...il.com> wrote:
>> kasprintf() can fail here and we must check its return value.
> Or not. The use of these strings is purely cosmetic (they are only used
> to display various debug information), and printk is perfectly able to
> handle a NULL string.
>
> Refusing to probe an essential piece of HW because a debug feature
> failed seems at best counter-productive.
Yes, Your are right. Sorry for noise. :)
> Thanks,
>
> M.
~arvind
Powered by blists - more mailing lists