summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2025-04-22 18:55:41 +0300
committerDavid Sterba <dsterba@suse.com>2025-05-15 15:30:48 +0300
commit05a6ec865d091fe8244657df8063f74e704d1711 (patch)
tree4522b724dbec7392ae63f10db8f2eb89dc156b7d /scripts
parentd4d788a776b49c1e8961104caa2b715bc49074af (diff)
downloadlinux-05a6ec865d091fe8244657df8063f74e704d1711.tar.xz
btrfs: use unsigned types for constants defined as bit shifts
The unsigned type is a recommended practice (CWE-190, CWE-194) for bit shifts to avoid problems with potential unwanted sign extensions. Although there are no such cases in btrfs codebase, follow the recommendation. Reviewed-by: Boris Burkov <boris@bur.io> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions