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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 46B29C433F5 for ; Sun, 6 Feb 2022 12:08:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235323AbiBFMIf (ORCPT ); Sun, 6 Feb 2022 07:08:35 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46528 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230450AbiBFMIb (ORCPT ); Sun, 6 Feb 2022 07:08:31 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ADDC8C06173B for ; Sun, 6 Feb 2022 04:08:30 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 4DE78B80DFF for ; Sun, 6 Feb 2022 12:08:29 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id CA4D1C340E9; Sun, 6 Feb 2022 12:08:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1644149307; bh=pRouC042hZRmL8TGaO0qazAzwylRGIQ4wlGW4eABWKI=; h=Date:From:To:Cc:Subject:From; b=RhObMopuznLQRlO93xeUevqneBxrx5vps6yMiW6/TjYDSVGfyBGErLXvl5sSo0UY3 17T7R6ywVf7lu6Ov7ZLx4xgWfJMmApVWvV0YmRwAzVTRwyK5HNkmMwC9pWPQZBZf6Q pZFfJOBmCUJpxjHNWtQXB6JIIRZ6juXQbWg4O8xQhFATrX7vrdBLcdBqFL2QvlfZ+G Z9IMMVnMBapZLcBhoQWP+rneyIgwgRw/pLJJxWtzHM5AvrOJRSaoWLLhNn0wSlkutp 6jDKlnrgtLoE/zTBnIEWRszd9HwDKfx65wKcbCG84OS0euP/qvSxHmd5yvdal4naMH HZWw4tr87wT7w== Received: by quaco.ghostprotocols.net (Postfix, from userid 1000) id E08C3404A6; Sun, 6 Feb 2022 09:08:25 -0300 (-03) Date: Sun, 6 Feb 2022 09:08:25 -0300 From: Arnaldo Carvalho de Melo To: Takashi Iwai Cc: Dmitry Osipenko , Mark Brown , Linux Kernel Mailing List Subject: [PATCH 1/1] tools include UAPI: Sync sound/asound.h copy with the kernel sources Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Just FYI I'm carrying this in the perf tools tree. - Arnaldo --- Picking the changes from: 06feec6005c9d950 ("ASoC: hdmi-codec: Fix OOB memory accesses") Which entails no changes in the tooling side as it doesn't introduce new SNDRV_PCM_IOCTL_ ioctls. To silence this perf tools build warning: Warning: Kernel ABI header at 'tools/include/uapi/sound/asound.h' differs from latest version at 'include/uapi/sound/asound.h' diff -u tools/include/uapi/sound/asound.h include/uapi/sound/asound.h Cc: Dmitry Osipenko Cc: Mark Brown Cc: Takashi Iwai Link: https://lore.kernel.org/lkml/ Signed-off-by: Arnaldo Carvalho de Melo --- tools/include/uapi/sound/asound.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/include/uapi/sound/asound.h b/tools/include/uapi/sound/asound.h index ef0cafe295b28253..2d3e5df39a59eeec 100644 --- a/tools/include/uapi/sound/asound.h +++ b/tools/include/uapi/sound/asound.h @@ -56,8 +56,10 @@ * * ****************************************************************************/ +#define AES_IEC958_STATUS_SIZE 24 + struct snd_aes_iec958 { - unsigned char status[24]; /* AES/IEC958 channel status bits */ + unsigned char status[AES_IEC958_STATUS_SIZE]; /* AES/IEC958 channel status bits */ unsigned char subcode[147]; /* AES/IEC958 subcode bits */ unsigned char pad; /* nothing */ unsigned char dig_subframe[4]; /* AES/IEC958 subframe bits */ -- 2.34.1