Received: by 2002:ab2:7b86:0:b0:1f7:5705:b850 with SMTP id q6csp922966lqh; Sun, 5 May 2024 07:53:58 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW25PHwVEGBmjZ5zrXls+HQr00dofbrI/M/6MFo1sVpok7ssME9T4LHEeBip0cTTE0S9VBEajuh4WrVuAFRNpXV/nhRiTgsXpZbw7+ipw== X-Google-Smtp-Source: AGHT+IHZSOwiG2+XcXHXfAyLFnfOtyQ6dA1o6daXtTfvZJabFapO3VX7M1+DkGbzRb+H6azseXQ4 X-Received: by 2002:a05:6a20:560e:b0:1a9:84f6:dcb6 with SMTP id ir14-20020a056a20560e00b001a984f6dcb6mr6962332pzc.57.1714920838082; Sun, 05 May 2024 07:53:58 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714920838; cv=pass; d=google.com; s=arc-20160816; b=Ck4bp9FJmkJKTtOde4u483OdnbIvLMg4UsT1ztU6FH4usBpWnlvIdHe6V2Fg09tqpk PqEdGdXmhVsOd66bB2URtvn7GhwxzWmI269v4iSZwFvX52p7xtP8QsZ8M2s1GkUL+ITE EMZFqbzI5SrHnQY8zwA4BIiwmn7tEfLHaCwKLI1JyJIpAcMuqnWNgTo8SUWwNS3Sul6J 43AD6KzEASV3MFzEwOiXPVHDW2KISpr//YcQd8MWkn9V83teYnAU8hpp9BD50UnMjjeD oCG6b8L6HNUx9xbb79bR/GbCSxwrF/AhioE2jPd3F4Jbn+79MU17QK2rkKDyTA3o6xrn WUNg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=gfr6J8JaI0FQSBkoFj/QKJrcZ1kMMUOIbnAK47RI06o=; fh=2pffZUcYEFM9oTIGfP+NPd2A6e8Mhrq/lzmpq30DQEM=; b=Ji/UpbmnozG7qJeaCcsuny1CriMQWDM5Fifq5ZFnVHsMdu0hrYtPjRL+4JuA+8DEYb qWfJF+PCKqI8ggm4HWdGCtjs4uWWcBuvJO2IWM14FaLFbzeNr3VnKTNgSzx8+h/064tl e2aKOB8gPbW8lx8J5t9P8uusH9IuAykbSuEFna9sQbnglZDxGAC+iFFRQvkcE3rjxwtJ sOud6ynt4rg1Ejdt3qIAC/o7FTDMN02qLbIfrZtPLILsLwUOKh38k93GayRC3CA6br+k hW7m6it+40/PHR8VsGKuGrNXbInwGnN8V21U5pSZs4gCiXmtH4jYRboYye5yDvXCuf6C J7OA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="rONx/UNK"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-169022-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-169022-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id o7-20020a170902d4c700b001eb14728648si6886302plg.539.2024.05.05.07.53.57 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 May 2024 07:53:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-169022-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="rONx/UNK"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-169022-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-169022-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 7DE8428178C for ; Sun, 5 May 2024 14:53:49 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E119836B09; Sun, 5 May 2024 14:53:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="rONx/UNK" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 09E142D044; Sun, 5 May 2024 14:53:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714920819; cv=none; b=KLlcPpyxsGO2FrI6JAOOd4yabzK4c54Wh1DZdpAYCpo3mtCCTsnGLC7OtiSR9vdYaGKvb/KW589Cc5JrxdbpaoWSrff6U+9ZxgdYXcO2gw89qp7qkrunrHzg30mrWa37BAY+Vw9z62ff4SiOgN4eMy3QqdIFspR2gXXO2Pb33TM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714920819; c=relaxed/simple; bh=gfr6J8JaI0FQSBkoFj/QKJrcZ1kMMUOIbnAK47RI06o=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=EmIsiGw1g9BUHSGWroiNhKYv53WyOcoxvDu4hqXwfCB6Y+jcLqvVzJvQzV03NMk5nIOUKxOlmxLxztU1I1Nw/yreR7jPf5hoMLevMVZ0xPYkDY3SEXjwgGek1wVYC8szULaHDN7qVW+85o76WGyuQBH89D4hMdij5y2wacHEEgA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=rONx/UNK; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 860EDC113CC; Sun, 5 May 2024 14:53:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1714920818; bh=gfr6J8JaI0FQSBkoFj/QKJrcZ1kMMUOIbnAK47RI06o=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=rONx/UNK4fw/FNu8BIef7/Qx2Wlw4fTdIijYCTe41usY7p1zpLbtpQPrGWntvqCt4 JZrpK422ntuev4jf2Re8uD5+2CSv9rQRsOabscJkzGOD9lav7Gc60718Doxjh6Mfh5 Dq7tAh95kxelOg6WlG+VZ8uaRw4J4AZ8isuh2byflT/yHOoZ0vGmPxgoBIqfA8r9DI TdrG0ZzlUYLNDRcLO++qP5gHvRJ4iMtUXZF+MeS9/d+PbLM0ok6TtKDKkOXQ6D7/bW oqz48Ll/XY8wPSvQ0+lZdVAcAXGVHvqHHFiBu5FOl9ArRbhlVQuMk4u3THA/vkPuOq HBDXDG15zQRRQ== Date: Sun, 5 May 2024 23:53:36 +0900 From: Mark Brown To: John Hubbard Cc: Shuah Khan , Jaroslav Kysela , Takashi Iwai , Ivan Orlov , linux-sound@vger.kernel.org, Valentin Obst , linux-kselftest@vger.kernel.org, LKML , llvm@lists.linux.dev Subject: Re: [PATCH] selftests/alsa: fix a build warning: return a value in all cases Message-ID: References: <20240504021330.33429-1-jhubbard@nvidia.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="FQLEYbDtCxwwEBJN" Content-Disposition: inline In-Reply-To: <20240504021330.33429-1-jhubbard@nvidia.com> X-Cookie: lisp, v.: --FQLEYbDtCxwwEBJN Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Fri, May 03, 2024 at 07:13:30PM -0700, 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: Though given that the function isn't referenced we could also just delete it. --FQLEYbDtCxwwEBJN Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmY3nXAACgkQJNaLcl1U h9DBvAf/Tmp6oAlXkJLinQYYWlHXd/+lMb0PVv5TalZyil2L+ifp0pZbyknBloWc k8NEvKofzBymkugbsGsvrTBN9E4dLl2Nr6XHPBoADVT5IQx0mrXZYd6pdyZXYil0 WaMGDMEDwMDFAkfTdVvvEntz2CRTUFNPVMzCZVmQYM3m0vCjPRY3ibI04z00SASb iHwq6VaX9lkIs4knd1XGb8amrWpABwSiZD6iE6MDmD/7xP309WkOpx9jBhy6607h PJsgk3k0mkhSTvKXoIN8HYtfIJlpHKzN9mOV2vhh9IlGG6zKa95rIWnq4iAbkTHF sxx38aBbSc9GBcSA4yHJJqFg0n6/9g== =lp+W -----END PGP SIGNATURE----- --FQLEYbDtCxwwEBJN--