Dan Carpenter <dan.carpenter@xxxxxxxxxx> wrote: > The devm_kmemdup() function doesn't return error pointers, it returns > NULL on error. > > Fixes: eb3a97a69be8 ("ath9k: fetch calibration data via nvmem subsystem") > Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx> > Signed-off-by: Kalle Valo <kvalo@xxxxxxxxxxxxxx> Patch applied to ath-next branch of ath.git, thanks. 57671351379b ath9k: fix an IS_ERR() vs NULL check -- https://patchwork.kernel.org/project/linux-wireless/patch/20211011123533.GA15188@kili/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches