linux/drivers/nvme/host
Luis Chamberlain 51588b1b77 nvme: use blk_validate_block_size() for max LBA check
The block layer already has support to validates proper block sizes
with blk_validate_block_size(), we can leverage that as well.

No functional changes.

Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
Reviewed-by: John Garry <john.g.garry@oracle.com>
Reviewed-by: Keith Busch <kbusch@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20241218020212.3657139-3-mcgrof@kernel.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2024-12-18 07:22:30 -07:00
..
apple.c Get rid of 'remove_new' relic from platform driver struct 2024-12-01 15:12:43 -08:00
auth.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
constants.c nvme: fix status magic numbers 2024-06-24 12:53:42 -07:00
core.c nvme: use blk_validate_block_size() for max LBA check 2024-12-18 07:22:30 -07:00
fabrics.c nvme-tcp: check for invalidated or revoked key 2024-08-22 13:25:07 -07:00
fabrics.h nvme-pci: do not directly handle subsys reset fallout 2024-06-26 07:02:22 -07:00
fault_inject.c fault-inject: improve build for CONFIG_FAULT_INJECTION=n 2024-09-01 20:43:33 -07:00
fc.c nvme-pci: do not directly handle subsys reset fallout 2024-06-26 07:02:22 -07:00
fc.h nvme-fc: Update header and host for common definitions for LS handling 2020-05-09 16:18:33 -06:00
hwmon.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
ioctl.c block-6.13-20242901 2024-11-30 15:47:29 -08:00
Kconfig nvme-tcp: fix link failure for TCP auth 2024-09-10 07:41:07 -07:00
Makefile nvme: rework NVME_AUTH Kconfig selection 2023-10-12 08:04:49 -07:00
multipath.c nvme/multipath: Fix RCU list traversal to use SRCU primitive 2024-11-18 09:11:24 -08:00
nvme.h nvme: define the remaining used sgls constants 2024-11-18 09:17:26 -08:00
pci.c nvme-pci: don't use dma_alloc_noncontiguous with 0 merge boundary 2024-12-04 09:23:11 -08:00
pr.c nvme: tuning pr code by using defined structs and macros 2024-11-21 08:57:42 -08:00
rdma.c nvme-rdma: unquiesce admin_q before destroy it 2024-12-04 10:15:46 -08:00
sysfs.c nvme: null terminate nvme_tls_attrs 2024-09-24 23:34:13 -07:00
tcp.c nvme-tcp: simplify nvme_tcp_teardown_io_queues() 2024-12-04 10:15:46 -08:00
trace.c nvme: parse reservation commands's action and rtype to string 2024-11-13 08:51:24 -08:00
trace.h nvme: fix async event trace event 2023-04-13 08:59:04 +02:00
zns.c block: pre-calculate max_zone_append_sectors 2024-11-11 09:20:36 -07:00