From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ioana Ciornei Subject: [PATCH net-next v2 0/2] dpaa2-eth: defer probe on object allocate Date: Fri, 9 Nov 2018 15:26:45 +0000 Message-ID: <1541777182-9135-1-git-send-email-ioana.ciornei@nxp.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Cc: Ioana Ciocoi Radulescu , Ioana Ciornei To: "netdev@vger.kernel.org" , "davem@davemloft.net" , "andrew@lunn.ch" Return-path: Received: from mail-eopbgr80077.outbound.protection.outlook.com ([40.107.8.77]:37920 "EHLO EUR04-VI1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727784AbeKJBHv (ORCPT ); Fri, 9 Nov 2018 20:07:51 -0500 Content-Language: en-US Sender: netdev-owner@vger.kernel.org List-ID: Allocatable objects on the fsl-mc bus may be probed by the fsl_mc_allocator after the first attempts of other drivers to use them. Defer the probe when this situation happens. Changes in v2: - proper handling of IS_ERR_OR_NULL Ioana Ciornei (2): dpaa2-eth: defer probe on object allocate dpaa2-ptp: defer probe when portal allocation failed drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c | 32 ++++++++++++++++----= ---- drivers/net/ethernet/freescale/dpaa2/dpaa2-ptp.c | 5 +++- 2 files changed, 26 insertions(+), 11 deletions(-) --=20 1.9.1