From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-we0-f182.google.com (mail-we0-f182.google.com [74.125.82.182]) by dpdk.org (Postfix) with ESMTP id F06BD594D for ; Wed, 23 Jul 2014 10:19:22 +0200 (CEST) Received: by mail-we0-f182.google.com with SMTP id k48so785074wev.41 for ; Wed, 23 Jul 2014 01:20:45 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=d+MtsGORiPInVolX2DE0eurs5B0Qyl1vFwQFeR1UKr4=; b=Xa+LsuD5hHhBbDBT7C19cEF6wvQ+ENW5oJu4OrLuFc05zA3iReQJcoRS5bgtwwD6kC wKwkOu6dqRKjlJYK6w/LSBo5pXydK4rYGIqqxwZGo00Z7VtY2CdU4O+czFnDqhAVtN2m NBbYWLXyJxyypjTAjYBQG6Xk921ew3wl2c9Z0IrWa8ISsFAPA3igb4gKLoerU1GHDagv TWyzFiRhAt58jQO3vWSHH3/8cSfi8edi40FvFTFMxR4DPurV/vNvnQJnJs8EVcMHG+Bw mcvGoJHjz2pJ0KYgOhCv8aPGkYPpWPjt57TJw/AkqpJdqkNw2Td21taGY9piULz6zuZR P3tA== X-Gm-Message-State: ALoCoQnb3qkiLqn+2bNZvN7f9iIC3W2m0rAN5A6OaJ9xUhwa4bNnqrNkEz5CxxgCasRYYWO71VE4 X-Received: by 10.180.100.193 with SMTP id fa1mr989624wib.16.1406103644980; Wed, 23 Jul 2014 01:20:44 -0700 (PDT) Received: from xps13.localnet (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by mx.google.com with ESMTPSA id je17sm6528427wic.22.2014.07.23.01.20.43 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 23 Jul 2014 01:20:44 -0700 (PDT) From: Thomas Monjalon To: Stephen Hemminger Date: Wed, 23 Jul 2014 10:20:36 +0200 Message-ID: <3316831.ltehqHH9ix@xps13> Organization: 6WIND User-Agent: KMail/4.13.2 (Linux/3.15.5-2-ARCH; KDE/4.13.2; x86_64; ; ) In-Reply-To: <20140718161516.157268908@networkplumber.org> References: <20140718161447.020882834@networkplumber.org> <20140718161516.157268908@networkplumber.org> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH 03/10] igb_uio: dont wrap pci_num_vf function needlessly X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Jul 2014 08:19:23 -0000 2014-07-18 09:14, Stephen Hemminger: > /* sriov sysfs */ > -int local_pci_num_vf(struct pci_dev *dev) > -{ > #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,34) > +static int pci_num_vf(struct pci_dev *dev) > struct iov { > int pos; > int nres; A brace is missing here. Fixed in master branch: http://dpdk.org/browse/dpdk/commit/?id=282e1ec8570 -- Thomas