From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-lj1-f174.google.com (mail-lj1-f174.google.com [209.85.208.174]) by mx.groups.io with SMTP id smtpd.web10.1975.1687296702473598337 for ; Tue, 20 Jun 2023 14:31:42 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="signature has expired" header.i=@gmail.com header.s=20221208 header.b=TZ8R9Xdf; spf=pass (domain: gmail.com, ip: 209.85.208.174, mailfrom: mike.maslenkin@gmail.com) Received: by mail-lj1-f174.google.com with SMTP id 38308e7fff4ca-2b46b11051aso52653941fa.3 for ; Tue, 20 Jun 2023 14:31:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1687296701; x=1689888701; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=TJSqGLOKOu1iQg8R9PCrGvnv/EW55/sgg2RMZD+J4wI=; b=TZ8R9XdfS3B4d2PXME5ygRN9L0B0u68q9DSev7cishbO+yleAGisMv7gXTRiwsSc3y Tx90naygh6rBtS1vz0WaCqugLzU6cLXF/gycxfDwv/IIhwgO+oSE5+w1SWDle+R/v1sC HZ7mMtr27upR9WA5RCgkS3KMD3SLCM61qmeWI5az7TFr+lYliJlGANkSFW+W94JAV7lF S5rOoAg7+Vud71hM/owLEpolpFh3ypNJv4lyAaD8LU0/tSuc3plz7eqMlzbiWoaGD+4q gW+nLShJ0xO+oQCTT6IUc18d+MnxlOQ+wA2gMHxL3LWwkfU6X5tzMCi23TqGsq6fjuhN /92A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687296701; x=1689888701; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=TJSqGLOKOu1iQg8R9PCrGvnv/EW55/sgg2RMZD+J4wI=; b=R1jDGF4n8jlNFMJt+6isMWFfrPDQyBjEVCb87chGrvdYwQzVA9mA4e1XOv43gwdPxD VcquzJS5yA5UVybJEVC5sU6g5sb1IYU6woTQk/rAB633ylGtly2CUAk7o/jhKqAj9XKC UByhSM9g4W5k5utrq29odQXLsg9mgLg3Nanpmnuix+aUhGrkX1v+tizHRZnsLkdA26F+ XD8YzEF+u87CSLCdvWmhPQ+QPhVdMAKDwgjQiujchrbL6FbXVFjoOB377cHgAWGvwskQ XndqLN/0qhF2WW0gP7fC63+Wzj/IcH7U1lGLYPCvHB0dn2MWycR0Uol/3/GGAPMRVsCq FhYg== X-Gm-Message-State: AC+VfDwEjoGvQuxufaeeEb54q6VWuiUhoO9sJcKwI/hOqFqXOa9vi6Tb k1h+AON/fjSZ8nlji62eyyOHuqkwWD7nzEt/ X-Google-Smtp-Source: ACHHUZ7v1RqB9WIzfKqpWEI98aArLehtUNeKujqdzdKryHeQxiz9a2h5OGD9NWl+sNx0yD4QQd1CBg== X-Received: by 2002:a2e:7310:0:b0:2b4:76a8:bb8d with SMTP id o16-20020a2e7310000000b002b476a8bb8dmr4642089ljc.47.1687296700533; Tue, 20 Jun 2023 14:31:40 -0700 (PDT) Return-Path: Received: from localhost.localdomain ([79.164.221.98]) by smtp.gmail.com with ESMTPSA id r9-20020a2e9949000000b002b2273431f3sm585039ljj.94.2023.06.20.14.31.39 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Tue, 20 Jun 2023 14:31:40 -0700 (PDT) From: "Mike Maslenkin" To: devel@edk2.groups.io Cc: abner.chang@amd.com, nicklew@nvidia.com, igork@ami.com, Mike Maslenkin Subject: [PATCH] [edk2-redfish-client] Remove reference to BaseSortLib library Date: Wed, 21 Jun 2023 00:31:37 +0300 Message-Id: <20230620213137.28235-1-mike.maslenkin@gmail.com> X-Mailer: git-send-email 2.32.0 (Apple Git-132) MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable There are two problems with BaseSortLib reference: 1 BaseSortLib is the library instance name not the class name. 2 UefiSortLib instance from MdeModulePkg is also referenced below. Let's use only one reference to SortLib. Even though Redfish Client uses only quick sort for char* elements, UefiSortLib is preferred as it allows to sort DevicePath instances and wide strings. Signed-off-by: Mike Maslenkin Cc: Abner Chang Cc: Nickle Wang Cc: Igor Kulchytskyy --- RedfishClientPkg/RedfishClientPkg.dsc | 1 - 1 file changed, 1 deletion(-) diff --git a/RedfishClientPkg/RedfishClientPkg.dsc b/RedfishClientPkg/Redfi= shClientPkg.dsc index edc387ac72dc..e16c91b83196 100644 --- a/RedfishClientPkg/RedfishClientPkg.dsc +++ b/RedfishClientPkg/RedfishClientPkg.dsc @@ -36,7 +36,6 @@ JsonLib|RedfishPkg/Library/JsonLib/JsonLib.inf=0D Ucs2Utf8Lib|RedfishPkg/Library/BaseUcs2Utf8Lib/BaseUcs2Utf8Lib.inf=0D RedfishCrtLib|RedfishPkg/PrivateLibrary/RedfishCrtLib/RedfishCrtLib.inf= =0D - BaseSortLib|MdeModulePkg/Library/BaseSortLib/BaseSortLib.inf=0D HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf=0D UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServic= esLib.inf=0D UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManag= erLib.inf=0D --=20 2.32.0 (Apple Git-132)