diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2023-08-07 18:04:05 +0200 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 23:10:10 +0200 |
commit | 1e81f89b020758fb424f8bb0f13405706d29dfc7 (patch) | |
tree | 7ae51550659bf2f5e19595ebdb377d1343001382 /fs/bcachefs/varint.c | |
parent | bcachefs: Fix for sb buffer being misaligned (diff) | |
download | linux-1e81f89b020758fb424f8bb0f13405706d29dfc7.tar.xz linux-1e81f89b020758fb424f8bb0f13405706d29dfc7.zip |
bcachefs: Fix assorted checkpatch nits
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to '')
-rw-r--r-- | fs/bcachefs/varint.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/bcachefs/varint.c b/fs/bcachefs/varint.c index ef030fc02448..2a2ab86ed6e1 100644 --- a/fs/bcachefs/varint.c +++ b/fs/bcachefs/varint.c @@ -59,6 +59,7 @@ int bch2_varint_decode(const u8 *in, const u8 *end, u64 *out) if (likely(bytes < 9)) { __le64 v_le = 0; + memcpy(&v_le, in, bytes); v = le64_to_cpu(v_le); v >>= bytes; |