Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753920Ab3FDMOk (ORCPT ); Tue, 4 Jun 2013 08:14:40 -0400 Received: from mx1.redhat.com ([209.132.183.28]:55724 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751906Ab3FDMOi (ORCPT ); Tue, 4 Jun 2013 08:14:38 -0400 Message-ID: <51ADDA24.7050609@redhat.com> Date: Tue, 04 Jun 2013 14:14:28 +0200 From: Tomas Henzl User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130311 Thunderbird/17.0.4 MIME-Version: 1.0 To: Libo Chen CC: megaraidlinux@lsi.com, JBottomley@parallels.com, Libo Chen , linux-scsi@vger.kernel.org, LKML , kashyap.desai@lsi.com, aradford@gmail.com, Li Zefan , Santosh Y Subject: Re: [PATCH v2] scsi: megaraid: check kzalloc References: <519ECEF1.9060804@huawei.com> <519F3592.4090207@huawei.com> <51ADB484.3060404@huawei.com> In-Reply-To: <51ADB484.3060404@huawei.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 524 Lines: 19 On 06/04/2013 11:33 AM, Libo Chen wrote: > we should check kzalloc, avoid to hit oops > > Change from v1: > - put kzalloc outside of mutex > > Signed-off-by: Libo Chen Your patch looks fine to me: Acked-by: Tomas Henzl Cheers, Tomas -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/