Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753963AbdGYCFp (ORCPT ); Mon, 24 Jul 2017 22:05:45 -0400 Received: from aserp1040.oracle.com ([141.146.126.69]:27851 "EHLO aserp1040.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753098AbdGYCFf (ORCPT ); Mon, 24 Jul 2017 22:05:35 -0400 To: shuwang@redhat.com Cc: kashyap.desai@broadcom.com, sumit.saxena@broadcom.com, shivasharan.srikanteshwara@broadcom.com, jejb@linux.vnet.ibm.com, martin.petersen@oracle.com, megaraidlinux.pdl@broadcom.com, linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org, chuhu@redhat.com, liwang@redhat.com Subject: Re: [PATCH] scsi: megaraid_sas: fix memleak in megasas_alloc_cmdlist_fusion From: "Martin K. Petersen" Organization: Oracle Corporation References: <1500634449-10837-1-git-send-email-shuwang@redhat.com> Date: Mon, 24 Jul 2017 22:05:13 -0400 In-Reply-To: <1500634449-10837-1-git-send-email-shuwang@redhat.com> (shuwang@redhat.com's message of "Fri, 21 Jul 2017 18:54:09 +0800") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Source-IP: userv0022.oracle.com [156.151.31.74] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 259 Lines: 11 shuwang@redhat.com, > Found this issue by kmemleak, a few kb mem was leaked in > megasas_alloc_cmdlist_fusion when kzalloc failed for one > megasas_cmd_fusion allocation. Applied to 4.13/scsi-fixes. Thanks! -- Martin K. Petersen Oracle Linux Engineering