Received: by 2002:a25:b794:0:0:0:0:0 with SMTP id n20csp2874608ybh; Mon, 5 Aug 2019 08:12:38 -0700 (PDT) X-Google-Smtp-Source: APXvYqxNuxMneS65jzq1arCJ0Xe3TQFA0lV0Mehc7iuiWiYT0UtpyvlT0sG+RJYlcrbmhL9peexm X-Received: by 2002:a65:5c4b:: with SMTP id v11mr94572973pgr.62.1565017958283; Mon, 05 Aug 2019 08:12:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565017958; cv=none; d=google.com; s=arc-20160816; b=W9bHap0HBoAeEVxQsH6mbWNX/Ie0vHgdBHDIjYz+/t0PG/INQKegKPLgsRViO1DvQb YGpvATxCuQL1CzhHiDJAN9gwz6BOQLZ5fIUGchq5SEf/Hl59Vg3VNhtqaOgbB4WDugx+ GjzGQyrmEc9doutg1jNKYHArVO3i1+7QNwP4X9WZR+cwQbRxSKeBrgkaymS2LP3fSGgO nony4FYk3BxYEyskHGJfqRIMSCI9ZVEPTcLrgz5E3Ug3yWuz3ro9UnNxRPCoOi2uZ25w vtUPMalA/x+/K7Q/Bjjqfog2/YpPFHUEDIDNkO29d49jB7AZBWx/Ou5Y+Z79tSrQV39l KS/w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=0+M4VIHxCe8qDPduhb6jVdtjPint//PDbxRVXgQ2hmM=; b=nrs0sjpB0pOsW1dQ96+9sS6SOq3zMhtZn8bzudChtlF1gGS+oEzVQ54/jUJIBnRxZE y9r6f+gvNVk3Z9CjyUmG142LpQPlgfMzqHuRgCPXzShHmL2GEBPhxaFYHbAmDJhlwuKl 45jQxOH4EMrTT0DSkr6HW4SWJTEd3aTHS7rJpqYDCnXIvzq5oiZ0bgyE4grpTRj0zCrD riKKLAMRUnj6eTU6iabQWIxqBfQGoKuEdAk74qicRMbQJ+3rEH/lQkQWpFtzih1vjpDC pGYaLDbirl0eOZLcKrNuhuGKJsGTdmG3mKhGBfgpe9X/HXDEc1S/q/91hNdNijHUnVBz ZeJA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=n1ebBBgQ; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j6si48485345pgb.206.2019.08.05.08.12.22; Mon, 05 Aug 2019 08:12:38 -0700 (PDT) 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=@kernel.org header.s=default header.b=n1ebBBgQ; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729550AbfHEPLb (ORCPT + 99 others); Mon, 5 Aug 2019 11:11:31 -0400 Received: from mail.kernel.org ([198.145.29.99]:38152 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727259AbfHEPLb (ORCPT ); Mon, 5 Aug 2019 11:11:31 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 1F24221734; Mon, 5 Aug 2019 15:11:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1565017890; bh=h6ddiNuKrnZ94s6swCUNGAiEpj4t8uRpUWPS6gppxxI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=n1ebBBgQjjxEoAQUMgojCEmWiEU4KWKz+dXhXQnfUzsxgr2r6TkJUEXecJKaOEPwG 8LlAesDvobAOZZBITQbda3PMLgrxyrj6/UdVDy72GfjdyzLmrZA99oHrTO1F5X+vC4 K05Bankr4LlTLBtUIU3c9I1cRa4Ienm2hdi5uSf4= Date: Mon, 5 Aug 2019 17:11:28 +0200 From: Greg Kroah-Hartman To: Hariprasad Kelam Cc: John Whitmore , Nishka Dasgupta , Colin Ian King , devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] staging: rtl8192u: Add NULL check post kzalloc Message-ID: <20190805151128.GA16140@kroah.com> References: <20190804034904.GA16513@hari-Inspiron-1545> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190804034904.GA16513@hari-Inspiron-1545> User-Agent: Mutt/1.12.1 (2019-06-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Aug 04, 2019 at 09:19:05AM +0530, Hariprasad Kelam wrote: > Collect returns status of kzalloc. > > Signed-off-by: Hariprasad Kelam > --- > drivers/staging/rtl8192u/r8192U_core.c | 12 ++++++++++-- > 1 file changed, 10 insertions(+), 2 deletions(-) Does not apply to my tree :(