Thread (17 messages) 17 messages, 5 authors, 2026-02-04

Re: [PATCH v2 1/3] nfs/blocklayout: Fix compilation error (`make W=1`) in bl_write_pagelist()

From: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Date: 2026-02-04 16:45:05
Also in: linux-nfs, lkml, llvm

On Wed, Feb 04, 2026 at 10:53:26AM -0500, Anna Schumaker wrote:
On Wed, Feb 4, 2026, at 4:41 AM, Andy Shevchenko wrote:
quoted
Clang compiler is not happy about set but unused variable
(when dprintk() is no-op):

.../blocklayout/blocklayout.c:384:9: error: variable 'count' set but 
not used [-Werror,-Wunused-but-set-variable]

Remove a leftover from the previous cleanup.

Fixes: 3a6fd1f004fc ("pnfs/blocklayout: remove read-modify-write 
handling in bl_write_pagelist")
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Anna Schumaker <redacted>
Thank you!

-- 
With Best Regards,
Andy Shevchenko

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help