On Fri, Aug 30, 2024 at 03:41:06PM +0800, Charles Han wrote: > intel_spi_populate_chip() use devm_kasprintf() to set pdata->name. > This can return a NULL pointer on failure but this returned value > is not checked. > > Fixes: e58db3bcd93b ("spi: intel: Add default partition and name to the second chip") > Signed-off-by: Charles Han <hanchunchao@xxxxxxxxxx> Reviewed-by: Mika Westerberg <mika.westerberg@xxxxxxxxxxxxxxx>