Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> wrote: > When calling debugfs functions, they can now return error values if > something went wrong. If that happens, return a NULL as a *dentry to > the relay core instead of passing it an illegal pointer. > > The relay core should be able to handle an illegal pointer, but add this > check to be safe. > > Cc: Kalle Valo <kvalo@xxxxxxxxxxxxxx> > Cc: QCA ath9k Development <ath9k-devel@xxxxxxxxxxxxxxxx> > Cc: linux-wireless@xxxxxxxxxxxxxxx > Cc: netdev@xxxxxxxxxxxxxxx > Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> > Signed-off-by: Kalle Valo <kvalo@xxxxxxxxxxxxxx> Patch applied to ath-next branch of ath.git, thanks. cd98625b3e3f ath9k: do not return invalid pointers as a *dentry -- https://patchwork.kernel.org/patch/10790497/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches