Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit 73f88592 authored by Tavian Barnes's avatar Tavian Barnes Committed by Kent Overstreet
Browse files

bcachefs: mean_and_variance: Avoid too-large shift amounts


Shifting a value by the width of its type or more is undefined.

Signed-off-by: default avatarTavian Barnes <tavianator@tavianator.com>
Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent a97b43fa
Branches
Tags
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment