Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751408AbbLMGrb (ORCPT ); Sun, 13 Dec 2015 01:47:31 -0500 Received: from mail.linuxfoundation.org ([140.211.169.12]:59235 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751053AbbLMGra (ORCPT ); Sun, 13 Dec 2015 01:47:30 -0500 Date: Sat, 12 Dec 2015 22:47:30 -0800 From: Greg Kroah-Hartman To: xinhui Cc: linux-kernel@vger.kernel.org, Jiri Slaby , yanmin_zhang@linux.intel.com, mnipxh@163.com, jin.xiao@intel.com Subject: Re: [PATCH] tty/n_gsm.c: use gsm->num to remove mux itself from gsm_mux[] Message-ID: <20151213064730.GA24952@kroah.com> References: <5657D0CF.9060801@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5657D0CF.9060801@linux.vnet.ibm.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 Content-Length: 718 Lines: 19 On Fri, Nov 27, 2015 at 11:41:03AM +0800, xinhui wrote: > There is one filed gsm->num to store mux's index of gsm_mux[]. So use > gsm->num to remove itself from gsm_mux[] instead of the for-loop > traverse in gsm_cleanup_mux(). > > Signed-off-by: Pan Xinhui Your "From:" line in the email needs to match your signed-off-by: line, please fix up your email client to do this properly so that your patches can be accepted. thanks, greg k-h -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/