Return-path: Received: from userp1040.oracle.com ([156.151.31.81]:41104 "EHLO userp1040.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753440Ab3IZVH0 (ORCPT ); Thu, 26 Sep 2013 17:07:26 -0400 Date: Fri, 27 Sep 2013 00:07:03 +0300 From: Dan Carpenter To: Bing Zhao Cc: "John W. Linville" , "linux-wireless@vger.kernel.org" , "kernel-janitors@vger.kernel.org" Subject: Re: [patch] mwifiex: potential integer underflow in mwifiex_ret_wmm_get_status() Message-ID: <20130926210703.GE6247@mwanda> (sfid-20130926_230732_679123_8E750920) References: <20130925085729.GC6661@elgon.mountain> <477F20668A386D41ADCC57781B1F70430F45077CDA@SC-VEXCH1.marvell.com> <20130925182359.GV6247@mwanda> <477F20668A386D41ADCC57781B1F70430F45077E52@SC-VEXCH1.marvell.com> <477F20668A386D41ADCC57781B1F70430F45078155@SC-VEXCH1.marvell.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <477F20668A386D41ADCC57781B1F70430F45078155@SC-VEXCH1.marvell.com> Sender: linux-wireless-owner@vger.kernel.org List-ID: There are several other similar functions as well. For example, the while loops in mwifiex_ret_tx_rate_cfg() and mwifiex_get_power_level(). regards, dan carpenter