From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f171.google.com (mail-wi0-f171.google.com [209.85.212.171]) by dpdk.org (Postfix) with ESMTP id 594E57EEF for ; Tue, 4 Aug 2015 17:11:54 +0200 (CEST) Received: by wicgj17 with SMTP id gj17so154942440wic.1 for ; Tue, 04 Aug 2015 08:11:54 -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=xsv1x4OmEymyPpwHRQn/2tqvD+C/Q+3dSj8ioODeJfE=; b=cD4msx7RhztE9dR8APUkz2Mg9cTEawjP+0CXp89dSRrAHNd+nohfGq60DQMs+7Xrd9 9ArpxewRctCwspCOnpmBGDvYa+KKiTeSWCBczVR3LExqfk+9ykxnejcEuA95kFLKrFwY /aNHxLFHUBIknZ4nP3J9QQDcw9B3T8St/WFUaKHCpW+LUPK511Nj57ht3Ti93mHbz1ts MCj0NGQtDubYiDgZLsBtKc0tDSEAMjQUhT8orUHoBWxFYCogZ5e5QZtEUT8AJ8nj++gG 4XpbicrhHdL7TTd5c8atV9IzQhDTFifKcXaTWOa1CADYxRUc2IXmb6aIN5Q/dAusSXnZ w6zg== X-Gm-Message-State: ALoCoQkNZm0PvFQLWfyMBxje5dg8sFnEoqmJNPZZauIFenN5cDv/xhMuesdXPmcJ45MKVeNflma+ X-Received: by 10.180.75.34 with SMTP id z2mr43898228wiv.89.1438701114199; Tue, 04 Aug 2015 08:11:54 -0700 (PDT) Received: from xps13.localnet (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by smtp.gmail.com with ESMTPSA id ez4sm2871206wid.14.2015.08.04.08.11.52 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 04 Aug 2015 08:11:52 -0700 (PDT) From: Thomas Monjalon To: Bruce Richardson Date: Tue, 04 Aug 2015 17:10:38 +0200 Message-ID: <14272100.0prZvnSJQv@xps13> Organization: 6WIND User-Agent: KMail/4.14.8 (Linux/4.0.4-2-ARCH; KDE/4.14.8; x86_64; ; ) In-Reply-To: <20150804150535.GA7340@bricha3-MOBL3> References: <1438698465-27834-1-git-send-email-thomas.monjalon@6wind.com> <20150804150535.GA7340@bricha3-MOBL3> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH] pci: fix bsd build with gcc 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: Tue, 04 Aug 2015 15:11:54 -0000 2015-08-04 16:05, Bruce Richardson: > On Tue, Aug 04, 2015 at 04:27:45PM +0200, Thomas Monjalon wrote: > > GCC 4.8 raises this error: > > lib/librte_eal/bsdapp/eal/eal_pci.c:453:15: error: cast discards > > '__attribute__((const))' qualifier from pointer target type > > .pi_data = *(u_int32_t *)buf, > > ^ > > > > Note: this assignment seems useless because pi_data is filled > > with memset later. > > > > Fixes: 632b2d1deeed ("eal: provide functions to access PCI config") > > > > Signed-off-by: Thomas Monjalon > > Acked-by: Bruce Richardson Applied