aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/cdns3/cdns3-imx.c
diff options
context:
space:
mode:
authorDamien Le Moal <[email protected]>2021-01-29 14:47:25 +0000
committerJens Axboe <[email protected]>2021-01-29 14:49:22 +0000
commitcd92cdb9c8bcfc27a8f28bcbf7c414a0ea79e5ec (patch)
tree36bd10ac8a71306ee6a766b454b91c80290b44e8 /drivers/usb/cdns3/cdns3-imx.c
parentMerge tag 'nvme-5.11-2021-01-28' of git://git.infradead.org/nvme into block-5.11 (diff)
downloadkernel-cd92cdb9c8bcfc27a8f28bcbf7c414a0ea79e5ec.tar.gz
kernel-cd92cdb9c8bcfc27a8f28bcbf7c414a0ea79e5ec.zip
null_blk: cleanup zoned mode initialization
To avoid potential compilation problems, replaced the badly written MB_TO_SECTS() macro (missing parenthesis around the argument use) with the inline function mb_to_sects(). And while at it, simplify the calculation of the total number of zones of the device using the round_up() macro. Signed-off-by: Damien Le Moal <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-imx.c')
0 files changed, 0 insertions, 0 deletions