mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 10:37:35 +03:00
Update checkstyle workflow env to ubuntu-20.04
- `checkstyle` workflow uses ubuntu-20.04 environment - improved `mancheck.sh` readability Reviewed-by: Matthew Ahrens <mahrens@delphix.com> Reviewed-by: John Kennedy <john.kennedy@delphix.com> Signed-off-by: szubersk <szuberskidamian@gmail.com> Closes #12713
This commit is contained in:
committed by
Tony Hutter
parent
cc40a67cf8
commit
8464de1315
@@ -655,6 +655,7 @@ hostid_read(uint32_t *hostid)
|
||||
return (error);
|
||||
}
|
||||
size = stat.size;
|
||||
// cppcheck-suppress sizeofwithnumericparameter
|
||||
if (size < sizeof (HW_HOSTID_MASK)) {
|
||||
filp_close(filp, 0);
|
||||
return (EINVAL);
|
||||
|
||||
Reference in New Issue
Block a user