Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp994720imu; Tue, 20 Nov 2018 09:57:33 -0800 (PST) X-Google-Smtp-Source: AFSGD/U8VCZJ+6MP2EVeqD3sqz4lto0djobY/PNxMmPwfqRDtsyVvmVquMet/k+og3aaHsD/mXxJ X-Received: by 2002:a63:7154:: with SMTP id b20mr2808551pgn.342.1542736653758; Tue, 20 Nov 2018 09:57:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542736653; cv=none; d=google.com; s=arc-20160816; b=SCK6gnWVMCu60u1+qV2G1XnxvSsdVhF29M5wg1K+4i9Zx3Ha//JNfT++fZajliI5Tv Jjxd380DHyUxopDaJPymDcXCRwWcOyc29D/7VOD6NEMCix4lOGk6YTUHa3fCK9+B83kg DVoFZDACSgiFGOUyqxOsLwL2OcisT+1i7NFroyT++JNGsQFpvTgZWBIaAdTsOrXfyfh6 9OHX3+0f8iWVnA4urR7KlSPBNS6VWPnihkVxWNFzQWLje6FQM5mNFcEuexdzVxqhAM// PlKJy9RIzbVMjAp0/3D2krxWD4UHs5IEkotairR5vfu4KSsuAkmqgA3omAX1mqchU/Dr ag4w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=WDozk9Wbv4/G/cyMrb+W4e/kSU7FJtx+Ix6xcCvkIq0=; b=smus43U55MPqD4CzP2zv7lVilaC3TpJxzbmFM2qGZ2jYd+w5Fp3Lh4zZIcw9yyh+Dl ilx5e7GwfAzr/S7NFtSIEmOVkAsA1bKBCeB3f5mfcA1zh059dvPHA5xn6DBjPwk9Wbui 7PVsRVI9LX0POkZxgT1CTixCNjQAN+E5ykRib8ujqr5sU1TxBPtkj9q2//RJh/x9H3dL XvLkqRvzOBiuIX1JH608XotGF8AvdCtS7ky13eu069/FK6tPB+yjOGfaOnwQwgsJK5dd WECRJfefwzfVFctb2mi+7MoNInVQvCL7WgkPx1Cx53eZU5MiBAtiuUShA2dRJadzhep7 0DOQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=blXvnzE1; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j10si43716646pgt.155.2018.11.20.09.57.17; Tue, 20 Nov 2018 09:57:33 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=blXvnzE1; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729252AbeKUDOW (ORCPT + 99 others); Tue, 20 Nov 2018 22:14:22 -0500 Received: from mail.kernel.org ([198.145.29.99]:38306 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726557AbeKUDOW (ORCPT ); Tue, 20 Nov 2018 22:14:22 -0500 Received: from localhost (5356596B.cm-6-7b.dynamic.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 6FE83206BA; Tue, 20 Nov 2018 16:44:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1542732258; bh=FkrbSU/ecm3ESgLM7C4j8tFlO/2FqbXhePEVxDvoims=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=blXvnzE155mnncfdXAnYLNFhlOzYpOHA4qOe7lz77DNXBTyL8vaLcqz4aR3GvGeJI IvWT9OZQK09EjFZSTMbLuFQDnBG4JNObe8M9mKJb4vF0xLbZ9Q0j+JDAOSTzjcxgNh MwbKTlMO+9tXLsDRQ/mVgeElWddwiXHCTx+fEwZg= Date: Tue, 20 Nov 2018 17:44:16 +0100 From: "gregkh@linuxfoundation.org" To: Ioana Ciornei Cc: Laurentiu Tudor , "linux-kernel@vger.kernel.org" , "netdev-owner@vger.kernel.org" , Ioana Ciocoi Radulescu , Horia Geanta , Leo Li Subject: Re: [PATCH v3 2/4] bus: fsl-mc: add fsl-mc userspace support Message-ID: <20181120164416.GB27531@kroah.com> References: <1542728371-6972-1-git-send-email-ioana.ciornei@nxp.com> <1542728371-6972-3-git-send-email-ioana.ciornei@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1542728371-6972-3-git-send-email-ioana.ciornei@nxp.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Nov 20, 2018 at 03:39:45PM +0000, Ioana Ciornei wrote: > + > + error = fsl_mc_uapi_create_device_file(mc_bus); > + if (error < 0) { > + error = -EPROBE_DEFER; > + goto error_cleanup_msi_domain; > + } What error could occur here that would be somehow fixed if you defer and try this all again? Shouldn't you just return the error given (as something really went wrong here, it's not a "something else needs to start up first issue), and abort? thanks, greg k-h