From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.3 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,USER_AGENT_MUTT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1A3CCC31E51 for ; Tue, 18 Jun 2019 06:57:58 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id E3BD720665 for ; Tue, 18 Jun 2019 06:57:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1560841078; bh=BoadilkCYTPnIl3QEBERI4uj2lKdwRcXmzIyAhRqQSE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=ss7Do5fFAy/ko/OIMkIDop7FeSF2LeUaTHaU5zLJnuqLNfBb+JIJAftUPsIFPTeFc 1F1ykvc+75QQv2SG3ap6531o6lQLzLpqsgjM9/a8cJOzPCacM9IVaicji1gLe9yzqK 25iZm4ZFFZ1UApRe0dhU8rvOqrhLUmWMcmErxO4M= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728910AbfFRG54 (ORCPT ); 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