From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751492AbbJDL4S (ORCPT ); Sun, 4 Oct 2015 07:56:18 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:47547 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751453AbbJDL4R (ORCPT ); Sun, 4 Oct 2015 07:56:17 -0400 Date: Sun, 4 Oct 2015 12:56:14 +0100 From: Greg Kroah-Hartman To: Geliang Tang Cc: Sudeep Dutt , Nikhil Rao , Ashutosh Dixit , linux-kernel@vger.kernel.org Subject: Re: [PATCH] misc: mic: use kstrdup() in mic_sysfs Message-ID: <20151004115614.GA29316@kroah.com> References: <6736b3e4fdc27575cf85503eefe7d0c1aaaced33.1443753647.git.geliangtang@163.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6736b3e4fdc27575cf85503eefe7d0c1aaaced33.1443753647.git.geliangtang@163.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Oct 02, 2015 at 10:43:34AM +0800, Geliang Tang wrote: > Use kstrdup instead of kmalloc and strncpy. > > Signed-off-by: Geliang Tang > --- > drivers/misc/mic/host/mic_sysfs.c | 23 ++++------------------- > 1 file changed, 4 insertions(+), 19 deletions(-) This file isn't even in the tree anymore :(