On Wed, Feb 01, 2017 at 10:20:57AM -0800, Bart Van Assche wrote: > Avoid that sparse reports the following complaints: > > block/elevator.c:541:29: warning: incorrect type in assignment (different base types) > block/elevator.c:541:29: expected bool [unsigned] [usertype] next_sorted > block/elevator.c:541:29: got restricted req_flags_t > > block/blk-mq-debugfs.c:92:54: warning: cast from restricted req_flags_t Reviewed-by: Omar Sandoval <osandov@xxxxxx> > Signed-off-by: Bart Van Assche <bart.vanassche@xxxxxxxxxxx> > Cc: Omar Sandoval <osandov@xxxxxx> > --- > block/blk-mq-debugfs.c | 3 ++- > block/elevator.c | 2 +- > 2 files changed, 3 insertions(+), 2 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-block" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html