From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v2] pci: fix glibc 2.25 warning regarding major/minor definitions Date: Tue, 04 Apr 2017 14:53:52 +0200 Message-ID: <7920888.PPRyzNkOU8@xps13> References: <20170404123622.9957-1-ndas@suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org To: Nirmoy Das Return-path: Received: from mail-lf0-f44.google.com (mail-lf0-f44.google.com [209.85.215.44]) by dpdk.org (Postfix) with ESMTP id 17093326C for ; Tue, 4 Apr 2017 14:53:54 +0200 (CEST) Received: by mail-lf0-f44.google.com with SMTP id x137so92534952lff.3 for ; Tue, 04 Apr 2017 05:53:54 -0700 (PDT) In-Reply-To: <20170404123622.9957-1-ndas@suse.de> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 2017-04-04 14:36, Nirmoy Das: > fix below warning: > error: In the GNU C Library, "makedev" is defined > by . For historical compatibility, it is > currently defined by as well, but we plan to > remove this soon. To use "makedev", include > directly. If you did not intend to use a system-defined macro > "makedev", you should undefine it after including . [-Werror] > dev = makedev(major, minor); > ^~~~~~~~~~~~~~~~~ > > Signed-off-by: Nirmoy Das Just applied the same patch from Jerin: http://dpdk.org/patch/23136 Thank you anyway PS: please use --in-reply-to when sending a v2