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

Re: [PATCH] mtd: powernv: Add check devm_kasprintf() returned value

From: Miquel Raynal <miquel.raynal@bootlin.com>
Date: 2024-09-06 15:10:54

On Wed, 2024-08-28 at 09:24:27 UTC, Charles Han wrote:
devm_kasprintf() can return a NULL pointer on failure but this
returned value is not checked.

Fixes: acfe63ec1c59 ("mtd: Convert to using %pOFn instead of device_node.name")
Signed-off-by: Charles Han <redacted>
Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git mtd/next, thanks.

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