Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp2380084ybk; Mon, 11 May 2020 20:30:41 -0700 (PDT) X-Google-Smtp-Source: APiQypLhKOGID74G5U66spg+0XbrH4PObdJ2RM04UmGuZZSFiFs+f8NaL7F6mNAUHkww5lJ5m3hc X-Received: by 2002:a17:906:748c:: with SMTP id e12mr15504892ejl.375.1589254241656; Mon, 11 May 2020 20:30:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589254241; cv=none; d=google.com; s=arc-20160816; b=Y/netRhef0nZzYdJgm4FP2RLmPU3iU9P5JIScvKIKFvL6v1MGzn/o74q8H02+EoN2J DhwpFUQ9DBwMF0DvVg6ImnmXzXkHBnVsOHNcv89l7Zde9Ekr0XLWrKICPyUmOVhoSXo4 2QDNpzgZa9z+CZTy3SRgGG0TDRANVLN8s0mkdgEOX5sExqL8XmBcFPejsBu7LYBoEmBY Yhxr2J9hTVBwjJTgaSEYns29dmoQq3jzhU7G4eVoivgx8dvDQNjX+REIsv8ndeeMAKKp 9sRMx4GH8ltyfhx4PKGYQhH0X6rnI/K+NV38zqQpd1Q7q6JWTn6JhKYjNS7Cxaqu++ls dXLQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=9vyTDBtmAZzufdi8K/i1nWRvrNIE3ofFmBBIEvSA+6U=; b=O44hNPFKYbLtbknmOHn+wv557WmEGhpfOMe1CKsbfyKcyHQ/QABHsmoHGbeVwpX454 /lspO5CZy/uOlgU0UwNRBV4ey8rFlWedsgfZ6TeGRNASWRqdF+v2KCnd1fT4AhDLBuV5 IDZNqY+mcQFYTLzSqEEP30gnyAyqCsBCDGdkXW/En2uxyHQoTPc0OhROTR9PrpgAE339 oXY/bDhhIritIG436btBYIJYDGXXmzU2aRBloJVIo1OL6hr5IQ0zOcelw9vUj2NvZ36z LprqbqpkkewUkzQ7FTJ6ppWZcNOQEbrfbz15Sb5V9LSvqbxPpPmr6eGPrbrPxqPsfeRs o0zA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2020-01-29 header.b=p7OTze74; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id l6si3308924ejx.387.2020.05.11.20.30.19; Mon, 11 May 2020 20:30:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2020-01-29 header.b=p7OTze74; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1728764AbgELD2t (ORCPT + 99 others); Mon, 11 May 2020 23:28:49 -0400 Received: from userp2130.oracle.com ([156.151.31.86]:38622 "EHLO userp2130.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727942AbgELD2t (ORCPT ); Mon, 11 May 2020 23:28:49 -0400 Received: from pps.filterd (userp2130.oracle.com [127.0.0.1]) by userp2130.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 04C3RKxJ105296; Tue, 12 May 2020 03:28:46 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding; s=corp-2020-01-29; bh=9vyTDBtmAZzufdi8K/i1nWRvrNIE3ofFmBBIEvSA+6U=; b=p7OTze74rl+nofgA4ArDD/+Re4ZlfOMc8kbFoLmTgifvEPH8gIF+Vd0hOdffEFeqfAGZ sK2pK6zSbotwh5ldbX7KQXAdv2szFP5/OwNs9pWulk04f6rbc6e61vHLOPP6pg64YNF3 Zgi+vYlaMQsy1/qbIP+i/Uxwb6TQ1/OKfkfIC+jPm7pMj7TdENodR+PrKehqgB8dQRTN mHkEd0hE0+kipp8Kxw4rYfSPZMxGDytUPdZ+WA/QrOciKE/18UXwyM2NPaBIvZsX1XSb 3y2E/8gBv9oGJJXBfOHJJjsAS5svJQzodNwpXvJL/WZRJsXrsovyRKtJnzc21O3/M/gZ Ew== Received: from aserp3020.oracle.com (aserp3020.oracle.com [141.146.126.70]) by userp2130.oracle.com with ESMTP id 30x3gmghsc-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 12 May 2020 03:28:46 +0000 Received: from pps.filterd (aserp3020.oracle.com [127.0.0.1]) by aserp3020.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 04C3Mnfj016267; Tue, 12 May 2020 03:28:45 GMT Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by aserp3020.oracle.com with ESMTP id 30xbggtkvv-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 12 May 2020 03:28:45 +0000 Received: from abhmp0020.oracle.com (abhmp0020.oracle.com [141.146.116.26]) by userv0121.oracle.com (8.14.4/8.13.8) with ESMTP id 04C3Sio9018971; Tue, 12 May 2020 03:28:44 GMT Received: from ca-mkp.ca.oracle.com (/10.156.108.201) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 11 May 2020 20:28:43 -0700 From: "Martin K. Petersen" To: "James E.J. Bottomley" , "Gustavo A. R. Silva" Cc: "Martin K . Petersen" , linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org Subject: Re: [PATCH] scsi: libsas: Replace zero-length array with flexible-array Date: Mon, 11 May 2020 23:28:30 -0400 Message-Id: <158925392373.17325.6941458410294631284.b4-ty@oracle.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200507192147.GA16206@embeddedor> References: <20200507192147.GA16206@embeddedor> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9618 signatures=668687 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 adultscore=0 mlxlogscore=678 spamscore=0 suspectscore=0 phishscore=0 bulkscore=0 mlxscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2003020000 definitions=main-2005120029 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9618 signatures=668687 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 adultscore=0 mlxlogscore=720 clxscore=1011 spamscore=0 lowpriorityscore=0 phishscore=0 bulkscore=0 malwarescore=0 priorityscore=1501 mlxscore=0 suspectscore=0 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2003020000 definitions=main-2005120029 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 7 May 2020 14:21:47 -0500, Gustavo A. R. Silva wrote: > 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: > > struct foo { > int stuff; > struct boo array[]; > }; > > [...] Applied to 5.8/scsi-queue, thanks! [1/1] scsi: libsas: Replace zero-length array with flexible-array https://git.kernel.org/mkp/scsi/c/00b42b70ae52 -- Martin K. Petersen Oracle Linux Engineering