From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pl1-f194.google.com (mail-pl1-f194.google.com [209.85.214.194]) by dpdk.org (Postfix) with ESMTP id 6996F37A2 for ; Thu, 28 Feb 2019 23:47:58 +0100 (CET) Received: by mail-pl1-f194.google.com with SMTP id r14so10438846pls.12 for ; Thu, 28 Feb 2019 14:47:58 -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=Hs7f7wKOAbHdJWte0COJnJpYt9yUQxo5/wbEpn4kU30=; b=nP4QftZ5fnp2vPbUUW1sDY6NnuY+TO2xV/xMPCXIJvxSq7PijFk/1Z4Ku82sdKPYiQ SakFDX2rzEgO6ubs3BWJ4rW2lbZ7apziLeoifdC1ck130Hf5GUdwLMnUzKcGjH6NTchA MRof1OK1ThKg6nmpM1ytsYdchSe2fRf+oanVeXCexH7Ju3UCM4Q5ZHxCicZ4TBkcEPAu cYwrXSNWq1ictvhbNaOnguKP6LFEo/uy5oWbnsnx2/7L9ctDW7VIZ1CIul/kG3qprnQg z+AscsS11TYTFabpJ0fApPrw6u0ezgdzd3mJaT5OayKtfxNFoQv7UzOpCnW4nt8zaz8v F/vg== 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=Hs7f7wKOAbHdJWte0COJnJpYt9yUQxo5/wbEpn4kU30=; b=q/BtamYGG0njzWFzTBDspq5uXTQLmHcEtRQLnepJduenRoJVonf66kduCHOFx+/VK9 sEfkDbsD/AJTZ0NfwbJ09sdwERkQ9KU/ev1CNYdyZkbcdSTBqdPdT1K++eKoKvzaxCtv vjdjs/0zKW/JR8ikifGADDqDos80YFZNDmZDeTANBNqahP5PbpZ2TRqWjNRGR3f7NyaN 0ouAwMTo3A8aV5BixWoNF9rWZgn+p9otKpOGCUaBrJHgjUGJ3XcbElAt9sE30mAU3EJO NSCUqDL9xUChpdG8S6EnwW8ukzTgbKbq93Qi5cfpVmGkhf4T+DRwXX9MwZFhhs/jrxfJ ht6g== X-Gm-Message-State: APjAAAVG2LptCi5/JVsSq1U23waR5PikuH2cYbHK3+ATul6Pcolb233M EA8CRGmJ0c8C0rxLBsEYXIkbT50FWiY= X-Google-Smtp-Source: APXvYqw4Yi9f4kRWn1yDycY8teKIrLSSq+4b6ehmhgUNRsVtEjYNJYr8cIEuqn/nnZkOSRaMeB972g== X-Received: by 2002:a17:902:6a2:: with SMTP id 31mr1901391plh.129.1551394077102; Thu, 28 Feb 2019 14:47:57 -0800 (PST) Received: from shemminger-XPS-13-9360.lan (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id r28sm48550833pgl.72.2019.02.28.14.47.56 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 28 Feb 2019 14:47:56 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Thu, 28 Feb 2019 14:47:52 -0800 Message-Id: <20190228224754.26511-1-stephen@networkplumber.org> X-Mailer: git-send-email 2.17.1 Subject: [dpdk-dev] [PATCH 0/2] ethdev: use strlcpy 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, 28 Feb 2019 22:47:58 -0000 A couple of places in ethdev are clearer if strlcpy is used. Stephen Hemminger (2): ethdev: replace snprintf with strlcpy ethdev: use strlcpy instead of snprintf on initialization lib/librte_ethdev/rte_ethdev.c | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) -- 2.17.1