From 2ae4ad148966e0463ece837216b75de0d1d018f1 Mon Sep 17 00:00:00 2001 From: Graham Percival Date: Wed, 31 Jul 2024 15:29:12 -0700 Subject: [PATCH] Style: fix whitespace Checked with: git grep "^ " -- $**.h" "**.c" ":(exclude)external" Reported by: Tim Wolla --- alg/sha256_sse2.c | 2 +- netbuf/netbuf_read.c | 2 +- netbuf/netbuf_write.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/alg/sha256_sse2.c b/alg/sha256_sse2.c index d2575534..0dfc04be 100644 --- a/alg/sha256_sse2.c +++ b/alg/sha256_sse2.c @@ -21,7 +21,7 @@ mm_bswap_epi32(__m128i a) { /* Swap bytes in each 16-bit word. */ - a = _mm_or_si128(_mm_slli_epi16(a, 8), _mm_srli_epi16(a, 8)); + a = _mm_or_si128(_mm_slli_epi16(a, 8), _mm_srli_epi16(a, 8)); /* Swap all 16-bit words. */ a = _mm_shufflelo_epi16(a, _MM_SHUFFLE(2, 3, 0, 1)); diff --git a/netbuf/netbuf_read.c b/netbuf/netbuf_read.c index f569df80..04d715a8 100644 --- a/netbuf/netbuf_read.c +++ b/netbuf/netbuf_read.c @@ -297,7 +297,7 @@ void netbuf_read_free(struct netbuf_read * R) { - /* Behave consistently with free(NULL). */ + /* Behave consistently with free(NULL). */ if (R == NULL) return; diff --git a/netbuf/netbuf_write.c b/netbuf/netbuf_write.c index 0c36927a..18aeee4f 100644 --- a/netbuf/netbuf_write.c +++ b/netbuf/netbuf_write.c @@ -351,7 +351,7 @@ netbuf_write_free(struct netbuf_write * W) { struct writebuf * WB; - /* Behave consistently with free(NULL). */ + /* Behave consistently with free(NULL). */ if (W == NULL) return;