Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp20982ybf; Fri, 28 Feb 2020 20:52:35 -0800 (PST) X-Google-Smtp-Source: APXvYqwIsEHI1BA2+qD5sOp4F0apkrtJh8FdHTpfQg7KBjVxiGeM3LO1HezXjOZQyoEcyCdD9i5z X-Received: by 2002:a05:6830:1492:: with SMTP id s18mr5906829otq.216.1582951954762; Fri, 28 Feb 2020 20:52:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582951954; cv=none; d=google.com; s=arc-20160816; b=ErXBwm/WSMQ3InSkj6hAH801eJbcX+Hy3z29hwXK9vkVxqN1H4Rpl9mMYhUU4R3z5u HR0gF8rU/9rUoK/qarLsz+SQkRreKpBIBZgYlpPDALT77XIxWlC4FdTzI1bYwTGzZjFk J1Ts5IzELsJTcu+hnn9ucuJ0CVFE4I2LCP8Iy9DCSOgddlGBUyepralmaya7VRmWqPiq X6aJ9biNr4MrALiDosRizRk3jkPcboMeOYfN211RIbkhCztmB/nnMid4GOlUADdpy4F9 dc0UVGFHIW30Ja+K8w0uNIh+QglvfCC53o6tHRhPSBrIaQ5Xx5+g1mn4xtNTDGia7UMm E2pQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:message-id :in-reply-to:date:references:organization:from:subject:cc:to :dkim-signature; bh=kzR9CGwA8QkKF16UH73eDglqPnsxYFUS7yPTFc3wG+Q=; b=WXIwtEKZwQinaGP1UIm7LrKq6F/nolBg3B3eFkhL1k4yleymCP1Sxdkne2x3ez5ksr x9Gk2y18vUnZUxwI6fAfzeFWE7dWXaDK43t83gcxfsT1dRcbPfJiHB+0mudiPHuEi+sz a6boRiMy9zkXybSIkR1qC+kONUy5a8UfHZWEfuI4us7X7Px22iiyFAZ2jvdJCn94u2/X q4DOpAByb08OsVmUM+E704zvCHRDv5j8wHVWanunY7b3VBH0fO/rNcYhK02X0BxF1rTi GJHWCkSZsOTCfr+6TiAnvciCM23G3U61GdH2nZLkYPyl/jbCVdREF28q/VXvliy3BFV2 fj9w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2020-01-29 header.b=sQsrTyp0; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l19si2791892otp.4.2020.02.28.20.52.23; Fri, 28 Feb 2020 20:52:34 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2020-01-29 header.b=sQsrTyp0; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726843AbgB2Ety (ORCPT + 99 others); Fri, 28 Feb 2020 23:49:54 -0500 Received: from aserp2120.oracle.com ([141.146.126.78]:53282 "EHLO aserp2120.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726046AbgB2Ety (ORCPT ); Fri, 28 Feb 2020 23:49:54 -0500 Received: from pps.filterd (aserp2120.oracle.com [127.0.0.1]) by aserp2120.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 01T4nSa0034340; Sat, 29 Feb 2020 04:49:28 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=to : cc : subject : from : references : date : in-reply-to : message-id : mime-version : content-type; s=corp-2020-01-29; bh=kzR9CGwA8QkKF16UH73eDglqPnsxYFUS7yPTFc3wG+Q=; b=sQsrTyp0UNryUPYAH0iLRkB3zVXKd7jPvMwzMVe36OFfS3fsDIZ+xOBrl+WYdVYp51Wh y1QEFQsQKduAvIvwJMr98eRx669obe6EB/hTtBE0ohnZMMYASxaVYzI0PAh16VbjV0P7 csbeDl3dD7+ZcEKi+ZhCo3v3h8aKVeqmdvi0JXipoqK6HX2WYrEcHP9mW72Hps9osHfR foVgPY99mteM6Ewzcm25KOoc0fJh+1NCrWcDGc6eJ+smX55mxgRiDrFMxEr4d2984wA5 OjcpgBysDn/TA5dLsa2zlFIF99b7saDyvFQHX+qrOALUZv7+mjYHlWx/clW0C5oHq+V3 Fw== Received: from aserp3030.oracle.com (aserp3030.oracle.com [141.146.126.71]) by aserp2120.oracle.com with ESMTP id 2yffwq8404-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sat, 29 Feb 2020 04:49:28 +0000 Received: from pps.filterd (aserp3030.oracle.com [127.0.0.1]) by aserp3030.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 01T4lhd2010921; Sat, 29 Feb 2020 04:49:27 GMT Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by aserp3030.oracle.com with ESMTP id 2yfe0d9c8n-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sat, 29 Feb 2020 04:49:27 +0000 Received: from abhmp0016.oracle.com (abhmp0016.oracle.com [141.146.116.22]) by aserv0121.oracle.com (8.14.4/8.13.8) with ESMTP id 01T4nPYo013441; Sat, 29 Feb 2020 04:49:25 GMT Received: from ca-mkp.ca.oracle.com (/10.159.214.123) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Fri, 28 Feb 2020 20:49:24 -0800 To: "Gustavo A. R. Silva" Cc: Satish Kharat , Sesidhar Baddela , Karan Tilak Kumar , "James E.J. Bottomley" , "Martin K. Petersen" , Brian King , Intel SCU Linux support , Artur Paszkiewicz , Sathya Prakash , Chaitra P B , Suganath Prabu Subramani , Lee Duncan , Chris Leech , Bart Van Assche , linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org, MPT-FusionLinux.pdl@broadcom.com, open-iscsi@googlegroups.com, linux-rdma@vger.kernel.org Subject: Re: [PATCH] scsi: Replace zero-length array with flexible-array member From: "Martin K. Petersen" Organization: Oracle Corporation References: <20200224161406.GA21454@embeddedor> Date: Fri, 28 Feb 2020 23:49:21 -0500 In-Reply-To: <20200224161406.GA21454@embeddedor> (Gustavo A. R. Silva's message of "Mon, 24 Feb 2020 10:14:06 -0600") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1.92 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9545 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 spamscore=0 mlxlogscore=619 adultscore=0 mlxscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2001150001 definitions=main-2002290033 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9545 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 lowpriorityscore=0 spamscore=0 impostorscore=0 malwarescore=0 mlxlogscore=685 mlxscore=0 suspectscore=0 phishscore=0 clxscore=1011 bulkscore=0 adultscore=0 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2001150001 definitions=main-2002290033 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Gustavo, > The current codebase makes use of the zero-length array language > extension to the C90 standard, but the preferred mechanism to declare > variable-length types such as these ones is a flexible array > member[1][2], introduced in C99: Applied to 5.7/scsi-queue, thanks. -- Martin K. Petersen Oracle Linux Engineering