From patchwork Sun Mar 30 10:31:16 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Niko Mauno X-Patchwork-Id: 60250 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 32F06C36013 for ; Sun, 30 Mar 2025 10:31:43 +0000 (UTC) Received: from AS8PR03CU001.outbound.protection.outlook.com (AS8PR03CU001.outbound.protection.outlook.com [52.101.71.98]) by mx.groups.io with SMTP id smtpd.web10.28244.1743330693592790054 for ; Sun, 30 Mar 2025 03:31:35 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="dkim: body hash did not verify" header.i=@vaisala.com header.s=selector1 header.b=r8AFcg4h; spf=permerror, err=parse error for token &{10 18 spf3.vaisala.com}: parse error for token &{10 18 _spf-dc57.sapsf.eu}: limit exceeded (domain: vaisala.com, ip: 52.101.71.98, mailfrom: niko.mauno@vaisala.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=Kag9T6EPdHKXns9M1S7fXq0W1vhucQZkaLeyC1pAdDUux+YgZXz/dWUIHpd4NbVqqy5L5E5/VxRcIhpOO9wd9fLqUKP07XSjy7raGaziIzJQBfrwIcNumeRCd9vAWBAPkUKf8z43pP6f1CDIoip/HmnXTbqxJvCTiSrel7ZkHAcoIDAxV6C7uqam+mg+EX+d4hYAdSFDKWkK7aHud2hPb2ikf49SKid5rEnyyLnqkDSqXLsMqXUf9rPN1k3BjUGhXVJpUOVqCZCUzFuPcOSOZkubj8ApXTS89epQMgV4Ti2wHBqQ7EQbwFL4NmizV0UDjo0aQ8HVW/9PkQK9s7YfCA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=E6J5n0X03yQPIQmfF0XfMr6kAXeqanU3SMzISitzPQk=; b=AhhnKHOhPxJiSuEJEZVPxvk2sdRkksB0WH2mROuQ2KIAN6lIGJ+aafD8D+qetELERHpnEd7f/v9nCAkrygLFoOi7Eu8NhlrHYB1SAn/R0PKT9ZniBY5yyTWRF8loPqwuHhTKL1Dt/DQbxKt3cmIyGSoRr289W1gaBrQxOQajZq7ejfj+r/5TjLhEE/ZZZNFk1fAaXce9RuVB+JZpKvjRPxtlFY6iDotVgRfSMkzMD55QeEafWh8bDjDRztHZgPzjrUz8cu0Gp66DVs2AUXLekT4SkriCVwAk9JgrCY+bxPxB2ps9Ms57g+4WupnXKvfXikQyIxIQzhqtkbmk/Vlgmg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=vaisala.com; dmarc=pass action=none header.from=vaisala.com; dkim=pass header.d=vaisala.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vaisala.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=E6J5n0X03yQPIQmfF0XfMr6kAXeqanU3SMzISitzPQk=; b=r8AFcg4hyvsA3bB8jsUOSTbd/ByvOfBDWNyQIeouUNDtga5jrzVD2rkYetGUXnxsrbMmvepZ2v2X3LQYk48YSkzAoPOmt+z3V+prLxQH3j4UdIbfgQsdtWWXMWNcEi9DL2Bs2bcnbV13Xl6R4lIvQ2ENgJYi0jmUz/7jxFGKK/GFDDzk6InLNMOFJOT9qhyfvrobplM1zETPp8Mhsgm6nF6wQIuKjxnFO3D1KM7zssfVQHGA54bhhe73gLVwspVmJzv3H0BQGSjr1Ya7iJcuwwCEHh31UmGt7nhUItx4C4Vf7iOj/2u0uZomxSkV3lhVQaCXQpUqU6+nygN9ySmRhQ== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=vaisala.com; Received: from AS4PR06MB8447.eurprd06.prod.outlook.com (2603:10a6:20b:4e2::11) by PR3PR06MB7100.eurprd06.prod.outlook.com (2603:10a6:102:8f::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8534.44; Sun, 30 Mar 2025 10:31:30 +0000 Received: from AS4PR06MB8447.eurprd06.prod.outlook.com ([fe80::af93:b150:b886:b2bc]) by AS4PR06MB8447.eurprd06.prod.outlook.com ([fe80::af93:b150:b886:b2bc%3]) with mapi id 15.20.8534.048; Sun, 30 Mar 2025 10:31:30 +0000 From: Niko Mauno To: openembedded-devel@lists.openembedded.org CC: Niko Mauno Subject: [meta-multimedia][PATCH 2/2] tinyalsa: Remove dangling patch file Date: Sun, 30 Mar 2025 10:31:16 +0000 Message-ID: <20250330103116.405060-2-niko.mauno@vaisala.com> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20250330103116.405060-1-niko.mauno@vaisala.com> References: <20250330103116.405060-1-niko.mauno@vaisala.com> X-ClientProxiedBy: GVZP280CA0007.SWEP280.PROD.OUTLOOK.COM (2603:10a6:150:273::11) To AS4PR06MB8447.eurprd06.prod.outlook.com (2603:10a6:20b:4e2::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AS4PR06MB8447:EE_|PR3PR06MB7100:EE_ X-MS-Office365-Filtering-Correlation-Id: 300f3856-4276-465b-e2ca-08dd6f760924 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|376014|52116014|366016|38350700014; X-Microsoft-Antispam-Message-Info: vgjCa7BZT+tLMiP02UIiaCAmPfLNIroeDmfWxcriPcjGyLq74P0+1yBiq5K1ugkGsZga2ij1WuxfxEtqzX9W39kwV/vj1pTw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9y4yS9nxCHVy+j3uzmGVyio3YaWYHuc1rap/ZavO2SYLjPNEuEK3sjwTtibDEjSenvINaqd26pCTgZHaSOoOWr4OSfoF0nc6AKDXlkki0JJnC24TVqM9QVzQbWJ/tfRBPDBSHbmOqOIuHQ2TOGXqZiobYfDWIcUA9sYL8Eqpus77uzSr5rgdXMcGVJ0TfI/8x6vf/fBlELsRNKBGdGR5F293diduoqYEh+7YibFja1RO18vFzqe5BymojOcUQG9dISgC8i+AwaJsUB7/lo4xXrtF5WsnYu X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AS4PR06MB8447.eurprd06.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(1800799024)(376014)(52116014)(366016)(38350700014);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 943Z1cAc//Yoyba8ycSlXTC/CVCaCgM6sDAlDhvWTd+rgA/aTHG3ntkA+cKDOkUgyh6KRFDEb0SI1y1sw3scAkAJNhdgHUngZsAzV1N864tQoLK9XCbBTi/7GX9pn7JDqPOME3CjVhRimPnbC9pr4KXb5WjkAvndcd42+NwhQK1JmU1XT16zg/0139hN/FJHZHPYn2iV+h6xemK6ng8dDFO+wXiUndCnm9dLXjleg8eMJQZFkbYBe1R95ThUu4noeMwcVK31GFjfeZnu3+QGXkZwWpbMszyHUar+kEKg56N6YAJFBrFdhRLBO3fXU/gfDa49VK5BzCrs4Au00S+mT540mGZAPaQWbrTHF/JdKRwywRr6L6lDggvm4SpRKDDidlxZbhuiXt6cvrZ+DpAlRrr9Ky0rSV0pw/UYEITXmLoNZn0uwWyPc0e0dprhnOcz8hveWzz3mJr387HnQGf8crRQ3KeZbw5iQn/uD9muHbPQbMrR1SZcy7F9dYsfQt8bPgBDsVe3IvTnfG2FBqAzBZZreqBGWCjxTGEVZ1Rc5TvOVjz3NFvtL1RSIronLk2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-Id: 300f3856-4276-465b-e2ca-08dd6f760924 X-MS-Exchange-CrossTenant-AuthSource: AS4PR06MB8447.eurprd06.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Mar 2025 10:31:30.7512 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 6d7393e0-41f5-4c2e-9b12-4c2be5da5c57 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: vfB5kwd0QHhftb3bPJYyV0A7rZU1PGZdcGz9hIz/S7WH68Ew2Mts5HXt8jxfPE9Oj6RcsmBGCgoKZdxoIvjlsA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PR3PR06MB7100 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 ; Sun, 30 Mar 2025 10:31:43 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/116389 Not referenced since commit 13ddd97e4f3b2557aa1aea1212e8003a503415ee ("tinyalsa: Upgrade to tip of trunk"). Signed-off-by: Niko Mauno --- ...-compilation-error-caused-by-strncpy.patch | 69 ------------------- 1 file changed, 69 deletions(-) delete mode 100644 meta-multimedia/recipes-multimedia/tinyalsa/tinyalsa/0001-fixed-compilation-error-caused-by-strncpy.patch diff --git a/meta-multimedia/recipes-multimedia/tinyalsa/tinyalsa/0001-fixed-compilation-error-caused-by-strncpy.patch b/meta-multimedia/recipes-multimedia/tinyalsa/tinyalsa/0001-fixed-compilation-error-caused-by-strncpy.patch deleted file mode 100644 index 64ebdb19c9..0000000000 --- a/meta-multimedia/recipes-multimedia/tinyalsa/tinyalsa/0001-fixed-compilation-error-caused-by-strncpy.patch +++ /dev/null @@ -1,69 +0,0 @@ -From 639650dd64e483074dd7c3c7ea6dc1b1bd542743 Mon Sep 17 00:00:00 2001 -From: alperak -Date: Sun, 12 Nov 2023 20:16:55 +0300 -Subject: [PATCH] fixed compilation error caused by strncpy - -Issue: - https://github.com/tinyalsa/tinyalsa/issues/219 - -Fix: - https://github.com/tinyalsa/tinyalsa/pull/220 - https://github.com/tinyalsa/tinyalsa/pull/221 - -Upstream-Status: Submitted - -Signed-off-by: alperak ---- - src/mixer_plugin.c | 8 +++++--- - src/pcm_plugin.c | 9 ++++++--- - 2 files changed, 11 insertions(+), 6 deletions(-) - -diff --git a/src/mixer_plugin.c b/src/mixer_plugin.c -index 34117a9..f608563 100644 ---- a/src/mixer_plugin.c -+++ b/src/mixer_plugin.c -@@ -82,7 +82,8 @@ static int mixer_plug_get_elem_id(struct mixer_plug_data *plug_data, - id->iface = ctl->iface; - - strncpy((char *)id->name, (char *)ctl->name, -- sizeof(id->name)); -+ sizeof(id->name) - 1); -+ ((char *)id->name)[sizeof(id->name) - 1] = '\0'; - - return 0; - } -@@ -100,8 +101,9 @@ static int mixer_plug_info_enum(struct snd_control *ctl, - - strncpy(einfo->value.enumerated.name, - val->texts[einfo->value.enumerated.item], -- sizeof(einfo->value.enumerated.name)); -- -+ sizeof(einfo->value.enumerated.name) - 1); -+ einfo->value.enumerated.name[sizeof(einfo->value.enumerated.name) - 1] = '\0'; -+ - return 0; - } - -diff --git a/src/pcm_plugin.c b/src/pcm_plugin.c -index 15bfc80..47bf4a5 100644 ---- a/src/pcm_plugin.c -+++ b/src/pcm_plugin.c -@@ -153,9 +153,12 @@ static int pcm_plug_info(struct pcm_plug_data *plug_data, - return ret; - } - -- strncpy((char *)info->id, name, sizeof(info->id)); -- strncpy((char *)info->name, name, sizeof(info->name)); -- strncpy((char *)info->subname, name, sizeof(info->subname)); -+ strncpy((char *)info->id, name, sizeof(info->id) - 1); -+ ((char *)info->id)[sizeof(info->id) - 1] = '\0'; -+ strncpy((char *)info->name, name, sizeof(info->name) - 1); -+ ((char *)info->name)[sizeof(info->name) - 1] = '\0'; -+ strncpy((char *)info->subname, name, sizeof(info->subname) - 1); -+ ((char *)info->subname)[sizeof(info->subname) - 1] = '\0'; - - info->subdevices_count = 1; - --- -2.25.1 -