Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp338749rdd; Tue, 9 Jan 2024 06:00:04 -0800 (PST) X-Google-Smtp-Source: AGHT+IFQi4liu475KO+sKqR34OlZVzjWCNDHVWw4oQkWQkZuSJyqlexA7uUJ24j5e6KbUj7fT3h3 X-Received: by 2002:ac2:47ed:0:b0:50e:7b7b:5597 with SMTP id b13-20020ac247ed000000b0050e7b7b5597mr2062925lfp.98.1704808804133; Tue, 09 Jan 2024 06:00:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704808804; cv=none; d=google.com; s=arc-20160816; b=S4VWYtKOmw/CWxej9UXvVeWVeLS9Bhpy/9j4dOuonNj/iuuauh9VDv8ta/TSVCQimv QncY99pWe0lLPf/aKwWe9L0xN77Gxh8fiirwHfzbw65xbECfuhawJCA+SWE3JM/Mzy9c WdHoOZaiLey0b/XZZfGRyZ5a9Ysv41/R0mHFxsGk8c3nsnbZsE+kPw1dxtl/IJhUrZDs U6YlE6w5Felwkfks8ei2l73HrTnPXpMl9BJoKDoiP2SbSlzEIPZJyBNx0juBMfIl2N8b 3HjIfoveovjQ9yf/07e1Xwy2pBHcEctJG43LI7ld7YaaU4xT58t29+t68VY2wP7XNWRy 7ixw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=Y2CE/Hs6RAOXjZmVqnvf/IR9hVOQliV1xVMEpOaNeSM=; fh=brPIjY3VgmNFBOOP/V6VPz9nmvMXHlhiPFAfNGiy4yA=; b=K9SWmQJHBV58MC3sjJlY/MBrEOdjQdW13deYoZ0E4Ik4kh7mLR524/NngQMzp2ERNO pjI4h6ziua1g8utvC7alHirh8TmaLYxwNt309LRjMAuz2MErdPYA98992vxBeUeGIMCD X8GLzR2y5N1ylJMTqqxUM7Tix0a75/J9Rmr63o0F90L7xSamfYOAVcbf6/fBXMrTZXGh ctCnUl6s3icoJFDC9qfm7uJL6JkezWbjOY2wL/7cdlvRtjxG+RHbToHJaY6edt9QxLVA xV9IQGd62XZV09OycgEPoKkc03hxc79nC1Y4PNdPlx0uxn93WUcz3jM3ovV6O9ddYA1R E4JA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@embeddedor.com header.s=default header.b=r5WFhP2+; spf=pass (google.com: domain of linux-kernel+bounces-20928-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-20928-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id oy5-20020a170907104500b00a235f78b047si808635ejb.537.2024.01.09.06.00.04 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Jan 2024 06:00:04 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-20928-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=fail header.i=@embeddedor.com header.s=default header.b=r5WFhP2+; spf=pass (google.com: domain of linux-kernel+bounces-20928-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-20928-linux.lists.archive=gmail.com@vger.kernel.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 am.mirrors.kernel.org (Postfix) with ESMTPS id D9E131F243FB for ; Tue, 9 Jan 2024 14:00:03 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E55FB39ACC; Tue, 9 Jan 2024 13:59:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=embeddedor.com header.i=@embeddedor.com header.b="r5WFhP2+" Received: from omta34.uswest2.a.cloudfilter.net (omta34.uswest2.a.cloudfilter.net [35.89.44.33]) (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 BDB5239AC6 for ; Tue, 9 Jan 2024 13:59:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=embeddedor.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=embeddedor.com Received: from eig-obgw-5002a.ext.cloudfilter.net ([10.0.29.215]) by cmsmtp with ESMTPS id MzXHrV7oaMVQiNCdoroaFF; Tue, 09 Jan 2024 13:59:40 +0000 Received: from gator4166.hostgator.com ([108.167.133.22]) by cmsmtp with ESMTPS id NCdnrxEC9BnVCNCdnr6I5B; Tue, 09 Jan 2024 13:59:39 +0000 X-Authority-Analysis: v=2.4 cv=H+TIfsUi c=1 sm=1 tr=0 ts=659d514b a=1YbLdUo/zbTtOZ3uB5T3HA==:117 a=GfQleyYEO+cc22AUyTT7qQ==:17 a=OWjo9vPv0XrRhIrVQ50Ab3nP57M=:19 a=dLZJa+xiwSxG16/P+YVxDGlgEgI=:19 a=IkcTkHD0fZMA:10 a=dEuoMetlWLkA:10 a=wYkD_t78qR0A:10 a=jCw2ex66E_5x05uIvzYA:9 a=QEXdDO2ut3YA:10 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=embeddedor.com; s=default; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:From:References:Cc:To:Subject:MIME-Version:Date:Message-ID:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=Y2CE/Hs6RAOXjZmVqnvf/IR9hVOQliV1xVMEpOaNeSM=; b=r5WFhP2+75l5rixF+KzySrozXk Em5yzbvm+7Ph8FfkFi1jYJqU1p7OjImbmmn69lEkRzQGLCpnX0ZjBI5fyeVORQXekDp1QsE3VejGI LDIOp1zMKjqde7+a+sAeVwIE4zjQhornHY4VzgVxDmefdWOAWfZjDOLpRLjJoVpVG2jACjt59CiQ6 A3U1GJ+betZgIhQjgCJRuelB5T6k5a1udLstM3MifyPgChl79UZcp7KtdRawCN4eobptrE6RKaMqj PcwOgDWaPUOuMeQTvEjB+zO+VgD6l9SQh0xr3CvsOz3fFOUG2YmqB18aVcIxkabyyh5IurA2tNG/g XigtOfQw==; Received: from 187.184.157.186.cable.dyn.cableonline.com.mx ([187.184.157.186]:12259 helo=[192.168.0.10]) by gator4166.hostgator.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96.2) (envelope-from ) id 1rNCdl-004NMd-01; Tue, 09 Jan 2024 07:59:37 -0600 Message-ID: Date: Tue, 9 Jan 2024 07:59:33 -0600 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][next] media: venus: hfi_cmds: Replace one-element array with flex-array member and use __counted_by Content-Language: en-US To: Sergey Senozhatsky Cc: Kees Cook , "Gustavo A. R. Silva" , Stanimir Varbanov , Vikash Garodia , Bryan O'Donoghue , Andy Gross , Bjorn Andersson , Konrad Dybcio , Mauro Carvalho Chehab , linux-media@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-hardening@vger.kernel.org References: <202310091252.660CFA9@keescook> <20240109124026.GA1012017@google.com> <20240109132831.GD1012017@google.com> From: "Gustavo A. R. Silva" In-Reply-To: <20240109132831.GD1012017@google.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - gator4166.hostgator.com X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - embeddedor.com X-BWhitelist: no X-Source-IP: 187.184.157.186 X-Source-L: No X-Exim-ID: 1rNCdl-004NMd-01 X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: 187.184.157.186.cable.dyn.cableonline.com.mx ([192.168.0.10]) [187.184.157.186]:12259 X-Source-Auth: gustavo@embeddedor.com X-Email-Count: 16 X-Org: HG=hgshared;ORG=hostgator; X-Source-Cap: Z3V6aWRpbmU7Z3V6aWRpbmU7Z2F0b3I0MTY2Lmhvc3RnYXRvci5jb20= X-Local-Domain: yes X-CMAE-Envelope: MS4xfA+n4e/tHarmwJ3H7d1CHd/3n3h6IWpwEOGiqO6BTaxj3jUrHZQWEXt2elDDTLWELdRtYBlvcrivVrdh/hU5Wywquc9+B575c3hDT198le3eEKzifVPt oy17bMEZzAOHOKQAT0UyX/yCD3Ao42k0HynHWh5WZOItbUayTDkh/DL++0K9nAYofzyjI8MkJOZCRuYlgplLPXS02hwUt5kfUlLmGtsTy9uzZ5QrpBOb22yh On 1/9/24 07:28, Sergey Senozhatsky wrote: > On (24/01/09 07:17), Gustavo A. R. Silva wrote: >> >>> Sorry for shameless plug, a quick question: has any compiler implemented >>> support for counted_by() at this point? >>> >> >> Not yet. And at least for GCC, it's expected to be released in v15. > > I see. Thank you. > > I got confused by include/linux/compiler_attributes.h comment, as I'm on > clang-18 currently, seems that we need to bump min compilers version. Ah yes, compiler devs have been running into some issues, and they had to postpone the release of the attribute. > Oh, and clang link 404-s on me. I'll send a quick patch, I guess. > You're right, ick! -- Gustavo