From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 6BE58C6FD20 for ; Fri, 24 Mar 2023 09:44:42 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id C962783EB8; Fri, 24 Mar 2023 09:44:41 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org C962783EB8 Authentication-Results: smtp1.osuosl.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=suse.de header.i=@suse.de header.a=rsa-sha256 header.s=susede2_rsa header.b=nFWvQYBn; dkim=fail reason="signature verification failed" header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=tYPCC8DM X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1gRZSLaBAQYO; Fri, 24 Mar 2023 09:44:41 +0000 (UTC) Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [IPv6:2605:bc80:3010:104::8cd3:938]) by smtp1.osuosl.org (Postfix) with ESMTPS id 9675383D27; Fri, 24 Mar 2023 09:44:40 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org 9675383D27 Received: from lf-lists.osuosl.org (localhost [127.0.0.1]) by lists.linuxfoundation.org (Postfix) with ESMTP id 7081AC0035; Fri, 24 Mar 2023 09:44:40 +0000 (UTC) Received: from smtp3.osuosl.org (smtp3.osuosl.org [IPv6:2605:bc80:3010::136]) by lists.linuxfoundation.org (Postfix) with ESMTP id 0620AC0032 for ; Fri, 24 Mar 2023 09:44:39 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id CE8D0615AD for ; Fri, 24 Mar 2023 09:44:38 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org CE8D0615AD Authentication-Results: smtp3.osuosl.org; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.a=rsa-sha256 header.s=susede2_rsa header.b=nFWvQYBn; dkim=pass header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=tYPCC8DM X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id AL7tw4l0PCEo for ; Fri, 24 Mar 2023 09:44:34 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.8.0 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org 4201660E24 Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by smtp3.osuosl.org (Postfix) with ESMTPS id 4201660E24 for ; Fri, 24 Mar 2023 09:44:34 +0000 (UTC) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id A1F5C21A31; Fri, 24 Mar 2023 09:44:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1679651070; 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=33uKntMu11Vs+rboUdjOFUJmtl0bbLHgVVH4VTx9L3k=; b=nFWvQYBnMNmQdUv88hkxq1drzzuah+misGcyQrlAA0wI8dfaO4tIlV+dDJaiwOqgnduiZ8 LsHzdK5uXh31l/FHT5uRBqtThoRzRZcFZxjvb8RbFfaJto93Sdwc2dzCe6mM/DKm/Sy/Im 6xGJLzl0L2GiwHBbyQ+X4EgrRQGN/Jk= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1679651070; 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=33uKntMu11Vs+rboUdjOFUJmtl0bbLHgVVH4VTx9L3k=; b=tYPCC8DMB2vXmka8n+YkLrk7UmKJcH5FPYi0RlU2juuWL6ro4X8SR9YH7F51cduY5L3XQp x35IOwdsna35NFBA== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 77081138ED; Fri, 24 Mar 2023 09:44:30 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id 8gZEHP5wHWS2KAAAMHmgww (envelope-from ); Fri, 24 Mar 2023 09:44:30 +0000 Date: Fri, 24 Mar 2023 10:44:29 +0100 Message-ID: <87r0te5vr6.wl-tiwai@suse.de> From: Takashi Iwai To: Alexander Heinrich Subject: Re: [PATCH] kselftest/alsa: Fix -Wformat compiler warnings In-Reply-To: <87sfdu5vsl.wl-tiwai@suse.de> References: <20230324092806.363253-1-hallo@alexanderheinrich.de> <87sfdu5vsl.wl-tiwai@suse.de> User-Agent: Wanderlust/2.15.9 (Almost Unreal) Emacs/27.2 Mule/6.0 MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Cc: shuah@kernel.org, tiwai@suse.com, perex@perex.cz, broonie@kernel.org, linux-kselftest@vger.kernel.org, linux-kernel-mentees@lists.linuxfoundation.org X-BeenThere: linux-kernel-mentees@lists.linuxfoundation.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: linux-kernel-mentees-bounces@lists.linuxfoundation.org Sender: "Linux-kernel-mentees" On Fri, 24 Mar 2023 10:43:38 +0100, Takashi Iwai wrote: > > On Fri, 24 Mar 2023 10:28:06 +0100, > Alexander Heinrich wrote: > > > > I noticed some -Wformat compiler warnings in pcm-test.c while building > > kselftest, fix them by using the same types for format specifier and arguments. > > > > Signed-off-by: Alexander Heinrich > > Those variables (rates, channels, etc) should be rather int instead of > long, as these are not 64bit parameters on 32bit archs. > On top of that, the whole '%l' prefix and cast should be dropped. > > The only concern is the string to int conversion, and this should be > checked carefully, but other than that, it must be straightforward. > > Care to work on that way? ... and the code has been already changed meanwhile. Please work on for-next branch of my sound.git tree. thanks, Takashi _______________________________________________ Linux-kernel-mentees mailing list Linux-kernel-mentees@lists.linuxfoundation.org https://lists.linuxfoundation.org/mailman/listinfo/linux-kernel-mentees