From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wj0-f179.google.com (mail-wj0-f179.google.com [209.85.210.179]) by dpdk.org (Postfix) with ESMTP id CD9162B94 for ; Fri, 23 Dec 2016 19:31:46 +0100 (CET) Received: by mail-wj0-f179.google.com with SMTP id c11so53035894wjx.3 for ; Fri, 23 Dec 2016 10:31:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:user-agent:in-reply-to :references:mime-version:content-transfer-encoding; bh=uYQYeEUJtTxW4XxwMMBms3Gvlg6X2p3yis77PUvGEQ8=; b=1nRH7m7WW09rqRa6FK+60NrGeu5Lu0N9bugXlsPlMTk2ipRoMLi0/R3m8wGZTQvG8b k7aLGsT6He+ua9K0SPTZPd6B73We2jIz2C4qPMvlFCY3pRPc8RNzTWmb4U5+disEfAMq MVe3ddYyaaq6lkit+bPTv/cXKAMuStZiHgL3BdO5O7mkI6kiaUMOrhoTl3t4eR4FNOWt anpZVXG01fBRJA3ldeDIT1h1wwbr1HI61swGXKlhYq/IGgYdfa7uZT90IAFt8QTEDFZt MHjB6d+pbEllNAUshGIFN/4VZqn5gvMkrbXb6bF+7YHSFEwbnBb0v5vPxuoGsdTHW6bb WMJQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=uYQYeEUJtTxW4XxwMMBms3Gvlg6X2p3yis77PUvGEQ8=; b=fBufabekPdbOkTtO/XhpmHsTGdeRuNfV9btKjwIjIcOZYFoBev1Q29pIFvvV5surkN YJb7mD1d0hv2DxcBIQ5PXeRG+IprVh9GPsnjWxamWoNmjJC62sRE3jrhLK1m37LlWKY9 mnUxE5WBYhUJD79JdBIzfQd1Gh7OroiUxfItw8pNVIqwg+Kql1TeyD9Ico1d+y1+8wXf qvUROL+mERd5RJhkznf7uQsqiIbOSJhwTLGoknzK2EqCCqd/pLCh7fZbOYeIMULmVzQC JfjY7ZiAHHFbdSZRANpQBHlR/jp5XKrQY/qf8Uoh9NA93Df45sp50tI42hjCba5ckkfC C0rg== X-Gm-Message-State: AIkVDXL6PP9tDIjnkFvCKRzSKxabxhyvXWHZGtMOjwDTRj9fccRgIlAuwh/13VTGOu+yT/Vx X-Received: by 10.194.21.35 with SMTP id s3mr14521747wje.192.1482517906532; Fri, 23 Dec 2016 10:31:46 -0800 (PST) Received: from xps13.localnet (184.203.134.77.rev.sfr.net. [77.134.203.184]) by smtp.gmail.com with ESMTPSA id w7sm38166686wmd.24.2016.12.23.10.31.45 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 23 Dec 2016 10:31:45 -0800 (PST) From: Thomas Monjalon To: Jan Blunck Cc: dev@dpdk.org, stephen@networkplumber.org Date: Fri, 23 Dec 2016 19:31:44 +0100 Message-ID: <5625275.YvIEbsNXCG@xps13> User-Agent: KMail/4.14.10 (Linux/4.5.4-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <1482508691-11408-16-git-send-email-jblunck@infradead.org> References: <1482508691-11408-1-git-send-email-jblunck@infradead.org> <1482508691-11408-16-git-send-email-jblunck@infradead.org> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v5 15/20] szedata2: localize handling of pci resources 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, 23 Dec 2016 18:31:46 -0000 2016-12-23 16:58, Jan Blunck: > #define SZEDATA2_PCI_RESOURCE_PTR(dev, offset, type) \ > - ((type)((uint8_t *) \ > - ((dev)->pci_dev->mem_resource[PCI_RESOURCE_NUMBER].addr) \ > - + (offset))) > + ((type)((uint8_t *)(rsc)->addr) + (offset))) There is this error: use of undeclared identifier 'rsc' Should we rename dev to rsc?