From mboxrd@z Thu Jan 1 00:00:00 1970 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 alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id EBA9AC55190 for ; Fri, 20 Feb 2026 11:22:38 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [45.14.194.44]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 6AC956020F; Fri, 20 Feb 2026 12:22:33 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 6AC956020F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1771586556; bh=NYo6LDV8Sdq5GZuXabD1C22h5+9gd8PAqMZmKjGjVPY=; h=From:To:In-Reply-To:References:Subject:Date:List-Id:List-Archive: List-Help:List-Owner:List-Post:List-Subscribe:List-Unsubscribe: From; b=UhXyj47kf6CSofAsmOnTd6W39mhQGNNCF6KfGBhEv8Olwgul6HH+hfZDNENPYiDOy 1liswt8a2pgbvQ5rzDz5zYBa9MAnj1X0HVy2yRmUZhXbGSYFm8ytNR8zoZX7Ah5coJ Qx28NLu3tzbMDI2LjxewxUWRKgEdTcjgp/duMszc= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 6EC73F805E4; Fri, 20 Feb 2026 12:22:06 +0100 (CET) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id A5B00F805EE; Fri, 20 Feb 2026 12:22:05 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 5B359F800F3; Fri, 20 Feb 2026 12:19:41 +0100 (CET) Received: from webhooks-bot.alsa-project.org (vmi2259423.contaboserver.net [45.14.194.44]) by alsa1.perex.cz (Postfix) with ESMTP id 244CFF800F3 for ; Fri, 20 Feb 2026 12:19:22 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 244CFF800F3 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit From: GitHub pull_request - opened To: alsa-devel@alsa-project.org Message-Id: <1895f0690d8bc200-webhooks-bot@alsa-project.org> In-Reply-To: References: Subject: fix discards const from pointer target Date: Fri, 20 Feb 2026 12:19:41 +0100 (CET) Message-ID-Hash: XJIQXAYAHLH22G2CYJHD5QR3VCKM4YN6 X-Message-ID-Hash: XJIQXAYAHLH22G2CYJHD5QR3VCKM4YN6 X-MailFrom: github@alsa-project.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-alsa-devel.alsa-project.org-0; header-match-alsa-devel.alsa-project.org-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.9 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: alsa-project/alsa-utils pull request #322 was opened from heitbaum: Since glibc-2.43: For ISO C23, the functions bsearch, memchr, strchr, strpbrk, strrchr, strstr, wcschr, wcspbrk, wcsrchr, wcsstr and wmemchr that return pointers into their input arrays now have definitions as macros that return a pointer to a const-qualified type when the input argument is a pointer to a const-qualified type. https://lists.gnu.org/archive/html/info-gnu/2026-01/msg00005.html ```c ../../alsactl/init_parse.c: In function 'elemid_get': ../../alsactl/init_parse.c:695:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 695 | char *pos = strchr(attr, ' '); | ^~~~~~ ../../alsactl/init_parse.c: In function 'conf_name_filter': ../../alsactl/init_parse.c:1284:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1284 | char *ext = strrchr(d->d_name, '.'); | ^~~~~~~ ../../aplay/aplay.c: In function 'create_path': ../../aplay/aplay.c:3226:23: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 3226 | start = strchr(path + 1, '/'); | ^ ../../aplay/aplay.c:3228:23: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 3228 | start = strchr(path, '/'); | ^ ../../topology/pre-process-object.c: In function 'tplg_pp_add_object_tuple_section': ../../topology/pre-process-object.c:562:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 562 | type = strchr(token_ref, '.'); | ^ ../../topology/pre-process-dapm.c:175:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 175 | args = strchr(string, '.'); | ^ ``` Request URL : https://github.com/alsa-project/alsa-utils/pull/322 Patch URL : https://github.com/alsa-project/alsa-utils/pull/322.patch Repository URL: https://github.com/alsa-project/alsa-utils