[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZV3cbH-i09AQelaB@smile.fi.intel.com>
Date: Wed, 22 Nov 2023 12:48:12 +0200
From: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
To: Kunwu Chan <chentao@...inos.cn>
Cc: gregkh@...uxfoundation.org, joel@....id.au,
andrew@...econstruct.com.au, linux-usb@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org, kunwu.chan@...mail.com,
linux-aspeed@...ts.ozlabs.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] usb: gadget: aspeed: Check return value of kasprintf in
ast_vhub_alloc_epn
On Wed, Nov 22, 2023 at 09:42:12AM +0800, Kunwu Chan wrote:
> kasprintf() returns a pointer to dynamically allocated memory
> which can be NULL upon failure. Ensure the allocation was successful
> by checking the pointer validity.
OK.
Reviewed-by: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
--
With Best Regards,
Andy Shevchenko
Powered by blists - more mailing lists