From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by spool.mail.gandi.net (Postfix) with ESMTPS id CA4C7941835 for ; Sat, 23 Mar 2024 12:01:10 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=xAe1RLEeh64mkjjUwhuF/hTT8TZ3NQrnkIK8+VsB0x0=; c=relaxed/simple; d=groups.io; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Resent-Date:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Type:Content-Transfer-Encoding; s=20240206; t=1711195269; v=1; b=aE/zwBUKvKPcT2ccfUewoCp1+bF4I9ceTPmamHfdR6Px0xWfATvy/NPl2usr22VgCzz85IVk ZyBROnzPW89cX8qQOT1Av9eIS/D3tN4Gb4evnCEKx7HYMJd3goM21c9nw4vXMJul8JyP4uZxEm3 JIy37fftQSF8Egts+CvhzvX3crb3xNjHzV+wbJC5kWqrunbnrVLzNTogBTmpHB8CK53X7XfPcqS mzbrKmBh5drTAm6UzWK85mT7djZ7HNKQOOCHtYuzL/3RsI6haxMJI90citofM6Jb8UCQefdTxfe RAI73jfPBi6WtAAoqBMhTdzDTfQ0JHVsOGdh/kzQS0+RA== X-Received: by 127.0.0.2 with SMTP id 1AVSYY7687511xiS6qR9kS26; Sat, 23 Mar 2024 05:01:09 -0700 X-Received: from mail-lf1-f51.google.com (mail-lf1-f51.google.com [209.85.167.51]) by mx.groups.io with SMTP id smtpd.web10.7318.1711195268375297388 for ; Sat, 23 Mar 2024 05:01:08 -0700 X-Received: by mail-lf1-f51.google.com with SMTP id 2adb3069b0e04-513e6777af4so5448616e87.2 for ; Sat, 23 Mar 2024 05:01:08 -0700 (PDT) X-Gm-Message-State: xIzDuNs8SCPJ9tVrl83CNvffx7686176AA= X-Google-Smtp-Source: AGHT+IFfBY+svhrUuNYaDIzgze44aQdp+beIwUql4clO0kDVreY16ehTcakIKIKBOudfPiV42lIMtA== X-Received: by 2002:a19:6412:0:b0:513:c4b8:388e with SMTP id y18-20020a196412000000b00513c4b8388emr1454745lfb.56.1711195266257; Sat, 23 Mar 2024 05:01:06 -0700 (PDT) X-Received: from localhost.localdomain ([79.164.221.98]) by smtp.gmail.com with ESMTPSA id u11-20020a05651220cb00b005131cf043f8sm266801lfr.155.2024.03.23.05.01.05 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Sat, 23 Mar 2024 05:01:05 -0700 (PDT) From: "Mike Maslenkin" To: devel@edk2.groups.io Cc: Abner Chang , Igor Kulchytskyy , Nickle Wang , Mike Maslenkin Subject: [edk2-devel] [edk2-redfish-client][RFC PATCH 0/3] RedfishClientPkg: fix GetRedpathNodeByIndex() Date: Sat, 23 Mar 2024 15:00:47 +0300 Message-Id: <20240323120050.53834-1-mike.maslenkin@gmail.com> MIME-Version: 1.0 Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Resent-Date: Sat, 23 Mar 2024 05:01:08 -0700 Reply-To: devel@edk2.groups.io,mike.maslenkin@gmail.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20240206 header.b="aE/zwBUK"; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io This set contains fixes for proper nodes handling in GetRedpathNodeByIndex(). It fixes handling of nodes with Index different from 0, it removes leading '/' returned for section with Index = 0, also it fixes return of the last section.

This set does not have any impact to existing code, because in all places this function is used to obtain the end of the first section. And actually returned pointer to the requested section is not used. The current usages is: GetRedpathNodeByIndex (ConfigLangList.List[0].ConfigureLang, 0, &EndOfChar); and return of EndOfChar value is not affected by this set. Cc: Abner Chang Cc: Igor Kulchytskyy Cc: Nickle Wang Signed-off-by: Mike Maslenkin -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#117065): https://edk2.groups.io/g/devel/message/117065 Mute This Topic: https://groups.io/mt/105101990/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-