Re: [PATCH 1/1] spl: don't assume NVMe partition 1 exists

2023-08-15 Thread Tom Rini
On Tue, Aug 15, 2023 at 06:07:36PM +0200, Heinrich Schuchardt wrote: > There is no requirement that a partition 1 exists in a partition table. > We should not try to retrieve information about it. > > We should not even try reading with partition number > CONFIG_SYS_NVME_BOOT_PARTITION here as th

[PATCH 1/1] spl: don't assume NVMe partition 1 exists

2023-08-15 Thread Heinrich Schuchardt
There is no requirement that a partition 1 exists in a partition table. We should not try to retrieve information about it. We should not even try reading with partition number CONFIG_SYS_NVME_BOOT_PARTITION here as this is done in the fs_set_blk_dev() call anyway. Fixes: 8ce6a2e17577 ("spl: blk: