Thread (2 messages) 2 messages, 2 authors, 2024-09-29

Re: [PATCH] usb: gadget: Add check devm_kasprintf() returned value

From: Andrew Jeffery <andrew@codeconstruct.com.au>
Date: 2024-09-29 23:29:43
Also in: linux-aspeed, linux-usb, lkml

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 <redacted>
You should consider Greg's bot's reply to your other patch here also:

https://lore.kernel.org/all/2024092910-mobility-waking-758f@gregkh/ (local)

Andrew
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help