From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out-188.mta0.migadu.com (out-188.mta0.migadu.com [91.218.175.188]) (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 9D71A8633F for ; Tue, 15 Apr 2025 11:52:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.188 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1744717942; cv=none; b=WWkoTy5pyP2+xSTtEVpRMAWl4xXaRcrJiCFU+6BFKan5CbU9fdtyyqKHY7MgMaCO7uoLEq6JvZW35ZYQlAuPXYs4ST3BZCn8ABBAX9bkdXVilmhRzQRfqyFMWvzv30vKm35BFUz4dr/tu3bUUvoK7h0o1v6TSI2Lcvm0eWiNFRc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1744717942; c=relaxed/simple; bh=8b0bfQREaZimBBdltlkhUYeOFXEHlvpmNAAMN4qxJxE=; h=Content-Type:Mime-Version:Subject:From:In-Reply-To:Date:Cc: Message-Id:References:To; b=tkrjYK4BbGp7ZyJ4nVS8LDvTyMGZmMmZ2Xcz1QNaW5xHEMB5btbaZA/Lau02Mvednfi36QWhfvULdfV+XIFDUznsSn90BhNPd7X+NPnI4ZMqrSz0CgK8N94e9VtSPFdiSYHobPivnVPz+lGiFmA3459oEivxScxkkcvE8VLMdZg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=YAGw2JXX; arc=none smtp.client-ip=91.218.175.188 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="YAGw2JXX" Content-Type: text/plain; charset=us-ascii DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1744717928; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=PnJzPNFb5QOe3b9DnUSOoCVI4US185ClhULrkJL+DoU=; b=YAGw2JXXNdQhkuGmu15M44i7Uv0VfSOSfplHOnBkON4UM5z5DXnDedBF43ejAkbov4p5N6 nemigiDJ92BReOcEC7ls8Z63tP7JDaPz45SMKVnY31Xs97TW6f+GmOnYsjgNruafMPy8Vb Gfk11BXa6E3pOEZtK9fiom0BuFoIimg= Precedence: bulk X-Mailing-List: linux-sound@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3776.700.51.11.2\)) Subject: Re: [PATCH] ASoC: cs-amp-lib: Annotate struct cirrus_amp_efi_data with __counted_by() X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Thorsten Blum In-Reply-To: <9a0595a3-00c0-4006-bd54-99b938ee95bd@sirena.org.uk> Date: Tue, 15 Apr 2025 13:51:54 +0200 Cc: David Rhodes , Richard Fitzgerald , Jaroslav Kysela , Takashi Iwai , Kees Cook , "Gustavo A. R. Silva" , linux-sound@vger.kernel.org, patches@opensource.cirrus.com, linux-kernel@vger.kernel.org, linux-hardening@vger.kernel.org Content-Transfer-Encoding: 7bit Message-Id: References: <20250415090354.92211-2-thorsten.blum@linux.dev> <9a0595a3-00c0-4006-bd54-99b938ee95bd@sirena.org.uk> To: Mark Brown X-Migadu-Flow: FLOW_OUT On 15. Apr 2025, at 12:56, Mark Brown wrote: > On Tue, Apr 15, 2025 at 11:03:55AM +0200, Thorsten Blum wrote: >> Add the __counted_by() compiler attribute to the flexible array member >> 'data' to improve access bounds-checking via CONFIG_UBSAN_BOUNDS and >> CONFIG_FORTIFY_SOURCE. > > As documented in submitting-patches.rst please send patches to the > maintainers for the code you would like to change. The normal kernel > workflow is that people apply patches from their inboxes, if they aren't > copied they are likely to not see the patch at all and it is much more > difficult to apply patches. I just use whatever scripts/get_maintainer.pl outputs. Maybe the MAINTAINERS file should be updated? Best, Thorsten