From 7c66a788bdfc8136a603eec6d805b75cc382b239 Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Thu, 19 Mar 2026 17:27:02 +0000 Subject: util/nvmutil: buffered urandom reads also generally tidied the code and made it more robust e.g. retries Signed-off-by: Leah Rowe --- util/nvmutil/include/common.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'util/nvmutil/include/common.h') diff --git a/util/nvmutil/include/common.h b/util/nvmutil/include/common.h index 88254716..36218d25 100644 --- a/util/nvmutil/include/common.h +++ b/util/nvmutil/include/common.h @@ -438,6 +438,8 @@ typedef char static_assert_unsigned_int_is_4[ (sizeof(unsigned int) >= 4) ? 1 : -1]; typedef char static_assert_unsigned_long_is_4[ (sizeof(unsigned long) >= 4) ? 1 : -1]; +typedef char static_assert_long_ulong[ + (sizeof(unsigned long) == sizeof(long)) ? 1 : -1]; typedef char static_assert_int_ge_32[(sizeof(int) >= 4) ? 1 : -1]; typedef char static_assert_twos_complement[ ((-1 & 3) == 3) ? 1 : -1 -- cgit v1.2.1