From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from omta40.uswest2.a.cloudfilter.net (omta40.uswest2.a.cloudfilter.net [35.89.44.39]) (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 739FD1531C5 for ; Sun, 10 Nov 2024 21:06:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=35.89.44.39 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731272815; cv=none; b=JJXWrpymqYpDV/3+dRgsCn0NO7bKSHJQwoUV5Hx9uj40zBS7MuXnVe2UkvD1+den6vuQhs3LcTEMk1aK67Bg9aWhYIexQvULQyYFneDZwxzzRr7ZJbEF+KKenmQNs+FQgetfwuxXa61pT84qKymkA6Ese7L8qTi1UuVeKtpEiYQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731272815; c=relaxed/simple; bh=RoImXjp7MGcwr2e4G5suORPS+HAf6mNHd56YA4Mr25Q=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=d5ZyL8DrJ14rO2JbJi21dK6DdkSuc0C6EuQ1ZhYSpUTP/ZNZvXYT7eo38/MmARb6RMAbC899gC4i0a7sruxfxmxnYSSoItKI87yG1xZjegsubH7V75dmdifZYv60dBl5JA+MOccDfpcH8nTEM3kQsDpOhkXR6x/GmkFbAgD7nas= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=embeddedor.com; spf=pass smtp.mailfrom=embeddedor.com; dkim=pass (2048-bit key) header.d=embeddedor.com header.i=@embeddedor.com header.b=NAy9tZrN; arc=none smtp.client-ip=35.89.44.39 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=embeddedor.com header.i=@embeddedor.com header.b="NAy9tZrN" Received: from eig-obgw-5001a.ext.cloudfilter.net ([10.0.29.139]) by cmsmtp with ESMTPS id A0FptTenNvH7lAF8wt0IYg; Sun, 10 Nov 2024 21:06:47 +0000 Received: from gator4166.hostgator.com ([108.167.133.22]) by cmsmtp with ESMTPS id AF8vtpDnXmNYjAF8wtHCtK; Sun, 10 Nov 2024 21:06:46 +0000 X-Authority-Analysis: v=2.4 cv=fb9myFQF c=1 sm=1 tr=0 ts=67312066 a=1YbLdUo/zbTtOZ3uB5T3HA==:117 a=GtNDhlRIH4u8wNL3EA3KcA==:17 a=IkcTkHD0fZMA:10 a=VlfZXiiP6vEA:10 a=7T7KSl7uo7wA:10 a=-Klr6mLr8pg6UDE4wXQA:9 a=QEXdDO2ut3YA:10 a=Xt_RvD8W3m28Mn_h3AK8:22 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=o0adg+1j4txtlNvaOHyqcPDOTVdpAEqtR1MV+0wO+Sw=; b=NAy9tZrNaniaQh4hyIvSgpyzDD V0XirQl0MX+kQO9HdMzmjwyDcuYiVYhWWBm7H0zgEbRnZhkSnVMu62462gQ5QXUpeFJiV+Y/xEdh6 Bp6h2z+SUg1wBOadFIbo/gwBlbVEXo27RyB2RCRQlZ2fnytt0VhMYHo6zjX6ZgupvjBL8U1CPYeOr dxOJZu94C5VPzZAui9oiek7Jev3VBlRjoV8eKk0oPN4UCvDpwCb0pE+e702ndeRHq32NL9uVVvigE bKjVpDI0N62+j4AS/937s73ndjDHobyxriVuAsR2XLP8k3C9rdGpN0qrUU6DpGMYB30QW5yxRYSFZ VqUsM5sQ==; Received: from [177.238.21.80] (port=43976 helo=[192.168.0.21]) by gator4166.hostgator.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96.2) (envelope-from ) id 1tAF8v-0045Jd-02; Sun, 10 Nov 2024 15:06:45 -0600 Message-ID: <8bc69322-f630-4235-9ee0-501e02623dd7@embeddedor.com> Date: Sun, 10 Nov 2024 15:06:35 -0600 Precedence: bulk X-Mailing-List: linux-scsi@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] scsi: Replace zero-length array with flexible array member To: Thorsten Blum , Lee Duncan , Chris Leech , Mike Christie , "James E.J. Bottomley" , "Martin K. Petersen" Cc: oe-kbuild-all@lists.linux.dev, linux-hardening@vger.kernel.org, open-iscsi@googlegroups.com, linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org References: <20241110151749.3311-2-thorsten.blum@linux.dev> <202411110336.IDRXgcR4-lkp@intel.com> Content-Language: en-US From: "Gustavo A. R. Silva" In-Reply-To: <202411110336.IDRXgcR4-lkp@intel.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: 177.238.21.80 X-Source-L: No X-Exim-ID: 1tAF8v-0045Jd-02 X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: ([192.168.0.21]) [177.238.21.80]:43976 X-Source-Auth: gustavo@embeddedor.com X-Email-Count: 2 X-Org: HG=hgshared;ORG=hostgator; X-Source-Cap: Z3V6aWRpbmU7Z3V6aWRpbmU7Z2F0b3I0MTY2Lmhvc3RnYXRvci5jb20= X-Local-Domain: yes X-CMAE-Envelope: MS4xfPlYpBvQJFywJHzxGbKPfIx+/fyQJghYffahDz5uT1Vco7xmHXKxk88GMFgjFw6RLecgiOVRjnKBMrsUDsi3UhqwAGgYn5dCkPOV7gey5YGWeU7Tbt+B R3TfF8hRH2a3tagr4r9hVMPRDEzkqyepgHZa/A3c/QPI1dZihTv+tNOb9PJctVBahwlHc7XB4W6M6RxzTz9A7RZQQzoKyApJrFVTFhgyq7sMw0SqoGxJIeeM > In file included from drivers/scsi/scsi_transport_iscsi.c:23: >>> include/scsi/scsi_bsg_iscsi.h:62:18: error: flexible array member in a struct with no named members > 62 | uint32_t vendor_rsp[]; > | ^~~~~~~~~~ This won't be an issue in the near future, but for now just use DECLARE_FLEX_ARRAY(). Thanks -- Gustavo