From a984eb367c032dbe2577f01238c3d1268526be70 Mon Sep 17 00:00:00 2001 From: Kacper Date: Thu, 25 Dec 2025 19:24:38 +0100 Subject: Clang-tidy fixes --- include/arch/x86_64/linux/nbd.h | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'include/arch/x86_64/linux/nbd.h') diff --git a/include/arch/x86_64/linux/nbd.h b/include/arch/x86_64/linux/nbd.h index c339b184..17928322 100644 --- a/include/arch/x86_64/linux/nbd.h +++ b/include/arch/x86_64/linux/nbd.h @@ -56,13 +56,11 @@ enum { #define NBD_FLAG_SEND_TRIM (1 << 5) /* send trim/discard */ #define NBD_FLAG_SEND_WRITE_ZEROES (1 << 6) /* supports WRITE_ZEROES */ /* there is a gap here to match userspace */ -#define NBD_FLAG_CAN_MULTI_CONN \ - (1 << 8) /* Server supports multiple connections per export. */ +#define NBD_FLAG_CAN_MULTI_CONN (1 << 8) /* Server supports multiple connections per export. */ /* values for cmd flags in the upper 16 bits of request type */ -#define NBD_CMD_FLAG_FUA (1 << 16) /* FUA (forced unit access) op */ -#define NBD_CMD_FLAG_NO_HOLE \ - (1 << 17) /* Do not punch a hole for WRITE_ZEROES */ +#define NBD_CMD_FLAG_FUA (1 << 16) /* FUA (forced unit access) op */ +#define NBD_CMD_FLAG_NO_HOLE (1 << 17) /* Do not punch a hole for WRITE_ZEROES */ /* These are client behavior specific flags. */ #define NBD_CFLAG_DESTROY_ON_DISCONNECT \ -- cgit v1.2.3