On 06/28/2016 07:42 AM, Bartlomiej Zolnierkiewicz wrote:
MG_DISK_MAJ is defined as 0 so dynamic block major number allocation is used by the driver and the assigned major number is stored in host->major. This patch fixes error path in mg_probe() to use host->major instead of using MG_DISK_MAJ.
Added, thanks Bart. -- Jens Axboe