Thread (2 messages) flat view 2 messages, 2 authors, 2016-08-11

Re: [PATCH] bvec: avoid variable shadowing warning

From: Jens Axboe <axboe@kernel.dk>
Date: 2016-08-11 15:41:57

On 08/11/2016 02:15 AM, Johannes Berg wrote:
From: Johannes Berg <redacted>

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.
Grumble, reluctantly applied :-)

-- 
Jens Axboe
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help