Re: [PATCH] efi_driver: fix duplicate efiblk#0 issue

2023-07-02 Thread Masahisa Kojima
Hi Heinrich, On Mon, 3 Jul 2023 at 15:10, Heinrich Schuchardt wrote: > > On 7/3/23 04:47, Masahisa Kojima wrote: > > The devnum value of the blk_desc structure starts from 0, > > current efi_bl_create_block_device() function creates > > two "efiblk#0" devices for the cases that blk_find_max_devnu

Re: [PATCH] efi_driver: fix duplicate efiblk#0 issue

2023-07-02 Thread Heinrich Schuchardt
On 7/3/23 04:47, Masahisa Kojima wrote: The devnum value of the blk_desc structure starts from 0, current efi_bl_create_block_device() function creates two "efiblk#0" devices for the cases that blk_find_max_devnum() returns -ENODEV and blk_find_max_devnum() returns 0(one device found in this case

Re: [PATCH] efi_driver: fix duplicate efiblk#0 issue

2023-07-02 Thread Masahisa Kojima
Hi Akashi-san, On Mon, 3 Jul 2023 at 13:32, AKASHI Takahiro wrote: > > On Mon, Jul 03, 2023 at 11:47:18AM +0900, Masahisa Kojima wrote: > > The devnum value of the blk_desc structure starts from 0, > > current efi_bl_create_block_device() function creates > > two "efiblk#0" devices for the cases

Re: [PATCH] efi_driver: fix duplicate efiblk#0 issue

2023-07-02 Thread AKASHI Takahiro
On Mon, Jul 03, 2023 at 11:47:18AM +0900, Masahisa Kojima wrote: > The devnum value of the blk_desc structure starts from 0, > current efi_bl_create_block_device() function creates > two "efiblk#0" devices for the cases that blk_find_max_devnum() > returns -ENODEV and blk_find_max_devnum() returns

[PATCH] efi_driver: fix duplicate efiblk#0 issue

2023-07-02 Thread Masahisa Kojima
The devnum value of the blk_desc structure starts from 0, current efi_bl_create_block_device() function creates two "efiblk#0" devices for the cases that blk_find_max_devnum() returns -ENODEV and blk_find_max_devnum() returns 0(one device found in this case). The devnum value for the "efiblk" name