aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/cdns3/cdns3-plat.c
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2024-11-19 16:09:23 +0000
committerJens Axboe <[email protected]>2024-11-20 02:07:13 +0000
commit766a71ef65bb217ed8bf1c068ac14c7d3c15d487 (patch)
tree92c52550bbecf0e40d0c3ca987a507f032789d55 /drivers/usb/cdns3/cdns3-plat.c
parentblock: remove a duplicate definition for bdev_read_only (diff)
downloadkernel-766a71ef65bb217ed8bf1c068ac14c7d3c15d487.tar.gz
kernel-766a71ef65bb217ed8bf1c068ac14c7d3c15d487.zip
block: return bool from get_disk_ro and bdev_read_only
get_disk_ro and bdev_read_only return boolean conditions, don't masquerade them as int. Signed-off-by: Christoph Hellwig <[email protected]> Reviewed-by: John Garry <[email protected]> Reviewed-by: Martin K. Petersen <[email protected]> Reviewed-by: Johannes Thumshirn <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-plat.c')
0 files changed, 0 insertions, 0 deletions