From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pg0-f66.google.com (mail-pg0-f66.google.com [74.125.83.66]) by dpdk.org (Postfix) with ESMTP id CCF3B1B2B8 for ; Thu, 15 Feb 2018 23:25:53 +0100 (CET) Received: by mail-pg0-f66.google.com with SMTP id y8so901695pgr.9 for ; Thu, 15 Feb 2018 14:25:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=mp0S1xhtQOQLIp2a7sIiS+ktBjpxGSllA9a6oVK8u6c=; b=GDnZ1Y6n0C/PXvI7G4eYYBn3eiCi9liWOeJaYLOHjwGsqD7HWLTf8MkkdmTibRK+i+ +peJrbS4TsqvkANfJzFVmvYpPDgzUFzCF3hHD6CS/gaCOlhzyLFwc0bUeKVgXYVdQd9E Gpm+TVC3hG1bklY1BmNnRL3/yD/e98IKyjpjvqDehT7Dm8TYe14KyrjYqduMnXMSrvoN Fyt6fjJ0pZQpyuAawfSeQFw32u0NluPEvYQv1xxPd3fo44xpgnSGdWoo5sAva0yzGauI IxwxJGB2jmq6V7P1E55km/7j0grFBaYyS3fVs6e4jBcVEqjPjI3ljW3ceaufBKDSai+/ VgFg== 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; bh=mp0S1xhtQOQLIp2a7sIiS+ktBjpxGSllA9a6oVK8u6c=; b=JRDk5sSXVbtNhgILRH+o25XrcFRVr7jVN/nb6NVCJDuNY6jC/Y0vi7QYiaiYi28j7t V+GOhRDrbGmG47hyQsXy5WD5af5u98ZY8YbJmtfGOEgk/T6ZfIYpsPzhRBJMCdXmgh7M xzCpd7J3LhR0AWzEmQ+6HdA3/6zu/AuizvmUglKawFmvjKS9to4zH9ZnGx/9iTBzGYJG 5MtnjOubyqglXfggooyGYIZfIu4OyPQzBIvbF3UeBQ/BZslUexY4EezWmFdWnsBw+Kyp zA6kU36LbhC575kiiTvNKEhMlW+OEFIm1UU7t5mqv5035jKw+pyzFJ7auOtvf/HK8Prk cfYQ== X-Gm-Message-State: APf1xPDPAXiMN7l8YFqJKPq2rPAklSqd1QK3+MCw5mDgUXdoRIxphAog NeONS4YJr4rBdt6Kflt5Eq6ztuK2Hv0= X-Google-Smtp-Source: AH8x224Rj5h86z9gYa6Z/Tcm4io89Sd2uUl+DN3nQO/wrkdHu4e6h4hMeNbyfQLh3J33/kT8TUSqCA== X-Received: by 10.98.194.18 with SMTP id l18mr4070010pfg.118.1518733552701; Thu, 15 Feb 2018 14:25:52 -0800 (PST) Received: from xeon-e3.lan (204-195-71-95.wavecable.com. [204.195.71.95]) by smtp.gmail.com with ESMTPSA id y22sm45630426pfd.9.2018.02.15.14.25.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 15 Feb 2018 14:25:51 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Thu, 15 Feb 2018 14:25:48 -0800 Message-Id: <20180215222550.31128-1-stephen@networkplumber.org> X-Mailer: git-send-email 2.15.1 Subject: [dpdk-dev] [PATCH 0/2] use %z for formatting 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, 15 Feb 2018 22:25:54 -0000 Better to use %z and avoid any 32 bit platform woes; and not cast unnecessarily Stephen Hemminger (2): pci: use %z to format size_t eal: use %zu to format size_t lib/librte_eal/linuxapp/eal/eal_memory.c | 8 ++++---- lib/librte_pci/rte_pci.c | 11 ++++++----- 2 files changed, 10 insertions(+), 9 deletions(-) -- 2.15.1