Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp797400pxb; Thu, 17 Feb 2022 15:10:58 -0800 (PST) X-Google-Smtp-Source: ABdhPJwgWTudUKLt5VAigKmS8cLVoE49qhzCxv9lt/D9oRH2oUhphrVN9Liu+LhZLmhQnvbw9juR X-Received: by 2002:a63:6a06:0:b0:344:252c:4063 with SMTP id f6-20020a636a06000000b00344252c4063mr4098951pgc.83.1645139457846; Thu, 17 Feb 2022 15:10:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645139457; cv=none; d=google.com; s=arc-20160816; b=e0SzMWar/JJcVbs6bkM6NzwvG+LZQKAlQnVqXIW+19DkL5ce9fGuntQPQM3MRGvtdB wXAbQDh0CM1TzxU34VEgcdNq9UMMHHRgp2vyKsNa4an7I7WjamNI8NxeGD7pEXjfTB3V bK7V7ebrsKzQiKc8P0o0fJYPBD9laCuBmLBiVlW7yW6fGEiNH5PMyNbHx907/s0fCc8P n+zkngcH2bg+9hi2Tpp4R+pLHfbJ7kkgPvEZ0XFyOJ6N4ee1BZj+XtvLa21sQ/4ykuAn x82lScj7+H9z5GNRiIhz42BzvYK7xTAE9MMw4Zpk8Q9TeVa0XRraVz3V0NDeChlJu5O6 EL3g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version:date :message-id:subject:references:in-reply-to:cc:to:from:dkim-signature; bh=FvUHreINgH4ZRwfqauSfd63IyaJZIHkj3b8FoPHGUUg=; b=KXuREaYZCvEk3/DVo9IvNyOm6Xzmvw8U5HcLRg7F7A90zHPtYkECp/Q3lGRp23mBwV vAY/s9Zl2ZbcrANWCvg6ZQLWTvCUWtqqipym2AzFC08hdQA82BHPH0XW05hpJyBV9yEG 27LNah2q+6FOeqWwK98RsLh631q71/RIpmrTtWfVkt7s/7+XcFULF3HWpTQ5cgCLufwY k1sR6jGqpSRoZLF60CvxSwzdLL8NKg1aF7I9g9N+CHuSMwxEw//zvTZF/+Uhc69+V27e SSWkJ1B0amQ+4gpntINkbL4Xu8EYmRkioJHYGgOZZDgNK/NOC+AtCpLbSZ6o9S19sFgm wcGA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Ew0EMEJt; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id x16si21888449plr.564.2022.02.17.15.10.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Feb 2022 15:10:57 -0800 (PST) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Ew0EMEJt; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 0C05424BF8; Thu, 17 Feb 2022 15:02:04 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244422AbiBQSda (ORCPT + 99 others); Thu, 17 Feb 2022 13:33:30 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:59114 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244523AbiBQSdV (ORCPT ); Thu, 17 Feb 2022 13:33:21 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5FFE86363 for ; Thu, 17 Feb 2022 10:32:24 -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 0B28DB823C5 for ; Thu, 17 Feb 2022 18:32:23 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5447CC340E8; Thu, 17 Feb 2022 18:32:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1645122741; bh=xwSCKgJCSi//NdMMY/uqE9yzCLpiaQujmlrCLYqJ29M=; h=From:To:Cc:In-Reply-To:References:Subject:Date:From; b=Ew0EMEJtVqPTC1tjTEMpaKO7aSCibLsRxhlFO4GWnj6NtQBwSyUj/cqtZ7o/9wami IJ4oJrpgwwKsN9cBs5irSLjVFEhgaoQKhaBCrbp+mAR+g8Ti67368C2hMG/+nkI2c1 HKwOdcZ2qdisPdToFP/OTLujo6tHv6Ac3B2K7V3G5sgWBtzPxhvdYevoGRmCyu6gTi /Xtnt87CydStz6RXQSCnyfZobLbG1cy8Nla+fEsjq65M4v+Mk9GZhbT8NA+5/xjTKU LggzxN5JGHvD7nxgiNzuC/mMRjCfari4eOKmhlqL2U1FMeGyqJBX+FFf/ai0kJPwTT 5kuCS929r4dwQ== From: Mark Brown To: Ranjani Sridharan , Stephen Kitt , Jaroslav Kysela , Takashi Iwai , Kai Vehmanen , Pierre-Louis Bossart , Liam Girdwood , Daniel Baluta Cc: linux-kernel@vger.kernel.org, sound-open-firmware@alsa-project.org, alsa-devel@alsa-project.org, "Gustavo A . R . Silva" In-Reply-To: <20220217132755.1786130-1-steve@sk2.org> References: <20220217132755.1786130-1-steve@sk2.org> Subject: Re: [PATCH] ASoC: SOF: Replace zero-length array with flexible-array member Message-Id: <164512273904.3993052.15786188783009967860.b4-ty@kernel.org> Date: Thu, 17 Feb 2022 18:32:19 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 17 Feb 2022 14:27:55 +0100, Stephen Kitt wrote: > There is a regular need in the kernel to provide a way to declare having > a dynamically sized set of trailing elements in a structure. Kernel code > should always use "flexible array members"[1] for these cases. The older > style of one-element or zero-length arrays should no longer be used[2]. > > This helps with the ongoing efforts to globally enable -Warray-bounds > and get us closer to being able to tighten the FORTIFY_SOURCE routines > on memcpy(). > > [...] Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next Thanks! [1/1] ASoC: SOF: Replace zero-length array with flexible-array member commit: 4fe6a63077a6d3c143d68f6b96e4051f1d0740ac All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark