Received: by 2002:ab2:7b86:0:b0:1f7:5705:b850 with SMTP id q6csp1232966lqh; Mon, 6 May 2024 00:45:20 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWnB1cbkdt9Tj3YsYHNeJdd2G+MkUWBkIIM2FAxwtRgJeRMBX7ZI7fZg8e2ZpwoAhgLPj0LFAFg4cYqQ0LSP2fQvm9Ti2UfjK5pCshleA== X-Google-Smtp-Source: AGHT+IELyxuLIHA03zdLO9MZD14VA9yzRAhpizO3irFEROeFVNgey902KbY8IShSyvQb8cpLwikl X-Received: by 2002:a50:a456:0:b0:56e:c5a:c7a9 with SMTP id v22-20020a50a456000000b0056e0c5ac7a9mr7098203edb.41.1714981520386; Mon, 06 May 2024 00:45:20 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714981520; cv=pass; d=google.com; s=arc-20160816; b=Dikuamx1Pghc25pj3qyFCEUGA+nFdcZGBiCKLVYK4W09ngRvQ9/18vfPSlEK4xHGh2 vfTfI4+84a3Q9Y7IeJtLv2vApi6XNqdBRJCtZm+pFznolBsdGp8P2FdBm9ZjjLivnbdf 4py2wurs4NWf4QbBgxMkaQesd8lCnjbqyOumxKn6S4d8wc02SDIfAOkDgtaeM9fxfpl8 /Kd3MvD4KR0tLq7CBGEUMCJR8RnKbVLI4fh+7CRrdQzZuxvFsjyTQA7JPyeL+a6rOiZW KMN/yDWMjzILgiVq6pJeFKDIkvwyfbJPgWvx8AxqXJn+sfpXrH2jP5uQUv7fxFBGN2HQ xetg== 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=A8NhZ5Z++Xyx8ycFFvX5+HcsU9P3SaLsiqRdiI3IPaY=; fh=C+xWRRz4q0WOvfl5GkTCW67tZoD+Sc+Hulg7g2leOyM=; b=pc1uKk/0kmIl0RDH4tFogesSHcdmksr8fPooUA+hjcAjJzCS2eaD++AmuRcidbMq1n I/6POXZOkVj39YL/iey6K9AIP7/T903GLYY7aKo876pNDrdEtbXCTPWLXiFHdqfteQFS CtfiTgJt1k3T3tNbtpYL2pJfhafWxDKpna51xbzetDupWBrdwwIYbJw2TkzjzjOz1ryA q2pPw1NqW1Kil4xsmC/qygdYzAHMSi5mjyL4h5zfu/Wxt8Ryc9YJ/cLm1ELI+/QwNwUu E3je2RuQN8yZPHmSmAlnRwSotFP/PfKTNaHQRszeSKnqJ0MuwxeUnofNYDsD3mh+ndGN MrZw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=ZEVw2SwU; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=n6GhvFeT; 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-169427-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-169427-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. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id h18-20020a056402281200b0057017734d61si4714147ede.185.2024.05.06.00.45.20 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 May 2024 00:45:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-169427-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=ZEVw2SwU; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=n6GhvFeT; 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-169427-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-169427-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 B18791F219AA for ; Mon, 6 May 2024 07:45:19 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E4CEC140381; Mon, 6 May 2024 07:45:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b="ZEVw2SwU"; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b="FhvHSAqv"; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b="n6GhvFeT"; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b="LoDu9hAr" 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 E0A5F5A0E1; Mon, 6 May 2024 07:45:09 +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=1714981512; cv=none; b=L9c7r+0rrU7b4kA09e9X1iAOz3GcoojQIrV9c9s7wjaLlekwYeXahyt3zMCNbkQGiAGPqXI6fGeM2y8RWukI/jBFPrWRS2Hb9Hcxf/4Xl0CVKgW775QfXAzvm+3beqICYpF6pJzxTR9dj5e8KaNhPlgHzrmpc1RHsXQoO/zj6o4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714981512; c=relaxed/simple; bh=hbk+KfVwD07Qx/5jw2FufoF+HQqBivDwwUKf9HHF5Gw=; h=Date:Message-ID:From:To:Cc:Subject:In-Reply-To:References: MIME-Version:Content-Type; b=AjEfcdYq/U5KP1aeC49YBS6shU6cteGBMG22hjFTdOF0GyGQjUakD5cB1WhCwNtRjh9EDS6b66F1lLe0W18dii256VBifHjCIDVdm7I3eImqPpWOvHjLY/hDwWicHRcUynRODewX9YfM+HSP714w8IyU8Reh3GbAnQAtQcaFAUw= 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=ZEVw2SwU; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b=FhvHSAqv; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b=n6GhvFeT; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b=LoDu9hAr; 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 (imap1.dmz-prg2.suse.org [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 F08E65F971; Mon, 6 May 2024 07:45:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1714981508; 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=A8NhZ5Z++Xyx8ycFFvX5+HcsU9P3SaLsiqRdiI3IPaY=; b=ZEVw2SwUfMrUiAbA/C0PQARZG1+2mEULj+ogwY00PnSzxv8n3XbAD7p0oSjJUPJV49vhyi l0lyD9/hOPCdZh25TOQptixkW4LRaihlRMibf5vrwHVxRI9esvH3/FPnWcAFJMr3Es+i6h jkU/RXCSCip4wYP25HCeoiwQ+UzJVW0= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1714981508; 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=A8NhZ5Z++Xyx8ycFFvX5+HcsU9P3SaLsiqRdiI3IPaY=; b=FhvHSAqvlBOCf3pBYOM7ewfRIkQlM7/bNdA7ET5J+UxJTnlzFjXbLJoXddGk9c3GYYHObI RTwTEQDm+LZoU0AA== Authentication-Results: smtp-out2.suse.de; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1714981506; 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=A8NhZ5Z++Xyx8ycFFvX5+HcsU9P3SaLsiqRdiI3IPaY=; b=n6GhvFeTvZLhw6DOAciUhZSNHWlXUcrX3TrM2yXiURUPGhAW3bAzpxjtd8sXtwV3nDp17m PyoNmrZ1P8BFpltJPSM9hdgdtb8Y0q8m96MtFAmhHZjwfz4q8U41DYSpJAFic4Sd47t4Ll 3Yz1DGNIiVmunhuHJECcxWwP1pmy6Vs= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1714981506; 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=A8NhZ5Z++Xyx8ycFFvX5+HcsU9P3SaLsiqRdiI3IPaY=; b=LoDu9hAr2qw6VHTydgDo63ELGjlIT/gkRfiuhXF548fhNfeaGM266uSegnnVSmVVmknqyD omoJT6E4CjZK0fBQ== 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 9D00113A25; Mon, 6 May 2024 07:45:06 +0000 (UTC) Received: from dovecot-director2.suse.de ([10.150.64.162]) by imap1.dmz-prg2.suse.org with ESMTPSA id yCkdJYKKOGbnXgAAD6G6ig (envelope-from ); Mon, 06 May 2024 07:45:06 +0000 Date: Mon, 06 May 2024 09:45:21 +0200 Message-ID: <87zft3gz8u.wl-tiwai@suse.de> From: Takashi Iwai To: Jaroslav Kysela Cc: Takashi Iwai , John Hubbard , Shuah Khan , Mark Brown , Takashi Iwai , Ivan Orlov , linux-sound@vger.kernel.org, Valentin Obst , linux-kselftest@vger.kernel.org, LKML , llvm@lists.linux.dev Subject: Re: [PATCH v2] selftests/alsa: missing a return value in unused dump_config_tree() In-Reply-To: References: <20240505210824.55392-1-jhubbard@nvidia.com> <875xvrif0c.wl-tiwai@suse.de> 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 [-1.80 / 50.00]; BAYES_HAM(-3.00)[100.00%]; SUSPICIOUS_RECIPS(1.50)[]; MID_CONTAINS_FROM(1.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.20)[-1.000]; MIME_GOOD(-0.10)[text/plain]; TAGGED_RCPT(0.00)[]; RCPT_COUNT_TWELVE(0.00)[12]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_TLS_ALL(0.00)[]; ARC_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVRCPT(0.00)[gmail.com]; DKIM_SIGNED(0.00)[suse.de:s=susede2_rsa,suse.de:s=susede2_ed25519]; FROM_HAS_DN(0.00)[]; FREEMAIL_CC(0.00)[suse.de,nvidia.com,kernel.org,suse.com,gmail.com,vger.kernel.org,valentinobst.de,lists.linux.dev]; TO_DN_SOME(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FUZZY_BLOCKED(0.00)[rspamd.com]; DBL_BLOCKED_OPENRESOLVER(0.00)[nvidia.com:email,imap1.dmz-prg2.suse.org:helo,imap1.dmz-prg2.suse.org:rdns] X-Spam-Score: -1.80 X-Spam-Flag: NO On Mon, 06 May 2024 09:27:38 +0200, Jaroslav Kysela wrote: > > On 06. 05. 24 9:19, Takashi Iwai wrote: > > On Sun, 05 May 2024 23:08:24 +0200, > > John Hubbard wrote: > >> > >> dump_config_tree() is declared to return an int, but the compiler cannot > >> prove that it always returns any value at all. This leads to a clang > >> warning, when building via: > >> > >> make LLVM=1 -C tools/testing/selftests > >> > >> Furthermore, Mark Brown noticed that dump_config_tree() isn't even used > >> anymore, so just delete the entire function. > >> > >> Cc: Mark Brown > >> Signed-off-by: John Hubbard > > > > Thanks, applied now. > > This function is nice for debugging. I'd prefer to keep it with the fix. I'm find in either way; just submit a fix patch, then. thanks, Takashi