summaryrefslogtreecommitdiff
path: root/include/linux/stackprotector.h
diff options
context:
space:
mode:
authorDamien Le Moal <damien.lemoal@wdc.com>2019-10-21 12:40:03 +0900
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-10-07 08:01:30 +0200
commit34b939695f2852ff39ecb1c6b6abbcc7c13c3a12 (patch)
treebf749d1f968d9b63abbce3eb4cd2a0a2eb171a5a /include/linux/stackprotector.h
parent9626c1a63703c08e6c17adceb0d4cd468fc7ce14 (diff)
nvme: Cleanup and rename nvme_block_nr()
commit 314d48dd224897e35ddcaf5a1d7d133b5adddeb7 upstream. Rename nvme_block_nr() to nvme_sect_to_lba() and use SECTOR_SHIFT instead of its hard coded value 9. Also add a comment to decribe this helper. Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Damien Le Moal <damien.lemoal@wdc.com> Signed-off-by: Keith Busch <kbusch@kernel.org> Signed-off-by: Jens Axboe <axboe@kernel.dk> Signed-off-by: Revanth Rajashekar <revanth.rajashekar@intel.com>1 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/stackprotector.h')
0 files changed, 0 insertions, 0 deletions