Skip to content

Commit

Permalink
RHEL-69077: broken style fix for viorng driver
Browse files Browse the repository at this point in the history
Signed-off-by: Vitalii Chulak <[email protected]>
  • Loading branch information
Jedoku committed Jan 9, 2025
1 parent bb3fe6d commit 5d34723
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions viorng/cng/um/viorngum.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@

DEFINE_GUID(GUID_DEVINTERFACE_VIRT_RNG, 0x2489fc19, 0xd0fd, 0x4950, 0x83, 0x86, 0xf3, 0xda, 0x3f, 0xa8, 0x5, 0x8);

// clang-format off
BCRYPT_RNG_FUNCTION_TABLE RngFunctionTable =
{
// BCRYPT_RNG_INTERFACE_VERSION_1
Expand All @@ -52,6 +53,7 @@ BCRYPT_RNG_FUNCTION_TABLE RngFunctionTable =
VirtRngCloseAlgorithmProvider,
VirtRngGenRandom
};
// clang-format on

static NTSTATUS ReadRngFromDevice(IN HANDLE Device,
IN LPOVERLAPPED Overlapped,
Expand Down
2 changes: 2 additions & 0 deletions viorng/viorng/trace.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
// Tracing GUID - bf2944ce-30ec-4a52-8380-8d0915003294
//

// clang-format off
#define WPP_CONTROL_GUIDS \
WPP_DEFINE_CONTROL_GUID( \
VirtRngTraceGuid, (bf2944ce,30ec,4a52,8380,8d0915003294), \
Expand All @@ -45,6 +46,7 @@
WPP_DEFINE_BIT(DBG_DPC) \
WPP_DEFINE_BIT(DBG_READ) \
)
// clang-format on

#define WPP_FLAG_LEVEL_LOGGER(flag, level) WPP_LEVEL_LOGGER(flag)

Expand Down

0 comments on commit 5d34723

Please sign in to comment.