Received: by 10.213.65.68 with SMTP id h4csp194158imn; Tue, 13 Mar 2018 00:44:20 -0700 (PDT) X-Google-Smtp-Source: AG47ELvlcbtnX4Z4LP5/wZI+uSxEAZxHyvHNaSdm2cSnEinMh2IC3QJEqDHezymvfTMJVUdUoDrL X-Received: by 2002:a17:902:7885:: with SMTP id q5-v6mr10748314pll.207.1520927060766; Tue, 13 Mar 2018 00:44:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1520927060; cv=none; d=google.com; s=arc-20160816; b=igw5OVIB6vCD0GN7w/11Rq7vBwevJS0EVqAxN4YmBI8xg/ZjZCcwTbIVBaY7h8rjh5 HDhcsoy+bf2AMHXn3+CRCECVKzNu612IXq0559hKcT44yvdu4BDiqh3XV7y8sF6m38XA 0Z50zAgMLwSStuTdtNdaczJcJ74fUS5jBK7LcLLGyd4hb3ZHmixgEZhauZmqhD8ta2MF pEbbDMqgyLO+o+9ZPYhP3mUQcnze2RVXL00KWNKZuzMw0y7euitRXSZ0FKxn+DxuzGRP fmOLGzAcfvlS1GfI6/z4yVxVQnQIsHsJSudgkCfqlF6Z/RY08eTk/HdNGpSKP+V5NfqU JGPQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date:arc-authentication-results; bh=OmV/lFpshCBYtGrzUoTnjv57JIwOCCTppeqhlTY+zL0=; b=hWmgnRjYCJt18dX8IQtm+Wpe1oUBpXLpWpmZbfNyJmWPR4AVaGR9LPC2trMicKI2el kvL36mCYjBJL6OFCj8giDdgTc3KEsRffryF4Ztj1vHWP3lhvaRtph+7+L+QQuzxaNv9r VdKQfwYBCKHfy5rowhf+mQ2gdMrLDxmvmrv9Kfdagd5yssGeskmFqgzs4kCGn7LwiaAK seQ5TeG/UhlVG+w+KqCAN7sOvOf2etxZrL2DnfcW5iVwK2nzcaE45AmUi+U9tFYnAJYn BkhLh/RcVZqqJQC/6F9v1gjOzBGntSuwQWAQ9aam7O9MbHpatPSsYFe9V3pRt7Rf8gE0 XnwQ== ARC-Authentication-Results: i=1; mx.google.com; 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 p5-v6si7468707pls.238.2018.03.13.00.44.06; Tue, 13 Mar 2018 00:44:20 -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; 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 S1752007AbeCMHnN (ORCPT + 99 others); Tue, 13 Mar 2018 03:43:13 -0400 Received: from esa2.microchip.iphmx.com ([68.232.149.84]:40261 "EHLO esa2.microchip.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751615AbeCMHnM (ORCPT ); Tue, 13 Mar 2018 03:43:12 -0400 X-IronPort-AV: E=Sophos;i="5.47,464,1515481200"; d="scan'208";a="12257187" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa2.microchip.iphmx.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 13 Mar 2018 00:43:11 -0700 Received: from ajaysk-VirtualBox (10.10.76.4) by chn-sv-exch05.mchp-main.com (10.10.76.106) with Microsoft SMTP Server id 14.3.352.0; Tue, 13 Mar 2018 00:43:11 -0700 Date: Tue, 13 Mar 2018 13:13:04 +0530 From: Ajay Singh To: , CC: , , Ganesh Krishna , Greg Kroah-Hartman , , Subject: Re: [PATCH] staging: wilc1000: use kmemdup instead of kmalloc and memcpy Message-ID: <20180313131304.47d457e3@ajaysk-VirtualBox> In-Reply-To: <20180313062049.6200-1-hariprasath.elango@gmail.com> References: <20180313062049.6200-1-hariprasath.elango@gmail.com> Organization: Microchip Techonology X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.30; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 13 Mar 2018 11:50:48 +0530 wrote: > From: HariPrasath Elango > > Kmalloc followed by memcpy can be replaced by kmemdup. > > Signed-off-by: HariPrasath Elango Reviewed-by: Ajay Singh Regards, Ajay