]> git.baikalelectronics.ru Git - kernel.git/commit
xen-blkfront: use true and false for boolean values
authorGustavo A. R. Silva <gustavo@embeddedor.com>
Mon, 6 Aug 2018 14:14:55 +0000 (08:14 -0600)
committerJens Axboe <axboe@kernel.dk>
Mon, 6 Aug 2018 14:14:55 +0000 (08:14 -0600)
commit10de012726e3f8e4c486eaa0d16ca0fdd5694f6e
tree17feff5a5a2706edba184e269b2098702522c1dd
parent1e2908a0f1afe559abf2c7581cb3e8c2cf8f4d86
xen-blkfront: use true and false for boolean values

Return statements in functions returning bool should use true or false
instead of an integer value.

This code was detected with the help of Coccinelle.

Acked-by: Roger Pau Monné <roger.pau@citrix.com>
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/xen-blkfront.c