From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S941122AbcIVU4R convert rfc822-to-8bit (ORCPT ); Thu, 22 Sep 2016 16:56:17 -0400 Received: from aserp1040.oracle.com ([141.146.126.69]:37853 "EHLO aserp1040.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933377AbcIVU4O (ORCPT ); Thu, 22 Sep 2016 16:56:14 -0400 Subject: Re: [PATCH v3 1/3] xen/pciback: simplify pcistub device handling To: Juergen Gross , linux-kernel@vger.kernel.org, xen-devel@lists.xenproject.org References: <1474533941-6976-1-git-send-email-jgross@suse.com> <1474533941-6976-2-git-send-email-jgross@suse.com> Cc: david.vrabel@citrix.com From: Boris Ostrovsky Message-ID: Date: Thu, 22 Sep 2016 16:57:53 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 MIME-Version: 1.0 In-Reply-To: <1474533941-6976-2-git-send-email-jgross@suse.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8BIT X-Source-IP: userv0021.oracle.com [156.151.31.71] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 09/22/2016 04:45 AM, Juergen Gross wrote: > The Xen pciback driver maintains a list of all its seized devices. > There are two functions searching the list for a specific device with > basically the same semantics just returning different structures in > case of a match. > > Split out the search function. > > Signed-off-by: Juergen Gross Reviewed-by: Boris Ostrovsky