Re: [PATCH] fs: Use WARN(1,...)

From: Matthew Wilcox
Date: Fri Feb 26 2021 - 07:12:26 EST


On Fri, Feb 26, 2021 at 09:49:49AM +0000, Xu Wang wrote:
> Use WARN(1,...) rather than printk followed by WARN_ON(1).

This description doesn't match the patch.

> - WARN(1, KERN_ERR "BUG: Dentry %p{i=%lx,n=%pd} "
> + WARN(1, "BUG: Dentry %p{i=%lx,n=%pd} "