[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <d63ce770e3f633292b771b46a45ffb46a70e5521.camel@codeconstruct.com.au>
Date: Mon, 30 Sep 2024 08:59:31 +0930
From: Andrew Jeffery <andrew@...econstruct.com.au>
To: Charles Han <hanchunchao@...pur.com>, benh@...nel.crashing.org,
gregkh@...uxfoundation.org, joel@....id.au
Cc: felipe.balbi@...ux.intel.com, linux-usb@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org, linux-aspeed@...ts.ozlabs.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] usb: gadget: Add check devm_kasprintf() returned value
On Sun, 2024-09-29 at 11:14 +0800, Charles Han wrote:
> devm_kasprintf() can return a NULL pointer on failure but this
> returned value in ast_vhub_init_dev() is not checked.
>
> Fixes: 7ecca2a4080c ("usb/gadget: Add driver for Aspeed SoC virtual hub")
> Signed-off-by: Charles Han <hanchunchao@...pur.com>
You should consider Greg's bot's reply to your other patch here also:
https://lore.kernel.org/all/2024092910-mobility-waking-758f@gregkh/
Andrew
Powered by blists - more mailing lists