On Mon, Aug 26, 2024 at 05:08:02PM GMT, Yan Zhen wrote: > The d_hash_and_lookup() function returns either an error pointer or NULL. > > It might be more appropriate to check error using IS_ERR_OR_NULL(). > > Signed-off-by: Yan Zhen <yanzhen@xxxxxxxx> > --- I distinctly remember having NAKed a patch like this either earlier this or last year. Procfs doesn't have a custom d_hash() function so d_hash_and_lookup() will never return an error pointer afaict.