From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dan Carpenter Subject: Re: [patch 1/2] staging: dgnc: some off by one bugs Date: Thu, 12 Mar 2015 20:19:26 +0300 Message-ID: <20150312171926.GM16501@mwanda> References: <20150312170739.GA21911@mwanda> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <20150312170739.GA21911@mwanda> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: driverdev-devel-bounces@linuxdriverproject.org Sender: "devel" To: Lidza Louina Cc: Greg Kroah-Hartman , driverdev-devel@linuxdriverproject.org, kernel-janitors@vger.kernel.org, linux-serial@vger.kernel.org List-Id: linux-serial@vger.kernel.org On Thu, Mar 12, 2015 at 08:07:39PM +0300, Dan Carpenter wrote: > "dgnc_NumBoards" is the number of filled out elements in the > dgnc_Board[] array. "->nasync" and "->maxports" are the value. I meant "the *same* value". I'll resend. regards, dan carpenter