From patchwork Mon Feb 7 16:47:42 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dan Carpenter X-Patchwork-Id: 538371 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p17GtNVY010141 for ; Mon, 7 Feb 2011 16:55:23 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754119Ab1BGQzU (ORCPT ); Mon, 7 Feb 2011 11:55:20 -0500 Received: from mail-fx0-f46.google.com ([209.85.161.46]:48340 "EHLO mail-fx0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752745Ab1BGQzT (ORCPT ); Mon, 7 Feb 2011 11:55:19 -0500 Received: by fxm20 with SMTP id 20so5093718fxm.19 for ; Mon, 07 Feb 2011 08:55:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:date:from:to:cc:subject:message-id:mime-version :content-type:content-disposition:user-agent; bh=6Ff4nTFbGaB/PFQXrCZlMuFezpuDb8Hp1KiQIQzySoA=; b=I+FWv+/G1LHtHwA3o4z2rv3ocIf16x16akqoSvvha4qaoOATUrydp2TyHh7aqUlgG2 9iLDfDqa1dAGRNKM8i4TAK0j86cC7yg7Srv+rk1Ki+ILCOU1YYKo/cAuXu5alzCIrBVf iEpYaQDzNLMWlRxqOGap0ee6FGy5W1HS+uadY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:mime-version:content-type :content-disposition:user-agent; b=JNBTaWCmquQkI1P0d2JLoFaLkrwgrEdnMzMzoS6S7GqTWnFM32T/Y0vPOJeSGHBRDt JzaM6tSju4f7uYpgU/DfSR+GXo+ySxCO7FBdOGKYZMG2WsBBW3ge6NTB/UDlqHe5LD+n gF7Vau19U2swGNe1o9Buu3LxmfF58PXyt5SH8= Received: by 10.223.87.75 with SMTP id v11mr401313fal.131.1297097291834; Mon, 07 Feb 2011 08:48:11 -0800 (PST) Received: from bicker ([212.49.88.34]) by mx.google.com with ESMTPS id r24sm1285717fax.3.2011.02.07.08.47.52 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 07 Feb 2011 08:48:10 -0800 (PST) Date: Mon, 7 Feb 2011 19:47:42 +0300 From: Dan Carpenter To: Luciano Coelho , shahar_levi@ti.com Cc: "John W. Linville" , linux-wireless@vger.kernel.org, kernel-janitors@vger.kernel.org Subject: [patch] wl12xx: change type from u8 to int Message-ID: <20110207164742.GE4384@bicker> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Mon, 07 Feb 2011 16:55:23 +0000 (UTC) diff --git a/drivers/net/wireless/wl12xx/init.c b/drivers/net/wireless/wl12xx/init.c index 70b3dc8..e430b2a 100644 --- a/drivers/net/wireless/wl12xx/init.c +++ b/drivers/net/wireless/wl12xx/init.c @@ -470,7 +470,7 @@ static void wl1271_check_ba_support(struct wl1271 *wl) static int wl1271_set_ba_policies(struct wl1271 *wl) { u8 tid_index; - u8 ret = 0; + int ret = 0; /* Reset the BA RX indicators */ wl->ba_rx_bitmap = 0;