Re: [RFC PATCH 2/2] block: add uImage.FIT block partition driver

From: Christoph Hellwig
Date: Thu Dec 15 2022 - 03:11:18 EST


> + dev = class_find_device_by_devt(&block_class, devt);
> + if (!dev)
> + return -EPROBE_DEFER;

FYI, class_find_device_by_devt is not for driver use. The only reson
it isn't marker static is because of various legacy driver model and
devtmpfs interactions.