From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f67.google.com (mail-wm0-f67.google.com [74.125.82.67]) by dpdk.org (Postfix) with ESMTP id 761BF5A3E for ; Fri, 30 Jun 2017 20:20:09 +0200 (CEST) Received: by mail-wm0-f67.google.com with SMTP id y5so9305633wmh.3 for ; Fri, 30 Jun 2017 11:20:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=H4NWlFsymKcCF7wPUy7kxXZVbc90yDKGSBJUL4vITfA=; b=Wi8B+EYcdgvFa75k0/B40kYHt9KKKWc4iFBHtsT7+j9FwQYa2HrObWrmGOxwnsspj2 hKsKMjbviCqzzIGHhEoQ3me2V/tUfKM/fc7yOHlBdUVN6FFC9G1w4NzMbQrA+lM7akB5 m7BSiCvt5MWnvEXDQCZHjyqV4T0tC28UMEFnhU9run5nGjrICTNNAAb9/XTQtf4qvxZT cySo8oJOfoB4QWMrr5UV4Wz+j6sEM16GXrGJhDxhx8Fmn842fU0+f0T5FmUcgZ91XGmd N5PIx04p5Sf9yc1Ry3XqcgW5id8o5BVU2U7Awm0WkWkuyqPgMeHOozVauDBtVFRxCGzL 9Fqw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=H4NWlFsymKcCF7wPUy7kxXZVbc90yDKGSBJUL4vITfA=; b=p8dY3b1JiueQyV4fUVSMTMmXoGevO/Nxa8lQO+NRvTupi/5sMj4VyhGe/ibosDYJvH bBWrZhvxbe8eLk9MOGntjfJ1/u7aHK5XiyccADSuv0VRVPJPyBAnMjMlOcRttJbQ8+Ea 9b4QE5KKEE1Ar79IGzrIc1HbOwfIZA9xaDTM5SsY4ViWUkCmTDvKym8BFww/HmVsUvgs nviCfKTRLAEDuz70DCh66BjKLUKgORBlNB9UW/pAmI9SweYHMdmN4/LIM6q5549YNx1t ry6Hk0BP0Hwsj+QyOCQkEuWldv08nuvILf7+cySqYYq90h/9+3cWfDLJg6xLebBPe3xr Z6HQ== X-Gm-Message-State: AKS2vOx35rnuHmCxX6p5Qz0KxypQ/hof9FmPLjxWOxe32hn96QXgcFZI LGxGV1x/5C62P3sH X-Received: by 10.80.140.178 with SMTP id q47mr6282132edq.46.1498846809122; Fri, 30 Jun 2017 11:20:09 -0700 (PDT) Received: from weierstrass.local ([91.200.110.13]) by smtp.gmail.com with ESMTPSA id r28sm2826940edd.33.2017.06.30.11.20.08 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 30 Jun 2017 11:20:08 -0700 (PDT) Sender: Jan Blunck From: Jan Blunck To: dev@dpdk.org Cc: gaetan.rivet@6wind.com, shreyansh.jain@nxp.com Date: Fri, 30 Jun 2017 20:19:36 +0200 Message-Id: <20170630181943.23929-8-jblunck@infradead.org> X-Mailer: git-send-email 2.9.4 In-Reply-To: <20170630181943.23929-1-jblunck@infradead.org> References: <20170629182206.1072-1-jblunck@infradead.org> <20170630181943.23929-1-jblunck@infradead.org> Subject: [dpdk-dev] [PATCH v8 07/14] bus: require buses to implement find_device operation X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Jun 2017 18:20:10 -0000 Signed-off-by: Jan Blunck --- lib/librte_eal/common/eal_common_bus.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/librte_eal/common/eal_common_bus.c b/lib/librte_eal/common/eal_common_bus.c index 5d06f5d..b8a9e30 100644 --- a/lib/librte_eal/common/eal_common_bus.c +++ b/lib/librte_eal/common/eal_common_bus.c @@ -50,6 +50,7 @@ rte_bus_register(struct rte_bus *bus) /* A bus should mandatorily have the scan implemented */ RTE_VERIFY(bus->scan); RTE_VERIFY(bus->probe); + RTE_VERIFY(bus->find_device); TAILQ_INSERT_TAIL(&rte_bus_list, bus, next); RTE_LOG(DEBUG, EAL, "Registered [%s] bus.\n", bus->name); -- 2.9.4