aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/fpga-mgr.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2021-10-19 08:20:23 +0200
committerJens Axboe <axboe@kernel.dk>2021-10-19 06:16:50 -0600
commitf9831b885709978ed9d16833ceeb3a2ec174a2d2 (patch)
tree9ae37a9dcdfa8c64cae17f9379391ce150b889e3 /drivers/fpga/fpga-mgr.c
parentblock/ioctl: use bdev_nr_sectors and bdev_nr_bytes (diff)
downloadlinux-dev-f9831b885709978ed9d16833ceeb3a2ec174a2d2.tar.xz
linux-dev-f9831b885709978ed9d16833ceeb3a2ec174a2d2.zip
partitions/efi: use bdev_nr_bytes instead of open coding it
Use the proper helper to read the block device size. Signed-off-by: Christoph Hellwig <hch@lst.de> Link: https://lore.kernel.org/r/20211019062024.2171074-3-hch@lst.de Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions