diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2023-08-07 19:04:05 +0300 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-23 00:10:10 +0300 |
commit | 1e81f89b020758fb424f8bb0f13405706d29dfc7 (patch) | |
tree | 7ae51550659bf2f5e19595ebdb377d1343001382 /fs/bcachefs/varint.c | |
parent | 6fe893eade864665c0956a2ac2eff78b86dc8145 (diff) | |
download | linux-1e81f89b020758fb424f8bb0f13405706d29dfc7.tar.xz |
bcachefs: Fix assorted checkpatch nits
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/varint.c')
-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; |