Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp185474lqo; Thu, 9 May 2024 17:23:27 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXHsMZMVOgH/O4JpKdDWPt2y1GkbyqjtPA6SQENRg/z/4qecZJI07hb1k3wo0Trl4lqAXNVBxy4Z9txYnKhKacvZWQL+BbcMJ9rD9tNuQ== X-Google-Smtp-Source: AGHT+IEP3fKCWEhILn5qai/WcNNCM4AqfWgqH0rlVFjAK4pDb5JpaaicoZuN9nKFPZ9bVy1pn8wU X-Received: by 2002:a05:6214:4a8e:b0:6a0:cd5f:d8d1 with SMTP id 6a1803df08f44-6a16821471amr11376676d6.50.1715300607195; Thu, 09 May 2024 17:23:27 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715300607; cv=pass; d=google.com; s=arc-20160816; b=ZbF1QKwi1ksunQTly1s+djFKQNSO+B75x5fvIYRByTP9kaZoqupQOLCXnpNpc3Hu9O kvZ1WDJ1PSgrwOWgOEVNfCMODXKfZmZiGJkEPNWnoZmnicB2NNEL4gCY0APi19VGu/i0 zqyZ40oeSBgDdJiR44Ewl6jsEUnj4ZHO5WHx4yU18oIfQOEkr7gx94gI2uufHv6I2BBU 2bPe8O9JWDn/7lsB2dCi3tJIU6kwXY/Q+RiD0x/orPfFoah3wyBO+tIVMFDxzFhy5D+p uXg3H5vS0DxpElNXWDiDUCehUBQTcBf6t22ZeVnvYTUhfzb5OC9X+dbtgvpMulex0CGX 64eg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=pzNITf+4PlEWBPZ4UTZlbmT0Qte+yrYEKZsiFIuDIGk=; fh=XDVGo3lucUKKhh9lKoE5m4MzfbNFFCKqqvaRHXYUD8k=; b=pFHP3e6Ty+FwMQHvp8jOpxA1sma7plChowXMb308dlRfqQVyeAZpwoHuMIcKnPz7he 6KQRyNWLxEqE4GUOg46mMNlwU6Bf5lgb8IWv2GnXy5Kp3uXCbs38oFBrlWuVerfAb6C/ 1Uk321dAtG0S0RU88+/h7Nh+vG/2bt/bsjNmoVqRdlvTdgTIil4Yj0YneNZChEfM1gFP bRlxpQFDizB/zAWP87AO4xESNLFxGpHbsnxQfFtyXBcruBAPsfhPNa9WO9YpBHmRidWO vn4sO07WF3yKgWiFOwadGGZ8lh8BBR1EzXiHKgOqRtfNGx/iQPz7mjQSVHW/cC4HZomA Vz2Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=gNOhM63l; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-175132-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-175132-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id 6a1803df08f44-6a15f205744si25317936d6.155.2024.05.09.17.23.26 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 May 2024 17:23:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-175132-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=gNOhM63l; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-175132-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-175132-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 95BEC1C20935 for ; Fri, 10 May 2024 00:23:14 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6D8F118EB1; Fri, 10 May 2024 00:10:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="gNOhM63l" Received: from mail-wm1-f45.google.com (mail-wm1-f45.google.com [209.85.128.45]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9D9EA1B964 for ; Fri, 10 May 2024 00:10:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.45 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715299851; cv=none; b=AvaWnkfK2r2V2Bf2ZxnsTEt2eDzgwwCnXMa7JNzaqoBZ8+QQBxYJXqGi1XeaARc9spkmsfFDDgYHF1nNcWuhRIUhUEevSBTsvj66u3jK51bH5XuBlSgnBKbwlcSc5AZmYhMScQbbeX3NIu8/97CAARcDdWMP/1NiokUTBOWzv/M= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715299851; c=relaxed/simple; bh=pzNITf+4PlEWBPZ4UTZlbmT0Qte+yrYEKZsiFIuDIGk=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=oCBU9UkiZ7MBTifio9X9Mjdp8q3DYjiGBQO/3jjvI3QlkASRJogznvK8pJHH4j5otR3/Fg611QUwvFoFA1UmXbySAdNMNP/EVpA54xlNzvJkBdccnUxGTj8tz3jDfROX5p8pwRTWF+mHLmZ1pfasFVvoghUlGHkhN3OvoZT+V3I= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=gNOhM63l; arc=none smtp.client-ip=209.85.128.45 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-wm1-f45.google.com with SMTP id 5b1f17b1804b1-41fe54cb0e3so5806535e9.2 for ; Thu, 09 May 2024 17:10:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1715299848; x=1715904648; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=pzNITf+4PlEWBPZ4UTZlbmT0Qte+yrYEKZsiFIuDIGk=; b=gNOhM63llP6psYFDnm4yjy8Fx/cGKz93fsCXH0+0VBqtjcJhDILD6F7VL726BDvEri UY7M8vzADDhTHTE8IMvuD67vkEuy74RnLU16iV+XMgLbLLuN81eM/KOhWIhqMsujnSYr 2Tl+DOonEBfuihxmBtjmYMKwlsVOGHQU18McWGKVUlfVaz7WLJBrKxuXS+ki97JGjcno 0vzkyM1fv3sxTIG+9IwzbWFGw99IIFthdJUEtopB26eZRhGFLqT/GSGQiBcT+XnAN1QI PttEPDZL2Q647HA5T6W4y1cJ0E1MsiTgFaanweod3oIrEwKYk81Y/Isc7KV3hQcCVySs pCUg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715299848; x=1715904648; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=pzNITf+4PlEWBPZ4UTZlbmT0Qte+yrYEKZsiFIuDIGk=; b=hayOs4OyEPWvkeMa8aYhdn3w1q27izrYNsW0yk/pRiYmby0pKs5gOm361CBLNwq/bZ sOQ1b7ILkgej7XGWd8feSS+U8+Am7YWh34gyVFGz+F1iZVCgkWUleXYHjJ/t+pTwg5kt n6ql00jobogw/v7nKpLWXXz7pce4jBUmfoEXqBufn5ztXOS4bAeIBQ9bJ6jwmbf0DeFt 3ATMBeZVYQArrshFDYqPdJSUqzpOIhTdaQ2wWDlHUOhoertDFIUtcBPie2k/ysq8dKWi pudQx1advbVK2mPnFfdi4uEyZsQbdqQ6EQWtXLiKaJ7R0K9lCTj4s+GtDUSRPVtUys+J 4b2A== X-Forwarded-Encrypted: i=1; AJvYcCVGfsfpDB9yCBv2y8U/B0LZMDPeq28dDVvdZmOGjvUcIlfmwfMA8ooA4lPKUzHQMrPIE97FRymqHUG4ZT2uAIhF8Orv11+1lQGkMjqr X-Gm-Message-State: AOJu0Yw9veR9Ggk2Gk2q+8tuatRRTJJqEWWEts6SEQq6OokWXmqOY/U0 CrwJFQ3NB6apFTvF2rYmbIqufwxAWdr7okDTpuYOUf6eqizJQqdFslxCbVJt9t4= X-Received: by 2002:a05:600c:450e:b0:41e:c9ad:c729 with SMTP id 5b1f17b1804b1-41feac59d29mr8065595e9.28.1715299847935; Thu, 09 May 2024 17:10:47 -0700 (PDT) Received: from [192.168.0.3] ([176.61.106.227]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-41f881110f9sm76869405e9.37.2024.05.09.17.10.47 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 09 May 2024 17:10:47 -0700 (PDT) Message-ID: <96593105-0ca3-43c7-86da-7a059cad287f@linaro.org> Date: Fri, 10 May 2024 01:10:46 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 10/18] media: venus: Use flex array for hfi_session_release_buffer_pkt To: Bryan O'Donoghue , Ricardo Ribalda , Michael Tretter , Pengutronix Kernel Team , Mauro Carvalho Chehab , Laurent Pinchart , Michal Simek , Andy Walls , Stanimir Varbanov , Vikash Garodia , Bjorn Andersson , Konrad Dybcio Cc: linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, Hans Verkuil References: <20240507-cocci-flexarray-v2-0-7aea262cf065@chromium.org> <20240507-cocci-flexarray-v2-10-7aea262cf065@chromium.org> <284a3096-cc2d-45bf-9075-fcd1bc60a599@linaro.org> Content-Language: en-US From: Bryan O'Donoghue In-Reply-To: <284a3096-cc2d-45bf-9075-fcd1bc60a599@linaro.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 10/05/2024 00:37, Bryan O'Donoghue wrote: >> -    u32 buffer_info[1]; >> +    u32 buffer_info[]; >>   }; >>   struct hfi_session_release_resources_pkt { >> > Reviewed-by: Bryan O'Donoghue Oops no. Please don't change the size of the structure. u32 buffer_info; --- bod