[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Y5rWn85kmuzeTvPW@infradead.org>
Date: Thu, 15 Dec 2022 00:11:11 -0800
From: Christoph Hellwig <hch@...radead.org>
To: Daniel Golle <daniel@...rotopia.org>
Cc: linux-block@...r.kernel.org, linux-kernel@...r.kernel.org,
Christoph Hellwig <hch@...radead.org>,
Richard Weinberger <richard@....at>,
Matthew Wilcox <willy@...radead.org>,
Jens Axboe <axboe@...nel.dk>,
"Martin K. Petersen" <martin.petersen@...cle.com>,
Chaitanya Kulkarni <kch@...dia.com>,
Wolfram Sang <wsa+renesas@...g-engineering.com>
Subject: Re: [RFC PATCH 2/2] block: add uImage.FIT block partition driver
> + 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.
Powered by blists - more mailing lists