Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752862AbcCKVe0 (ORCPT ); Fri, 11 Mar 2016 16:34:26 -0500 Received: from mail.linuxfoundation.org ([140.211.169.12]:57748 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751196AbcCKVeW (ORCPT ); Fri, 11 Mar 2016 16:34:22 -0500 Date: Fri, 11 Mar 2016 13:34:21 -0800 From: Greg KH To: Daeseok Youn Cc: lidza.louina@gmail.com, devel@driverdev.osuosl.org, driverdev-devel@linuxdriverproject.org, kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org, sudipm.mukherjee@gmail.com Subject: Re: [PATCH 2/2 V2] staging: dgnc: use tty_alloc_driver instead of kcalloc Message-ID: <20160311213421.GA20127@kroah.com> References: <20160307075537.GA23008@SEL-JYOUN-D1> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160307075537.GA23008@SEL-JYOUN-D1> 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 Content-Length: 247 Lines: 6 On Mon, Mar 07, 2016 at 04:55:38PM +0900, Daeseok Youn wrote: > the tty_alloc_driver() can allocate memory for ttys and termios. > And also it can release allocated memory easly with using > put_tty_driver(). Also needs to be rebased and resent.