Thread (26 messages) 26 messages, 5 authors, 2021-06-23

Re: [PATCH 02/10] dax: reduce stack footprint dealing with block device names

From: Matthew Wilcox <willy@infradead.org>
Date: 2021-06-02 17:19:16
Also in: linux-fsdevel, lkml

On Wed, Jun 02, 2021 at 06:28:55PM +0300, Anton Suvorov wrote:
quoted hunk ↗ jump to hunk
@@ -81,29 +80,29 @@ bool __generic_fsdax_supported(struct dax_device *dax_dev,
 	int err, id;
 
 	if (blocksize != PAGE_SIZE) {
-		pr_info("%s: error: unsupported blocksize for dax\n",
-				bdevname(bdev, buf));
+		pr_info("%pg: error: unsupported blocksize for dax\n",
+			bdev);
You can combine these onto one line without passing 80 columns:

		pr_info("%pg: error: unsupported blocksize for dax\n", bdev);

(many other examples of this)
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help