From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dispatch1-us1.ppe-hosted.com (dispatch1-us1.ppe-hosted.com [67.231.154.164]) by dpdk.org (Postfix) with ESMTP id 57CEB4C94; Thu, 24 Jan 2019 16:20:28 +0100 (CET) X-Virus-Scanned: Proofpoint Essentials engine Received: from webmail.solarflare.com (webmail.solarflare.com [12.187.104.26]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by mx1-us1.ppe-hosted.com (Proofpoint Essentials ESMTP Server) with ESMTPS id 4A338140072; Thu, 24 Jan 2019 15:20:27 +0000 (UTC) Received: from ocex03.SolarFlarecom.com (10.20.40.36) by ocex03.SolarFlarecom.com (10.20.40.36) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Thu, 24 Jan 2019 07:20:22 -0800 Received: from opal.uk.solarflarecom.com (10.17.10.1) by ocex03.SolarFlarecom.com (10.20.40.36) with Microsoft SMTP Server (TLS) id 15.0.1395.4 via Frontend Transport; Thu, 24 Jan 2019 07:20:22 -0800 Received: from ukv-loginhost.uk.solarflarecom.com (ukv-loginhost.uk.solarflarecom.com [10.17.10.39]) by opal.uk.solarflarecom.com (8.13.8/8.13.8) with ESMTP id x0OFKKG5019411; Thu, 24 Jan 2019 15:20:20 GMT Received: from ukv-loginhost.uk.solarflarecom.com (localhost [127.0.0.1]) by ukv-loginhost.uk.solarflarecom.com (Postfix) with ESMTP id C4A20163E78; Thu, 24 Jan 2019 15:20:20 +0000 (GMT) From: Andrew Rybchenko To: CC: Ivan Malov , Date: Thu, 24 Jan 2019 15:20:16 +0000 Message-ID: <1548343216-15272-1-git-send-email-arybchenko@solarflare.com> X-Mailer: git-send-email 1.8.3.1 MIME-Version: 1.0 Content-Type: text/plain X-TM-AS-Product-Ver: SMEX-12.5.0.1300-8.5.1010-24386.005 X-TM-AS-Result: No-2.711900-4.000000-10 X-TMASE-MatchedRID: guf1jZ5JCXA2xqN5L+oQEimjEOrcO6AyTJDl9FKHbrk5kteLiH0XV6Ym f3n26fzq5o/rYvVL+ieAMuqetGVetiVvu9chHp+mavP8b9lJtWr6C0ePs7A07aqzOOiUJy/IbV3 FzuqRVqlglR5rf6SoHojYHlv8l0W/vV9GqwLlRXdDq8kzxJJRpGYWjxF4IcI1aAL2ZAHyQLavC8 YbM7bwAwniZkHiS0GT2kC7SwvGlKhDwb7Jglhh1lFkOwaJdCKgGObbx/Uctjc= X-TM-AS-User-Approved-Sender: No X-TM-AS-User-Blocked-Sender: No X-TMASE-Result: 10--2.711900-4.000000 X-TMASE-Version: SMEX-12.5.0.1300-8.5.1010-24386.005 X-MDID: 1548343227-BOo6k70QOxF2 Subject: [dpdk-stable] [PATCH] net/sfc: log port ID as 16-bit unsigned integer X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jan 2019 15:20:28 -0000 From: Ivan Malov Fixes: f8244c6399d9 ("ethdev: increase port id range") Cc: stable@dpdk.org Signed-off-by: Ivan Malov Signed-off-by: Andrew Rybchenko --- drivers/net/sfc/sfc_log.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net/sfc/sfc_log.h b/drivers/net/sfc/sfc_log.h index d6f343524..b11fbfb0a 100644 --- a/drivers/net/sfc/sfc_log.h +++ b/drivers/net/sfc/sfc_log.h @@ -37,7 +37,8 @@ extern uint32_t sfc_logtype_driver; const struct sfc_adapter *__sa = (sa); \ \ rte_log(level, type, \ - RTE_FMT("PMD: sfc_efx " PCI_PRI_FMT " #%" PRIu8 \ + RTE_FMT("PMD: sfc_efx " \ + PCI_PRI_FMT " #%" PRIu16 \ ": " RTE_FMT_HEAD(__VA_ARGS__ ,) "\n", \ __sa->pci_addr.domain, \ __sa->pci_addr.bus, \ -- 2.17.1