Skip to content

Commit

Permalink
scsi: target: iblock: Trim line longer than 80 characters
Browse files Browse the repository at this point in the history
Trim the line that is longer than 80 characters, which is inconsistent with
the rest of the code.

Link: https://lore.kernel.org/r/20210228055645.22253-3-chaitanya.kulkarni@wdc.com
Reviewed-by: Mike Christie <michael.christie@oracle.com>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
  • Loading branch information
ChaitanayaKulkarni authored and martinkpetersen committed Mar 10, 2021
1 parent bc9e0e3 commit a2c6c6a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/target/target_core_iblock.c
Original file line number Diff line number Diff line change
Expand Up @@ -853,7 +853,8 @@ static unsigned int iblock_get_lbppbe(struct se_device *dev)
{
struct iblock_dev *ib_dev = IBLOCK_DEV(dev);
struct block_device *bd = ib_dev->ibd_bd;
int logs_per_phys = bdev_physical_block_size(bd) / bdev_logical_block_size(bd);
int logs_per_phys =
bdev_physical_block_size(bd) / bdev_logical_block_size(bd);

return ilog2(logs_per_phys);
}
Expand Down

0 comments on commit a2c6c6a

Please sign in to comment.