From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf1-f195.google.com (mail-pf1-f195.google.com [209.85.210.195]) by dpdk.org (Postfix) with ESMTP id 7CF81559A for ; Thu, 30 Aug 2018 18:15:28 +0200 (CEST) Received: by mail-pf1-f195.google.com with SMTP id j26-v6so4091300pfi.10 for ; Thu, 30 Aug 2018 09:15:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=lwxadotBRs9fRhoSHhJGaFlIaYFAvDxu93L8dxOdj84=; b=QUZMICiTsjSCyn0q/V+8RlSrTnoCYUm+s+3VFf5Txfd/HaEd3LQonnGpURa5QVmxUl m3HZhLgv0J5A8s0XO2ITBReQX4mrACBnlb8YTT4/b8aJNxZYqImjrQD+qbXyCeUqCjJk xB2q5E17l9nvuaxlWSzBF/z87bf43Oi972kcLjMfnwiBPqqz8dBQWxvXoQgcRBtVAOFH QOB8KCQieA1Wm6eq5JPpRyJC4mH4HgIPDjhcXfRVwJFtjOhSbJCxswoH6HVcwlNf5clE 1z3lRYCyHdud6pIhoDfJxrIryhOBlv9xPdLaFneGD5bK2vqFVNsHIPnmnYxlvcjmI5+7 GrvQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=lwxadotBRs9fRhoSHhJGaFlIaYFAvDxu93L8dxOdj84=; b=a1oJb1Rm+wHo802Al2fDPZYGCh69VA8v/YamDIwfUb+hyGBmpmq5K62Elocm13pwSD q/ErDpJCWtxIGlcCrf/TenaHT5ttU7QwInlOXN1VW1SqzFGgbtTAqH4PVKGGzOy8XsEI u0yLdH3prB8qZp2lIkLiJdapfWmndpObrF3HW58qYs8FJxXkm0/peozkuvt0Zd/PeaIn a8WhlkPlJv6oriLaJaVw33n/WTlVynmWDKbPaK3tVfFaJa1qx3SiBZ2Ma3/UQG84vt94 y3H36hsFBzebz6C6vZ5WYmzKUnYOebSWAL5AYWGtth/xRlpHL7e0H1N+rQ+vSIj0wJEM gXCw== X-Gm-Message-State: APzg51BtcHSdf8FRZxlCLtwgPlbM6kut3tfmg9PrnT2PgIVTn6udrJ/O RKbgnrbvHLB/DEvY77V8o4U2bCj3YnAokQ== X-Google-Smtp-Source: ANB0VdYDhFFYBmmPr5/L15obXYcwOCW13JVR1foKANA54SZpU564mpbv+WvHWBnCHtWtx20+fNAtqw== X-Received: by 2002:a63:4b1f:: with SMTP id y31-v6mr10262153pga.14.1535645727503; Thu, 30 Aug 2018 09:15:27 -0700 (PDT) Received: from xeon-e3 (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id b21-v6sm14147612pfe.148.2018.08.30.09.15.27 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 30 Aug 2018 09:15:27 -0700 (PDT) Date: Thu, 30 Aug 2018 09:15:18 -0700 From: Stephen Hemminger To: Gaetan Rivet Cc: dev@dpdk.org Message-ID: <20180830091518.416c3ee4@xeon-e3> In-Reply-To: <1cd54c876b80f441c483a2f43c1c1fba219b9237.1535633784.git.gaetan.rivet@6wind.com> References: <1cd54c876b80f441c483a2f43c1c1fba219b9237.1535633784.git.gaetan.rivet@6wind.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH v1 11/13] bus/pci: process declarative PCI devargs 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: Thu, 30 Aug 2018 16:15:28 -0000 On Thu, 30 Aug 2018 15:42:02 +0200 Gaetan Rivet wrote: > +int > +rte_pci_devargs_process(struct rte_pci_device *pdev) > +{ > + /* For the moment, no PCI param > + * needs to be processed. > + */ > + (void) pdev; > + return 0; > +} Use __rte_unused rather than the (void) cast?