Received: by 2002:ab2:7b86:0:b0:1f7:5705:b850 with SMTP id q6csp1120855lqh; Sun, 5 May 2024 18:04:25 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX9ym9C4Ywgwm1XNxrryqGzCS2fY5FC6XwtThno8KYydxNDchEOFxy1e2QayTfsjyrqOlktZikQvmo//qbfCNHnSXgx1Geq7jsW0f0Hew== X-Google-Smtp-Source: AGHT+IEZHLLNn7jfV/l33qxla23TImooWe5qvHBtVowHTijHcmor2wFhhtdRsa9YGbEwZ7RRsh7O X-Received: by 2002:a05:6358:2783:b0:186:bfc6:f329 with SMTP id l3-20020a056358278300b00186bfc6f329mr11248577rwb.21.1714957464724; Sun, 05 May 2024 18:04:24 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714957464; cv=pass; d=google.com; s=arc-20160816; b=oL+Xb9wka2zBgM2Yt8viyPhFVLuIGYBVmPZVIxZviT5ATI+nmSHrF7SKwR2pjNxbLX 73rF3F6vadsD1YqeUbn7dPs9/bl5cpV03Drg9qE3zAPuvSfcjLZUqn0wm9NifZvxB/r+ J/QNTTiVPbEqiCOczC3ggxf+ZdGUr1F1IGZgBEnyllkFCTl5iTZm//cTd32TRKDzAtdN zBNkhnRFNYONhxN3vrlnAh7WRXHEeGmM7KdJN0NliMwZyOGTdQF0jo0+5ioAqechnu1U L7jNLspO7r2BfZ7erfiAa18jZDQxDlU7FBSaH4YBqXKoFQZVqn8beI/0miEAOCACyqZq alcg== 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=e8Ln3dhnFOCI3e1b4liuqloFPVZcVU6YxC+ZZ6X2qfQ=; fh=2pffZUcYEFM9oTIGfP+NPd2A6e8Mhrq/lzmpq30DQEM=; b=Wnk+hdBobRLvIkbd2zCv5+MwLls7sWey7xftJaFZHU4vLaGElfJdinbMsQzt78PFIt 7vYZ5Xzk33tmu/5RRygL8hLONVDbETP6YGsDeNn3h8isvN9nPQKI8T5YGQQq6pRs2S5W v2/UxVEqldiozSrFRIA06/l4+86mZQV+8/Bf6dkg8lgRH/3OEqiohBXREjp1q4NIWdER ySA1Kro8mMwPUfe5XvS64TR/0lve9/E9wyRgz04iSM83gj0vlrMxAWDFlSuQsYZuX+sW jrTJBJTbj1VeYCdlyJRydW9f/y4tO4ejOCXTrVJwj0WsR/oWYCyxr8HIuWZ8d3qZfr2m xhTA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=E2iUXrdj; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-169217-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-169217-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id s22-20020a656916000000b005f42737e21bsi6568918pgq.551.2024.05.05.18.04.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 May 2024 18:04:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-169217-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=E2iUXrdj; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-169217-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-169217-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id E11A0B2114C for ; Mon, 6 May 2024 01:04:20 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 213BB3BBD2; Mon, 6 May 2024 01:04:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="E2iUXrdj" 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 356D96FBF; Mon, 6 May 2024 01:04:12 +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=1714957453; cv=none; b=JsqmIENJgc07NIfmvtpDgXHGF4SACzlJB8wrMoCz4V+S5bRoGPqbTKRtFuFDtoFB3WYpvOjlFIJGLsN3I//CjDpK0H+PEUZSwjHRyQ3fawzPhZThOW1BH9pVOiwkHT08zfHgOa3z0aCtDRH+Vv4EwWoh0DwiMZIVtvkMM/tudlE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714957453; c=relaxed/simple; bh=e8Ln3dhnFOCI3e1b4liuqloFPVZcVU6YxC+ZZ6X2qfQ=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Xwc2dZmoys6KuDWifsNGvVNJspsm9+VCeRS8qVpfhX0+Saf3yOU0Rrf2ypiIjR2D30yHCwuETtHz1jHFO/kx3GqElEvMfh0PUcbf9UyoBx1XIwriGBSLPV8PqOhDGyLH7XcG873aBrWAxhEO0T/aixMcQ+bQGTbbN1yLXjqlCTs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=E2iUXrdj; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 51546C113CC; Mon, 6 May 2024 01:04:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1714957452; bh=e8Ln3dhnFOCI3e1b4liuqloFPVZcVU6YxC+ZZ6X2qfQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=E2iUXrdjYuFfvI3JVMZ9QNpg/0z304BZiJsA6YeKcrQM2kpZOR/D5bG5WUXCjltJE akqwSoQL6Y+VmCHr7hpClSmmbqdStLScJ0/LSwyFM0JwgtzVdXSG7U5BeMA7huOMiq dNlxK25C/M9qDvjub7Y3ypov0gq8iwW2ITWisXe7048WfkyLEssZVZItO0bEEwhDgD S6T061Fw+JRFzJKBA/s8HSwj60TmcKm++TzDY0Sj0Tm7/S1HUalyg/vuRm96FPGxBO l5dXV+oPslPV0DNt935OVP7C/BfdLB4FL9+V4Pv2mC1JS+RrUNF1mgsPQRYwpEg/cc XtOPko3qHb4oA== Date: Mon, 6 May 2024 10:04:10 +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 v2] selftests/alsa: missing a return value in unused dump_config_tree() Message-ID: References: <20240505210824.55392-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="eNuCm8UHobnPoTER" Content-Disposition: inline In-Reply-To: <20240505210824.55392-1-jhubbard@nvidia.com> X-Cookie: lisp, v.: --eNuCm8UHobnPoTER Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Sun, May 05, 2024 at 02:08:24PM -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: Reviewed-by: Mark Brown --eNuCm8UHobnPoTER Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmY4LIkACgkQJNaLcl1U h9CbRwf/RcIfn4u/3939fWwPxWV0FycUfvXIUHgDs6t8+qn0IEQq0/II1u0bb2UY 6suvq54RogqOPDUUct2cI8ZkG4bDuSMWXfrrYGuyuhaVJnqwzkrlZRcEPvNqlbhz Dg3qcd8EhKiRaGB6hu9qT/IoZU9KI1zb+CJuBwGEqzGEslucHRJcxM24GiDQbrqg fRLClsJ72OFGWYfp2xBuvfAm26JL1c23SGiqwvDAedif3ulNBkWr71uNeEwkZnzP 53Uh/BN3ZsAYvJbFzL3nOnRXxiPe0ptmXPleak75inzf4ANUcLVNeTd3G4NFB8Vj oBF6k7BH+b8qSD2N6wrLJJMCiB4LrA== =Twaw -----END PGP SIGNATURE----- --eNuCm8UHobnPoTER--