Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp677292rwb; Thu, 15 Dec 2022 00:33:34 -0800 (PST) X-Google-Smtp-Source: AA0mqf6E8oi826OB0n8Vp7NGBe1KrwrsInEoeT+Lq/ge04/jtHl9odCj3Wi+IaGaF8omHBVdpEnv X-Received: by 2002:a17:906:d147:b0:7c1:22a9:ba8b with SMTP id br7-20020a170906d14700b007c122a9ba8bmr21927706ejb.50.1671093213857; Thu, 15 Dec 2022 00:33:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671093213; cv=none; d=google.com; s=arc-20160816; b=LPuhywljof4AnUGSGxQiE5RJ9bi92wkLC6SL17QESs9Uac2wfcBziUQmhHQLNry77s qt5/Tfa+7yxf7RpWcKFhV4XthtgswxqKlea/GR7OS+p/hFU5Ua293ZPDbHyEZ+dthVdQ XF3/a+Tku33ynGwviZoVuKvjYrg5n/V9u346evJt0RNwjZZ1Q9df24IyeBUnuNpIBJE9 lGPUTfKQTmCEtbV4yJ4s2YAZrsrgFQk2Bt565X9xjGIw0JQbY2NDOm4YWYePARanUtQP HwzEVKKQWiAVmIOYa7MOghZOEqtrbxgExKwTUiVKk7XE0JM5XPRKDLKTKs84q7UCzWUb 5Deg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=7F/w1+bgYd6v1VWCuyfIhzBdoJUVqxRnHsydL7xQkFk=; b=R2mmC30rHXqaLZgJSm898t2zLPLkjlYUj6krllJBJlf2i1ShIi7cLmamR5ZGqGIN1z NmQ7AXaDm8eqGGujN8svFw1n9sbdwALorUqpzIMwKRUflvGUXOW+5dOWz3ACz1hXG267 cU4JNSmnroT7Ikha7HnN1Gf6xpZiUWrWcnBBc9hzWBjfHUcfVBXjwCH6dZkhBWca5w1K 1NFfDevpScbchE92mvamondjbke8lF1sdBp3lCnTUKc8PzMh8g/976ag2lD8ZvblmoyX Rd2WK33/lIF8ak8XMlX4v2RcTaMbJVivVGncV7LX/+xB265eytoUzu04mSUmQGJJ3d3o gpaw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=k3vh0K6g; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y21-20020a170906915500b007bf848e0a05si10806765ejw.912.2022.12.15.00.33.17; Thu, 15 Dec 2022 00:33:33 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=k3vh0K6g; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229702AbiLOILP (ORCPT + 69 others); Thu, 15 Dec 2022 03:11:15 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55994 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229517AbiLOILN (ORCPT ); Thu, 15 Dec 2022 03:11:13 -0500 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 24488264BD; Thu, 15 Dec 2022 00:11:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=7F/w1+bgYd6v1VWCuyfIhzBdoJUVqxRnHsydL7xQkFk=; b=k3vh0K6gvoIhiuLJikZaqSewrJ Kdvu11aUfhQc4RsykQBeuX26MlnuYCO/F8PlajVGadrk/9hI2SLKv8kTUdppog5F41O/VTf1nwmhF w85SJbCQjBUrcGts9YRI63ubWA57fC8ld9DNuyHCdb1RnIiAUZVIetzqrZhYdtgtvCGMmY9VGh6Po cytStLdwW4PKOOar7+OPcJTKl+Q6wpK6++9Pp1UpZsWLRgYXVVqo4ShWofUqWEfPgV2OdcZU7Tnwg Upav0l2OLN3mZ8bb5kyG71CQk9LtuDcG+esbbtbKlOuPVoqnaMPGWyFRrBRnrmrl6vHwXyZQhl/no JPLNUbsg==; Received: from hch by bombadil.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1p5jKh-007XKW-7p; Thu, 15 Dec 2022 08:11:11 +0000 Date: Thu, 15 Dec 2022 00:11:11 -0800 From: Christoph Hellwig To: Daniel Golle Cc: linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, Christoph Hellwig , Richard Weinberger , Matthew Wilcox , Jens Axboe , "Martin K. Petersen" , Chaitanya Kulkarni , Wolfram Sang Subject: Re: [RFC PATCH 2/2] block: add uImage.FIT block partition driver Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE,T_PDS_OTHER_BAD_TLD autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > + 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.