Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp4524799pxb; Sat, 12 Feb 2022 08:04:35 -0800 (PST) X-Google-Smtp-Source: ABdhPJw0UIsJNB0CGvpWeB326bSknla9Oyp3LBYeJxI4U4M4YWHZW6vhq6MXxuxVpH6TmIh9KGXE X-Received: by 2002:a63:171a:: with SMTP id x26mr5381975pgl.447.1644681874910; Sat, 12 Feb 2022 08:04:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644681874; cv=none; d=google.com; s=arc-20160816; b=nqAAzIgp41teyq0Y9lygAVE/dQNSlaHN/PjWg9Q45muuU62Wbf4Wg7q9qDL7cQRal8 9CZQ6hiERSIqmgwE+Hp/ti49X9hncVhjgInf+bjThQLZ0l72ifCEa/yHnet88gm7ncyV B69pq+7Mwy4Ki+EgZtHdF/UOLHTvvlZQSQeEc+4PZGlN9ayBjEsTiRvkdzgeNlIgk3l+ ja3hr4Hhdp/YGDW2idhffHHwTgds2x61bYQ/UTeWuA+GfGVNKW7JsmA9Vv5Xiuk1b5lq orspKoaP5QzxktoJZPYDEVEkgSEdaMljv7RWJQUfsmLtxgsCoL5vQcTDt9p8sP4E3bcc X/8w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=5eNJBhDGgq1qZSsKV3Wp4fv3E7MvY1SsyGQyWAIjwSA=; b=0ELbHC5QKUSxxEP8Ku55LiXdDJCSRwLGzO5OnW0qojxEVvpxhyEAhFlTLFyAdTfkha K7OqajL6emV8JhSOQUk1p4Am/pK1+/dP+UAbzXXXNHkCe5i5yK2GKsORdsETe0+kGmCp DjUKCzKPANJZWSLIvk9bFrzvPb0Iv3WqSTppRSFUS6JLv2zyKPRsgz5Al8VH/PTc9Jly n1Sxp8ZRLRMcuWt1xAQDtWI0Au92/pa/0Lg+5pSA9T+QNeIpVpOrLR0PWAPlKR81SF1D dnZF6BvRdfdud+uIwTarrjlemPCz575uSbR1vZjjBwIgOGcoQ0ptjXf0V+F3reBXXMAy lHjQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2021-07-09 header.b="khUN/m6m"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 82si26148679pgb.538.2022.02.12.08.04.21; Sat, 12 Feb 2022 08:04:34 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2021-07-09 header.b="khUN/m6m"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S1354074AbiBKXZi (ORCPT + 93 others); Fri, 11 Feb 2022 18:25:38 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:55056 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242803AbiBKXZi (ORCPT ); Fri, 11 Feb 2022 18:25:38 -0500 Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6B691C5F; Fri, 11 Feb 2022 15:25:36 -0800 (PST) Received: from pps.filterd (m0246629.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 21BN5Z4T015522; Fri, 11 Feb 2022 23:25:33 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-type : content-transfer-encoding; s=corp-2021-07-09; bh=5eNJBhDGgq1qZSsKV3Wp4fv3E7MvY1SsyGQyWAIjwSA=; b=khUN/m6mdpSoOsdNAlyCRxlqfg0jla4eAu/GO2HG3GrWNz7WazBAPzKcbyqEUFyY06MW q0AG/K/WEbdvRIDCOdg7H7CT1FO9knawUXJDGJiymOW1WsS8a5bdSgJwp5OZMy3fcQhv fnP63UTckuKhzYvcoPVoJdTsLUn3AZ6ny1CCtKRKlT2Gps4lEB3qpF6l/peGBuCOhk44 nYleX0yilHkdWMyA0/35l2XyLQtsCaPtf6Q0gQyGkt4XBYxw5rDihyXUBO8LslrhiIDx +WQagc64Wc8AvFt5Kuga8JbI91YxeyIEGY9wlmcRviXsaGE72awJ6DWDEW/BdYrdIzj8 rQ== Received: from userp3020.oracle.com (userp3020.oracle.com [156.151.31.79]) by mx0b-00069f02.pphosted.com with ESMTP id 3e5g98ace3-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 11 Feb 2022 23:25:33 +0000 Received: from pps.filterd (userp3020.oracle.com [127.0.0.1]) by userp3020.oracle.com (8.16.1.2/8.16.1.2) with SMTP id 21BNG6uw020666; Fri, 11 Feb 2022 23:25:32 GMT Received: from pps.reinject (localhost [127.0.0.1]) by userp3020.oracle.com with ESMTP id 3e1jpykk2j-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 11 Feb 2022 23:25:32 +0000 Received: from userp3020.oracle.com (userp3020.oracle.com [127.0.0.1]) by pps.reinject (8.16.0.36/8.16.0.36) with SMTP id 21BNPTtB094578; Fri, 11 Feb 2022 23:25:31 GMT Received: from ca-mkp.mkp.ca.oracle.com (ca-mkp.ca.oracle.com [10.156.108.201]) by userp3020.oracle.com with ESMTP id 3e1jpykk0v-2; Fri, 11 Feb 2022 23:25:31 +0000 From: "Martin K. Petersen" To: Kees Cook , Sathya Prakash Cc: "Martin K . Petersen" , Suganath Prabu Subramani , "James E.J. Bottomley" , Sreekanth Reddy , linux-hardening@vger.kernel.org, linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org, MPT-FusionLinux.pdl@broadcom.com Subject: Re: [PATCH] scsi: mpt3sas: Convert to flexible arrays Date: Fri, 11 Feb 2022 18:25:25 -0500 Message-Id: <164462189850.7606.6908949862618145181.b4-ty@oracle.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220201223948.1455637-1-keescook@chromium.org> References: <20220201223948.1455637-1-keescook@chromium.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Proofpoint-GUID: sGf-vz6rt6-lFfi29dBdIppsmPP0CQdc X-Proofpoint-ORIG-GUID: sGf-vz6rt6-lFfi29dBdIppsmPP0CQdc X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 1 Feb 2022 14:39:48 -0800, Kees Cook wrote: > This converts to a flexible array instead of the old-style 1-element > arrays. The existing code already did the correct math for finding the > size of the resulting flexible array structure, so there is no binary > difference. > > The other two structures converted to use flexible arrays appear to > have no users at all. > > [...] Applied to 5.18/scsi-queue, thanks! [1/1] scsi: mpt3sas: Convert to flexible arrays https://git.kernel.org/mkp/scsi/c/d20b3dae630f -- Martin K. Petersen Oracle Linux Engineering