diff options
author | Damian Szuberski <[email protected]> | 2021-11-02 21:02:57 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2021-11-02 14:02:57 -0600 |
commit | 6d680e61ef6a6dfd6932c651a8421fdae3cdbd56 (patch) | |
tree | a622ffa7104b6991a145d0ab151bea7fa38c1293 /include | |
parent | 58bf6afd3f065274e0111ab9bab44828dd72c726 (diff) |
Update `checkstyle` workflow env to ubuntu-20.04
- `checkstyle` workflow uses ubuntu-20.04 environment
- improved `mancheck.sh` readability
Reviewed-by: Matthew Ahrens <[email protected]>
Reviewed-by: John Kennedy <[email protected]>
Signed-off-by: szubersk <[email protected]>
Closes #12713
Diffstat (limited to 'include')
-rw-r--r-- | include/sys/zstd/zstd.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sys/zstd/zstd.h b/include/sys/zstd/zstd.h index e87dda1b1..ca32a7464 100644 --- a/include/sys/zstd/zstd.h +++ b/include/sys/zstd/zstd.h @@ -210,12 +210,14 @@ zfs_get_hdrversion(const zfs_zstdhdr_t *blob) static inline void zfs_set_hdrversion(zfs_zstdhdr_t *blob, uint32_t version) { + /* cppcheck-suppress syntaxError */ BF32_SET(blob->raw_version_level, 0, 24, version); } static inline void zfs_set_hdrlevel(zfs_zstdhdr_t *blob, uint8_t level) { + /* cppcheck-suppress syntaxError */ BF32_SET(blob->raw_version_level, 24, 8, level); } |