Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp3412509ybi; Mon, 17 Jun 2019 23:58:34 -0700 (PDT) X-Google-Smtp-Source: APXvYqx334cvBFTk4iqoMWxwOj/Uy/nFhkcrsKAD5ve7f2SKiy0bRH0PAn1CSEz0Xt3MxJrbJFpa X-Received: by 2002:a17:902:7297:: with SMTP id d23mr99037242pll.254.1560841114630; Mon, 17 Jun 2019 23:58:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560841114; cv=none; d=google.com; s=arc-20160816; b=m5ElKofY737VwjSx3fI6Gg029yOo7lpROej5BC0XEqAvaU7yHNjCRK9iY0A+T34R+Y l3+bDab1x9MUXycs8gfylyhvyKlXmVsRV91sVovaTnazUiGqd0qXCmE99EDkbcjInYc9 qxb6bIx/27ZwrrMhF8GlNikQF2ON2MevwjZwiU3UVlXIyQxFIHxihUQ9X9jWFSUt4Hl7 y3f1h9/X20qxiuxTyMMuLuzLNb0dMydc8LLNdnSGm4yHkQTwrfUHtrMBSGMUkC2Aw/1Z VayAVuqrkC+me987YDeeTydCXfopQO5Vq+NkgEfMhKWHBdA0Cn1wx05nSuNBMOKIyRfY imng== 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=dtz2mYFt2I8L6QTeJC4o/QLTNOl9wJjN4sC5R2w5GVY=; b=KK6Nv7moHdkTy3p5NxFBp6vKqyOzh9fpXTnK7HJGwoWziEO7E9YOgz5kyNgFEO+b6C aw0ddyX9iwX1xqzx9FcvvRyYiSZgD1YWT1hmeoGuqBNsajsVZhlltjeanapOLaj1Pjte N/FKPfekX/wPTH6HMiC03fftpe+u5UsE2EsED4qM55QFuqQIcsMuwu0h4ZKlCfc3loqO KawY8gYA6pt02A6z464CxgrXwQ8uZwkkoZ+mcQ6Ztbou16P6A9CgY4e1vttufSH7o5pF d0J48YLHf/LLrqV3nyJ1aSp7i4M4v0pL8uNLoZCCmtSgvQmSVrXLloF+l3fOXBVfKOxT GqFg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=1mDdjMBH; 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 j9si13066873pgf.439.2019.06.17.23.58.20; Mon, 17 Jun 2019 23:58:34 -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=1mDdjMBH; 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 S1728892AbfFRG54 (ORCPT + 99 others); Tue, 18 Jun 2019 02:57:56 -0400 Received: from mail.kernel.org ([198.145.29.99]:59258 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726037AbfFRG54 (ORCPT ); Tue, 18 Jun 2019 02:57:56 -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 EF7DD20665; Tue, 18 Jun 2019 06:57:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1560841075; bh=BoadilkCYTPnIl3QEBERI4uj2lKdwRcXmzIyAhRqQSE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=1mDdjMBHX1dV0hIrfNV3qExLK8CSEFyjXK4h0fBH9Tcj1qmVv2gXbs6/Ybxywbzd0 C4NKkMeTJecd7TG/crMhIjhR51Bsei5HdYiJsTdhSrgeZ3hVKCdvPT3H9vjmid+OTC mxRAltCZxo9DSh88tM+i6ytmY5JJkIfPOA3jTGBI= Date: Tue, 18 Jun 2019 08:57:53 +0200 From: Greg Kroah-Hartman To: Hariprasad Kelam Cc: Michael Straube , Mamta Shukla , Nishka Dasgupta , Emanuel Bennici , Puranjay Mohan , Shobhit Kukreti , devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: Re: [Patch v2] staging: rtl8723bs: os_dep: ioctl_linux: make use of kzalloc Message-ID: <20190618065753.GA15358@kroah.com> References: <20190618014410.GA8505@hari-Inspiron-1545> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190618014410.GA8505@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 Tue, Jun 18, 2019 at 07:14:10AM +0530, Hariprasad Kelam wrote: > kmalloc with memset can be replaced with kzalloc. Yes, but did you audit the call-paths of this to ensure that GFP_KERNEL is the correct value for kzalloc() here? If so, please document that in the changelog. thanks, greg k-h