From d07fa25e04a19ccb9aa25bb6e2156d23d213db77 Mon Sep 17 00:00:00 2001 From: Anton Kling Date: Tue, 28 Nov 2023 20:11:05 +0100 Subject: Meta: Apply new clang-format rules to kernel --- kernel/crypto/xoshiro256plusplus/xoshiro256plusplus.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'kernel/crypto/xoshiro256plusplus') diff --git a/kernel/crypto/xoshiro256plusplus/xoshiro256plusplus.c b/kernel/crypto/xoshiro256plusplus/xoshiro256plusplus.c index 414a5a4..f4833d6 100644 --- a/kernel/crypto/xoshiro256plusplus/xoshiro256plusplus.c +++ b/kernel/crypto/xoshiro256plusplus/xoshiro256plusplus.c @@ -26,7 +26,9 @@ static inline uint64_t rotl(const uint64_t x, int k) { static uint64_t s[4]; -void seed_xoshiro_256_pp(uint64_t input[4]) { memcpy(s, input, sizeof(s)); } +void seed_xoshiro_256_pp(uint64_t input[4]) { + memcpy(s, input, sizeof(s)); +} uint64_t xoshiro_256_pp(void) { const uint64_t result = rotl(s[0] + s[3], 23) + s[0]; -- cgit v1.2.3