From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id E521A45584; Thu, 4 Jul 2024 23:30:22 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D0EE740DCD; Thu, 4 Jul 2024 23:30:22 +0200 (CEST) Received: from mail-pf1-f176.google.com (mail-pf1-f176.google.com [209.85.210.176]) by mails.dpdk.org (Postfix) with ESMTP id DB93B402A7 for ; Thu, 4 Jul 2024 23:30:21 +0200 (CEST) Received: by mail-pf1-f176.google.com with SMTP id d2e1a72fcca58-70b04cb28acso505956b3a.0 for ; Thu, 04 Jul 2024 14:30:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1720128621; x=1720733421; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=8mvsu1NZlF28R3YRnJ5wOtk0lM/kIOkMHSDd51aLx1U=; b=xGSu1gd1wXzniFFkStaO5o23rrUcI4o5KGo9IhorFZEVlvTawSJSVBqiS0pw/L3WSC G4GuiAiX0Ef3A39ZpAmMfdQEhCmD2WPgaqFBtoRrKg1S1Tl2QqqXBELLy+4La2K30YMj DeMaJIE07WpwaEJpsdOp6Mr+GdueRF9GADLyMw27YeQ99Ppb+tODQY2bwO5vOJyCQUTa KKymhR39QIeSI1+344aPle4TgHOBFoSwmHk2Y9wjn17eGCnY5UCkFB6JngKxG6dILsDR 0dV1MWHOSBXmnLbojAd9m7E3ymIsxWeGZpbm7g4Sehd6QITOOw1kwiMfzI177wWFZXpm sFMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720128621; x=1720733421; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=8mvsu1NZlF28R3YRnJ5wOtk0lM/kIOkMHSDd51aLx1U=; b=LV7kXDcUeA6FGv2qGINuuRbbEjzTZBfBIoDTbKxFNMOgJ/E4AtDvjmb38N8LtJezry UJJRHpu/ieUHWtYll+nssc1vLP0up8JwS2OrBHDX/z/xHtw72tCAN/5G3kaBhz/0PfzR QWo/wjUkDW263qHdlBymWm3iJggWaz7q4lUJOFNnQ2nOCNNyD2rpwtGQEQOATVTY1/il Jvw0iWIzGcVMV/kd1SJ0i20yalm5GrLtlziPABjWDt2y/oXRHm3J6o8t433RJP7hGiDl gAeO9Pi1x9fwNcCjeVU5Uhwe7CbOq3aUMxI0z6RGU8owwNVMlI2eEjNTfcR82DhcnZdb ABeg== X-Forwarded-Encrypted: i=1; AJvYcCXOrLWwJLp1bAdxmYgStG1UbvjnHKd39hvQEgf7uUD+TJeBFWUzr0gIsIlInp3bDLsaHAQIdtSTempTs8g= X-Gm-Message-State: AOJu0Yw5JL32O1J4IYFsnCI8k9v7vgPwMgr1Il8siOLv9CkBpju8Chb/ ckgKNv7wyhWQOFRUNH61cHCzfxJTWV1y2atknPeDWMW0DXTLOZe+N6ChzS9Nw+w= X-Google-Smtp-Source: AGHT+IHTftoQHTfHbk5xRHaT3eZpLguBwasL+FgJZdrby+AL9ujF2lxLzeVrCXn6XoWMjWy6CKiN0g== X-Received: by 2002:aa7:90d3:0:b0:705:cc7d:ab7d with SMTP id d2e1a72fcca58-70b01abaed1mr3594458b3a.5.1720128620974; Thu, 04 Jul 2024 14:30:20 -0700 (PDT) Received: from hermes.local (204-195-96-226.wavecable.com. [204.195.96.226]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-70afad7359bsm2140431b3a.165.2024.07.04.14.30.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Jul 2024 14:30:20 -0700 (PDT) Date: Thu, 4 Jul 2024 14:30:18 -0700 From: Stephen Hemminger To: Chengwen Feng Cc: , , Subject: Re: [PATCH 3/4] cfgfile: verify add section and entry result Message-ID: <20240704143018.3c9140c8@hermes.local> In-Reply-To: <20240220035840.32978-4-fengchengwen@huawei.com> References: <20240220035840.32978-1-fengchengwen@huawei.com> <20240220035840.32978-4-fengchengwen@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org On Tue, 20 Feb 2024 03:58:39 +0000 Chengwen Feng wrote: > The rte_cfgfile_add_section() and _add_entry()'s result were not > verified, so that potential errors may not be detected. > > This commit adds the verification. > > Cc: stable@dpdk.org > > Signed-off-by: Chengwen Feng Should add more tests as well. Acked-by: Stephen Hemminger