Skip to content
Commit 1ea049b2 authored by Johannes Berg's avatar Johannes Berg Committed by Jens Axboe
Browse files

bvec: avoid variable shadowing warning



Due to the (indirect) nesting of min(..., min(...)), sparse will
show a variable shadowing warning whenever bvec.h is included.

Avoid that by assigning the inner min() to a temporary variable first.

Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
Signed-off-by: default avatarJens Axboe <axboe@fb.com>
parent 005411ea
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment