Received: by 2002:a05:7412:98c1:b0:fa:551:50a7 with SMTP id kc1csp1192175rdb; Sun, 7 Jan 2024 07:41:17 -0800 (PST) X-Google-Smtp-Source: AGHT+IHFPKr7GNNDNiz5Jovz8DEY8thG4AWNfIEU5kH5ThdhEWuX8u44pOMybe8BI8XS7Q/h5j8M X-Received: by 2002:a50:9ead:0:b0:557:1a73:c91d with SMTP id a42-20020a509ead000000b005571a73c91dmr1244399edf.9.1704642077154; Sun, 07 Jan 2024 07:41:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704642077; cv=none; d=google.com; s=arc-20160816; b=vZ7KUiStD3BWuti237GXdWn+gPeTXFmHz2pS1rN1poHvAwe2rrNWmy4oHw5PPh289b oBH3vWHMCC8uBUYsrqD27fcTDd5WrNFVbMF9mD8Mxi5Vyy8lspfDOG7l0wWIPtj3FQ8c IE0SSDHhFOt1IhYrLzPxgAtw3jqEZ81yzMO2Dylsmbdb5Qadq6iCIs6h1M1luP4c7LrR vT+p5BhjXxvEtHqqX+K3+fOlbK//oQV9/g97sXMeO8VGZ9UFUmcjtF16d2lxy8nW9vOF 2ZCw2/U90pM4apYVafL6ytnqv51h9//ADKiWS7QFpwK+H7bpyPWwr5LjTfiXVsngJQnc QnYA== ARC-Message-Signature: i=1; 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=b5IPFca1k6M9ZE7sffvcustuaTe1kjphSXHlrZS3BKY=; fh=QIdFWm/SORLNXgsCuXAf6k0uqkACWxAHNsTaWQ2oQyQ=; b=zI7vqHw5BaOe0Gf9hClETs8Yy7URHcC3HuXV/AZOl9KtWb8+nL8q9pUwNUnYowH4by nzlzkoCttXj+psveoAWBdq6MCIk36YROakUtxIDffReV1h1m4U6unFIIA4sqfNmjdvns whb0h+0bh/OHO7jxPqrZZWtrRQVMX5iNFvDUukWJUC9NhegsXAHOvw5sRwZ9SKr6u9+E JnbqeY0YsBLOIATFSpBgm5CbOdIaUtbZcabftMwjFwhbTdazvxJAze1uz1Qe8AKmYeq6 cz63xyWN4BlOBkveGNSpl/5CFG2kOiLScpW8Ip+rQ8xQFU/i/9RST0p7Ug8BY36j+ImG KItw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Dj6aVDKs; spf=pass (google.com: domain of linux-kernel+bounces-18896-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-18896-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id y15-20020a056402270f00b00553ffeb0bd4si2383549edd.503.2024.01.07.07.41.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 07 Jan 2024 07:41:17 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-18896-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=@kernel.org header.s=k20201202 header.b=Dj6aVDKs; spf=pass (google.com: domain of linux-kernel+bounces-18896-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-18896-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 am.mirrors.kernel.org (Postfix) with ESMTPS id C98A51F22DC0 for ; Sun, 7 Jan 2024 15:34:03 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B682D13AC6; Sun, 7 Jan 2024 15:33:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Dj6aVDKs" X-Original-To: linux-kernel@vger.kernel.org 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 D71BA13AC3; Sun, 7 Jan 2024 15:33:53 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 99930C433C8; Sun, 7 Jan 2024 15:33:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1704641633; bh=uXq3aMV2PGcT8PQ61nObhq47B6rlF6lYCCII84WlvsA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Dj6aVDKsL+AvLdpcHsZ85qUGYRwoZmtPnd0KxMw37E3vZCLTlXIh9KA4skCN297R4 OjcHoxj4HpKRy0umxAv3CXPnier8kN5gpm7rbJ5zTrLA5tZcOGSdDVMr3K62NEUhUb PV81wS+G7YEwe60JmcyIDli3nJlxFuu4mfpuG5Y2AcfdamGIHKdUP/Oz6LKXYU9Ynh Lree3OZJxb39etSq+3jL03E1AAJkfpmdmROaQm28eyGjdm+VJqxsNULPE+8yN1zReT tzTiajNlDRGwSvff/yRlQEPYNqB60cyTDhiilfG7BzX8oIDCoPi5ktNtCVPi581JYc EOUqkCbkRy+6Q== Date: Sun, 7 Jan 2024 15:33:49 +0000 From: Mark Brown To: Mirsad Todorovac Cc: =?iso-8859-1?Q?N=EDcolas_F=2E_R=2E_A=2E?= Prado , linux-sound@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, Jaroslav Kysela , Takashi Iwai , Shuah Khan Subject: Re: [PATCH v1 3/4] ksellftest: alsa: Fix the printf format specifier to unsigned int Message-ID: References: <20240107151218.933806-1-mirsad.todorovac@alu.unizg.hr> <20240107151218.933806-4-mirsad.todorovac@alu.unizg.hr> 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="p9mm3phoO9jkv5GJ" Content-Disposition: inline In-Reply-To: <20240107151218.933806-4-mirsad.todorovac@alu.unizg.hr> X-Cookie: You might have mail. --p9mm3phoO9jkv5GJ Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Jan 07, 2024 at 04:12:20PM +0100, Mirsad Todorovac wrote: > mixer-test.c:350:80: warning: format =E2=80=98%ld=E2=80=99 expects argume= nt of type =E2=80=98long int=E2=80=99, \ > but argument 5 has type =E2=80=98unsigned int=E2=80=99 [-Wformat= =3D] If this is the issue then... > - ksft_print_msg("%s.%d value %ld more than item count %ld\n", > + ksft_print_msg("%s.%d value %ld more than item count %d\n", > ctl->name, index, int_val, > snd_ctl_elem_info_get_items(ctl->info)); =2E..why are we not using an unsigned format specifier here? I am very suprised this doesn't continue to warn. Please submit patches using subject lines reflecting the style for the subsystem, this makes it easier for people to identify relevant patches. Look at what existing commits in the area you're changing are doing and make sure your subject lines visually resemble what they're doing. There's no need to resubmit to fix this alone. --p9mm3phoO9jkv5GJ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmWaxF0ACgkQJNaLcl1U h9CdNQf/eSp1ZBFqDqiG3/RzhWZq0q6Cxi19N7gfrqosUu9wmJszlaYOwjkl7NIS bM5J3aQTUHrl14v/kctmvg9YokFIRRIY95EJq/4nVrx8CWHeylXMhw8LVuBjaJu1 Dm0WBl//R/lKeiqICnld9WI8xiLJ9bqNDZAGQzJSKbtsHXaB+iIE0nDL4KVniz4t C7tLJDBRnFS+i9cCGQPGq278lt0Ne4YBg+bU9lCQhCunaS8YvF4qas1w/0wYapTq Kezrn28qcEYZo2cEv/hW3dUpJCSnkTRCYrVNP18M4bWv7zbjEU4K5zuS/PRtZhU9 /mvxxSeGKCXHJvWlZRoObfbh5uK91g== =SaVm -----END PGP SIGNATURE----- --p9mm3phoO9jkv5GJ--