From dd3805d49995e59fdf61e2560c3fec5b7f5c71b6 Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Thu, 18 May 2017 12:53:38 -0600 Subject: [PATCH 1/1] Remove leftover warnings Previous commit that fixed up the preadv2/pwritev2 wrappers left some debug #warning in there by accident. Kill them. Fixes: 7b5c648f6a5c ("Fix wrap issue with 64-bit pwritev2/preadv2") Signed-off-by: Jens Axboe --- os/os-linux.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/os/os-linux.h b/os/os-linux.h index 695e9dad..ba53590d 100644 --- a/os/os-linux.h +++ b/os/os-linux.h @@ -315,11 +315,9 @@ static inline void make_pos_h_l(unsigned long *pos_h, unsigned long *pos_l, off_t offset) { #if BITS_PER_LONG == 64 -#warning 64 *pos_l = offset; *pos_h = 0; #else -#warning 32 *pos_l = offset & 0xffffffff; *pos_h = ((uint64_t) offset) >> 32; #endif -- 2.25.1