]> www.infradead.org Git - users/hch/block.git/commit
nvme-apple: initialize max_hw_sectors earlier
authorChristoph Hellwig <hch@lst.de>
Mon, 26 Feb 2024 18:13:09 +0000 (13:13 -0500)
committerChristoph Hellwig <hch@lst.de>
Thu, 29 Feb 2024 15:23:09 +0000 (07:23 -0800)
commit89c5f42be8867cae0cab1d6625c2a30c915316db
tree79fa1e4b868522be2433344deb0a81208687223b
parentbe854c03b048c25cd8cebe6e1d0c366b9d49f40c
nvme-apple: initialize max_hw_sectors earlier

Initialize max_hw_sectors and max_sectors a little earlier so they
can be passed directly to blk_mq_alloc_queue.

Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/host/apple.c