Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp796607lqo; Fri, 17 May 2024 01:35:36 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXH/Km6WjBcL3K+QzdJgtmL2SqmgFG8DmN2piLuy/Gxo9WH5E0HJ4g2qWjfb4TM5Fe2+j00RDm2iVgPV8OnstOK6O9/96cWGkbsUZHZCw== X-Google-Smtp-Source: AGHT+IG+lkX1cSXKFSTMqFpEL8plBgK5L0zImBc8fQ9epHIlUnFdmL4a/Fx2qafed1h/0lHAbql5 X-Received: by 2002:a50:9ec5:0:b0:568:8e22:4eff with SMTP id 4fb4d7f45d1cf-5734d6df0d5mr14036974a12.37.1715934935959; Fri, 17 May 2024 01:35:35 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715934935; cv=pass; d=google.com; s=arc-20160816; b=fuNoiC5iE+nFdsFm4j8lQo6O1YX9Uu8UFQ0x/1EZH1GlwsUVQgb783xu1xQorPnESa yqQN+NbxyGSFQEW19S7kzaIXjuNVu84BSL6M3E2yutIDq5wyI24D5PV8e8gvZJvFmxMt bBdfHJZSB/J4M6sYirUJJFrU2XpuS78CyLnKIo/pF4NVlZBwetug/Y7xcYTuPFZfGXHu KT8+cwDYmaHwXDaX+CKLO+iG7gZDa+UJ7J8eWOs8ScVGWxvH7xQxb9RhJbK/VaQrb0Oe dEQjE99Uio7XGuS4y7Ya8Foz0XwbNIvtKzQAOg+R7ovim/2IgCGczP1Gh7HsbGW9Luf2 j3wA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :user-agent:references:in-reply-to:subject:cc:to:from:message-id :date:dkim-signature:dkim-signature:dkim-signature:dkim-signature; bh=cMCzq8BhBN43vXaJEDcgYaSLDk4zBHsmFnr5eCbxmA4=; fh=mOcHkoIuGSZol9lzg1nZYlMae61YvJqNoltbPeHxt6w=; b=T7Aqn2fUbcFWrVAbYXopt078qgIvVGUp8GVOMe7hF+MHQUPImoDPE9ZYl+448NFhOB +eMddDLuMy+N0/Lx2nYRlgZQIA5C9Xa2MJ5MajOkO3d+I3yOeu3fVp3kFxbAg1es/ZR1 eYZnOunKKlO+mx6HM3D24ipS4Td+DWFrMCo1Q+hbUr7tDh/fgSlsG/E2eHfSSkAvtXN8 lVl4AeyCLUUpc+/RYLXKSS5kODRXzaXULgZp7fbljtmrYLf8xV9pintpicJ9uNLdE+3S SU/xmVHAu/d/TZAN0MHsZBOTMDhtKoi5sv4STuCXm/B+f16iv4hXkXO7FYSHo+JjZHjy l4mA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=rMK2mNeT; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=rMK2mNeT; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; arc=pass (i=1 spf=pass spfdomain=suse.de dkim=pass dkdomain=suse.de dkim=pass dkdomain=suse.de dmarc=pass fromdomain=suse.de); spf=pass (google.com: domain of linux-kernel+bounces-181870-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-181870-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id 4fb4d7f45d1cf-5733c36d648si9665745a12.539.2024.05.17.01.35.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 May 2024 01:35:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-181870-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=rMK2mNeT; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=rMK2mNeT; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; arc=pass (i=1 spf=pass spfdomain=suse.de dkim=pass dkdomain=suse.de dkim=pass dkdomain=suse.de dmarc=pass fromdomain=suse.de); spf=pass (google.com: domain of linux-kernel+bounces-181870-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-181870-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 86AC11F21834 for ; Fri, 17 May 2024 08:35:35 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8BA028BFA; Fri, 17 May 2024 08:35:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b="rMK2mNeT"; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b="sNJo8VmE"; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b="rMK2mNeT"; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b="sNJo8VmE" Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.223.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 30F988F59; Fri, 17 May 2024 08:35:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=195.135.223.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715934924; cv=none; b=F0DDUKu+11XjGZHVJB79qpnrQ/V7jmSnHZXLnMswL5UtDVOsvXVSLpBpujOm+EPBR0Z960m8qkVX3+UBn82a/++j7/+lrEabH3USjKWMu/OwIAnBsKPfAhiQdfHtq4TBUusCt9SfVG7mKBaDXXP72EIqbX7+YnsRRqnk03CKV7M= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715934924; c=relaxed/simple; bh=+g/ULRGcWDI4ygVhmLRXFXl/uZbJJNcEYRH2MQAqF4U=; h=Date:Message-ID:From:To:Cc:Subject:In-Reply-To:References: MIME-Version:Content-Type; b=aTt9MmUENv3HFthGYsi2a8zylBRgBhHZrsINxLEsNb6GH4i3ms+B1LPTOV22d25Lc0EtDxHN9KySxDD/MxF0n7bP35En6jsfmj8b9HpEGW4+zQ05RG8dtjwImxu5Bb9IEl1Pg0eZ8PuQncqvQpXruAADFraBlgT1xVJ+xfpElyY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=suse.de; spf=pass smtp.mailfrom=suse.de; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b=rMK2mNeT; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b=sNJo8VmE; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b=rMK2mNeT; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b=sNJo8VmE; arc=none smtp.client-ip=195.135.223.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=suse.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=suse.de Received: from imap1.dmz-prg2.suse.org (unknown [10.150.64.97]) (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 smtp-out2.suse.de (Postfix) with ESMTPS id 577355D172; Fri, 17 May 2024 08:35:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1715934921; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=cMCzq8BhBN43vXaJEDcgYaSLDk4zBHsmFnr5eCbxmA4=; b=rMK2mNeTMoyHZOOQt4nLwvgQkO2zPAGabrfTRcLD3X9NaYsNquKddjfD2rsa5iY4E52UKf dwZico4g3FJZhb0lkXEPQ9SH+DfFVsNAoN65gvUGYb4yKPZ/CyEy4P1SkOlPLurdHyu7zl 83rkzmt2OeOLZPIcaYYpb0W6Kbgsfso= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1715934921; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=cMCzq8BhBN43vXaJEDcgYaSLDk4zBHsmFnr5eCbxmA4=; b=sNJo8VmE4PrRvt2HsWHyNwSXwbSkpJnBBW5MJ0vjxciFUsmsEW+at+2NW/IKkiS5G/MGt7 OxAttVw7fTYMvZBA== Authentication-Results: smtp-out2.suse.de; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1715934921; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=cMCzq8BhBN43vXaJEDcgYaSLDk4zBHsmFnr5eCbxmA4=; b=rMK2mNeTMoyHZOOQt4nLwvgQkO2zPAGabrfTRcLD3X9NaYsNquKddjfD2rsa5iY4E52UKf dwZico4g3FJZhb0lkXEPQ9SH+DfFVsNAoN65gvUGYb4yKPZ/CyEy4P1SkOlPLurdHyu7zl 83rkzmt2OeOLZPIcaYYpb0W6Kbgsfso= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1715934921; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=cMCzq8BhBN43vXaJEDcgYaSLDk4zBHsmFnr5eCbxmA4=; b=sNJo8VmE4PrRvt2HsWHyNwSXwbSkpJnBBW5MJ0vjxciFUsmsEW+at+2NW/IKkiS5G/MGt7 OxAttVw7fTYMvZBA== Received: from imap1.dmz-prg2.suse.org (localhost [127.0.0.1]) (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 imap1.dmz-prg2.suse.org (Postfix) with ESMTPS id 02CB313942; Fri, 17 May 2024 08:35:20 +0000 (UTC) Received: from dovecot-director2.suse.de ([2a07:de40:b281:106:10:150:64:167]) by imap1.dmz-prg2.suse.org with ESMTPSA id W3SuOsgWR2aXdQAAD6G6ig (envelope-from ); Fri, 17 May 2024 08:35:20 +0000 Date: Fri, 17 May 2024 10:35:38 +0200 Message-ID: <871q6025ut.wl-tiwai@suse.de> From: Takashi Iwai To: Mark Brown Cc: Jaroslav Kysela , Takashi Iwai , Shuah Khan , Muhammad Usama Anjum , Edward Liaw , John Hubbard , Shuah Khan , linux-sound@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] kselftest/alsa: Ensure _GNU_SOURCE is defined In-Reply-To: <20240516-kselftest-fix-gnu-source-v1-1-e482ca6bfff7@kernel.org> References: <20240516-kselftest-fix-gnu-source-v1-1-e482ca6bfff7@kernel.org> User-Agent: Wanderlust/2.15.9 (Almost Unreal) Emacs/27.2 Mule/6.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII X-Spam-Level: X-Spamd-Result: default: False [-2.75 / 50.00]; BAYES_HAM(-2.45)[97.49%]; MID_CONTAINS_FROM(1.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.20)[-0.999]; MIME_GOOD(-0.10)[text/plain]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FUZZY_BLOCKED(0.00)[rspamd.com]; DKIM_SIGNED(0.00)[suse.de:s=susede2_rsa,suse.de:s=susede2_ed25519]; MIME_TRACE(0.00)[0:+]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; TO_DN_SOME(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; RCPT_COUNT_SEVEN(0.00)[11]; DBL_BLOCKED_OPENRESOLVER(0.00)[suse.de:email] X-Spam-Score: -2.75 X-Spam-Flag: NO On Thu, 16 May 2024 17:27:33 +0200, Mark Brown wrote: > > The pcmtest driver tests use the kselftest harness which requires that > _GNU_SOURCE is defined but nothing causes it to be defined. Since the > KHDR_INCLUDES Makefile variable has had the required define added let's > use that, this should provide some futureproofing. > > Fixes: daef47b89efd ("selftests: Compile kselftest headers with -D_GNU_SOURCE") > Signed-off-by: Mark Brown The commit isn't yet in the Linus upstream tree but only in linux-next. I guess it's better to put the fix in the tree (Shuah's?) that introduced this change. So feel free to take my ack: Acked-by: Takashi Iwai thanks, Takashi > --- > tools/testing/selftests/alsa/Makefile | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/tools/testing/selftests/alsa/Makefile b/tools/testing/selftests/alsa/Makefile > index 5af9ba8a4645..c1ce39874e2b 100644 > --- a/tools/testing/selftests/alsa/Makefile > +++ b/tools/testing/selftests/alsa/Makefile > @@ -1,7 +1,7 @@ > # SPDX-License-Identifier: GPL-2.0 > # > > -CFLAGS += $(shell pkg-config --cflags alsa) > +CFLAGS += $(shell pkg-config --cflags alsa) $(KHDR_INCLUDES) > LDLIBS += $(shell pkg-config --libs alsa) > ifeq ($(LDLIBS),) > LDLIBS += -lasound > > --- > base-commit: 3c999d1ae3c75991902a1a7dad0cb62c2a3008b4 > change-id: 20240516-kselftest-fix-gnu-source-81ddd00870a8 > > Best regards, > -- > Mark Brown >