From patchwork Fri Nov 3 20:02:18 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: auh@yoctoproject.org X-Patchwork-Id: 33667 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id CA159C04A95 for ; Fri, 3 Nov 2023 20:02:28 +0000 (UTC) Received: from a27-191.smtp-out.us-west-2.amazonses.com (a27-191.smtp-out.us-west-2.amazonses.com [54.240.27.191]) by mx.groups.io with SMTP id smtpd.web11.63226.1699041739289928185 for ; Fri, 03 Nov 2023 13:02:19 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@yoctoproject.org header.s=lvjh2tk576v2ro5mi6k4dt3mc6wpqbky header.b=K8EuTGl+; dkim=pass header.i=@amazonses.com header.s=hsbnp7p3ensaochzwyq5wwmceodymuwv header.b=b6gUamn3; spf=pass (domain: us-west-2.amazonses.com, ip: 54.240.27.191, mailfrom: 0101018b96c77d83-a4f72c4b-92a1-462e-bc18-e36bf976238d-000000@us-west-2.amazonses.com) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=lvjh2tk576v2ro5mi6k4dt3mc6wpqbky; d=yoctoproject.org; t=1699041738; h=Content-Type:MIME-Version:From:To:Cc:Subject:Message-Id:Date; bh=XMW6sNSdZjDVvo89gWB82qNSQC42o5r7n6zctDopSm4=; b=K8EuTGl+wHDpqwino8IRWwgVufgIRb+2QRHUOk7Cu1pu/pyb3HR6FMZUoEZH6IGT AyS6LLaBp4tl98qA6tNp1jTbZ7cpfrMI3tJzrKOKIyGRUgHjPMAUa/1da4Nu4LAa8bb yAB1kMhH37/DfFXBKLm1p1psdetTcs4l6JER8tiI= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=hsbnp7p3ensaochzwyq5wwmceodymuwv; d=amazonses.com; t=1699041738; h=Content-Type:MIME-Version:From:To:Cc:Subject:Message-Id:Date:Feedback-ID; bh=XMW6sNSdZjDVvo89gWB82qNSQC42o5r7n6zctDopSm4=; b=b6gUamn3td4cvM5iEcBlYl9gJBAlJk1FLJSMES34Ge6IL7WhV5tvyKjnmtM0EPlC Xiqc13+7n93fSGmlSSRcwIJLA+Vwd36hhoNWn/xl698bCyWKyYWdKDk56vkoqaJJWyr q4M3ht+/HKdkaFuD1P8aQLFddkRXu0BIvOIoRJQs= MIME-Version: 1.0 From: auh@yoctoproject.org To: Forced@yoctoproject.org, maintainer@yoctoproject.org, for@yoctoproject.org, AUH@yoctoproject.org Cc: openembedded-devel@lists.openembedded.org Subject: [AUH] pmdk: upgrading to 2.0.0 SUCCEEDED Message-ID: <0101018b96c77d83-a4f72c4b-92a1-462e-bc18-e36bf976238d-000000@us-west-2.amazonses.com> Date: Fri, 3 Nov 2023 20:02:18 +0000 Feedback-ID: 1.us-west-2.9np3MYPs3fEaOBysGKSlUD4KtcmPijcmS9Az2Hwf7iQ=:AmazonSES X-SES-Outgoing: 2023.11.03-54.240.27.191 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 03 Nov 2023 20:02:28 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/106069 Hello, this email is a notification from the Auto Upgrade Helper that the automatic attempt to upgrade the recipe *pmdk* to *2.0.0* has Succeeded. Next steps: - apply the patch: git am 0001-pmdk-upgrade-1.12.1-2.0.0.patch - check the changes to upstream patches and summarize them in the commit message, - compile an image that contains the package - perform some basic sanity tests - amend the patch and sign it off: git commit -s --reset-author --amend - send it to the appropriate mailing list Alternatively, if you believe the recipe should not be upgraded at this time, you can fill RECIPE_NO_UPDATE_REASON in respective recipe file so that automatic upgrades would no longer be attempted. Please review the attached files for further information and build/update failures. Any problem please file a bug at https://bugzilla.yoctoproject.org/enter_bug.cgi?product=Automated%20Update%20Handler Regards, The Upgrade Helper -- >8 -- From 09e62276d507d6a85d0c203055bf7508c8d5d38b Mon Sep 17 00:00:00 2001 From: Upgrade Helper Date: Fri, 3 Nov 2023 17:51:49 +0000 Subject: [PATCH] pmdk: upgrade 1.12.1 -> 2.0.0 --- ...unction-prototypes-of-enum_to_str_fn.patch | 43 ------------------- .../pmdk/{pmdk_1.12.1.bb => pmdk_2.0.0.bb} | 5 +-- 2 files changed, 2 insertions(+), 46 deletions(-) delete mode 100644 meta-oe/recipes-extended/pmdk/pmdk/0001-pmempool-Match-function-prototypes-of-enum_to_str_fn.patch rename meta-oe/recipes-extended/pmdk/{pmdk_1.12.1.bb => pmdk_2.0.0.bb} (86%) diff --git a/meta-oe/recipes-extended/pmdk/pmdk/0001-pmempool-Match-function-prototypes-of-enum_to_str_fn.patch b/meta-oe/recipes-extended/pmdk/pmdk/0001-pmempool-Match-function-prototypes-of-enum_to_str_fn.patch deleted file mode 100644 index b16b633a3..000000000 --- a/meta-oe/recipes-extended/pmdk/pmdk/0001-pmempool-Match-function-prototypes-of-enum_to_str_fn.patch +++ /dev/null @@ -1,43 +0,0 @@ -From de6425acaa50426883e85a599001ae5e927aec5b Mon Sep 17 00:00:00 2001 -From: Khem Raj -Date: Thu, 2 Mar 2023 16:23:56 -0800 -Subject: [PATCH] pmempool: Match function prototypes of enum_to_str_fn - function pointer - -This is flagged by clang 16+ -common.c:844:4: error: cast from 'const char *(*)(enum chunk_type)' to 'enum_to_str_fn' (aka 'const char *(*)(int)') converts to incompatible function type [-Werror,-Wcast-function-type-strict] - (enum_to_str_fn)out_get_chunk_type_str); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -1 error generated. - -Upstream-Status: Submitted [https://github.com/pmem/pmdk/pull/5543] -Signed-off-by: Khem Raj ---- - src/tools/pmempool/common.c | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/src/tools/pmempool/common.c b/src/tools/pmempool/common.c -index 5e7e472cc..4b7e9b95f 100644 ---- a/src/tools/pmempool/common.c -+++ b/src/tools/pmempool/common.c -@@ -41,7 +41,7 @@ - - #define REQ_BUFF_SIZE 2048U - #define Q_BUFF_SIZE 8192 --typedef const char *(*enum_to_str_fn)(int); -+typedef const char *(*enum_to_str_fn)(enum chunk_type); - - /* - * pmem_pool_type -- return pool type based on first two pages. -@@ -790,7 +790,7 @@ util_parse_enum(const char *str, int first, int max, uint64_t *bitmap, - enum_to_str_fn enum_to_str) - { - for (int i = first; i < max; i++) { -- if (strcmp(str, enum_to_str(i)) == 0) { -+ if (strcmp(str, enum_to_str((enum chunk_type)i)) == 0) { - *bitmap |= (uint64_t)1<