From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-yb0-x22c.google.com (mail-yb0-x22c.google.com [IPv6:2607:f8b0:4002:c09::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 5CD3521A00AC1 for ; Mon, 26 Jun 2017 09:29:22 -0700 (PDT) Received: by mail-yb0-x22c.google.com with SMTP id b81so2023384yba.2 for ; Mon, 26 Jun 2017 09:30:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=mYsxjGXtrd9U/05mZp9zh7ZTyQZQ2iq7k3mEVlUiVNU=; b=KXGGAsG8lwoYIA8sok4qKZKbXAO+3kEgvZJq4yvtWgnzX5xskm4Gcng/CXxpiNVvG5 M8tYwtHFkpHhoxn80+MdTSVSmv4LE6PlyH4u/PL8xH4ai2Pp6iEklGMLESAsX8hSHOoI 29+xU4r2TB6BpGRJdiaWCluusffAaXBZsaUH/fidwyCTSzMQSwk07BOqiBuHQiYOx3Sf JfrEBtrzWGIeU+cNnrxr6juuy8rkZo6qpHRzkBwkowp9gNNzzSmBt/J+xwGCWdzFl3wF r3zM6s1yd8hzmy6VU7sp6Z7gyO1oXFOG+NfdwXm+Wp45tUDd/UehC5IydMQ1U0LyWP2W aB8g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=mYsxjGXtrd9U/05mZp9zh7ZTyQZQ2iq7k3mEVlUiVNU=; b=sNiW/sr/5U3/xqzPnbnG7utt1PChM8VUt4Qy9mnFqfLqM8scG9jq6L2FiX8KO3psE/ LeKBSS2dIWEnCC8SMNb0DI4SMr+E6kB5O+7YhK5/a3D4Fdmz1MSqnfGlQCfOgC1XgWp8 GgfXdXHY1EHsS+1L5quXZe7a8/FV8wJegdsJUvVhydc6eA807ePkaFMAsBTOfQsYDjzl rjO+HIWoOeWx9vZocG01p+6hIqVsFhnPbXnmsh+CTxPQG0R3cuIjdvdREqvi0vdNPw0t Uj6rn1bGJH4NXa4hzsWGQ1puWKg7mrH0egindz5yOc5ZgTzFmiPF6Zz+KtXdh5rls2dU 8pbA== X-Gm-Message-State: AKS2vOy4+7lR14yxgvgiJBKlx9iCDfYLbio+4Z2HexwLBJqlzE+XV7+3 BUCCYMIXxahtchSwSOqjkmj9WsK0k47z X-Received: by 10.37.88.193 with SMTP id m184mr748025ybb.39.1498494650391; Mon, 26 Jun 2017 09:30:50 -0700 (PDT) MIME-Version: 1.0 Received: by 10.37.209.86 with HTTP; Mon, 26 Jun 2017 09:30:30 -0700 (PDT) From: TVKR Date: Mon, 26 Jun 2017 11:30:30 -0500 Message-ID: To: edk2-devel@lists.01.org X-Content-Filtered-By: Mailman/MimeDel 2.1.22 Subject: DXE core - Connecting a controller to driver X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Jun 2017 16:29:22 -0000 Content-Type: text/plain; charset="UTF-8" Hi experts, I have a question related to the ConnectController implementation in the edk2 codebase (MdeModulePkg\Core\Dxe\Hand\DriverSupport.c). Under the CoreConnectSingleController function, what if DriverBinding->Supported returns an error? I see that there is a do/while loop waiting for DriverFound to be set to TRUE, but it looks like this wont happen if DriverBinding->Supported returns an error (looping for ever). Am I reading this wrong? Thanks