From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from userp1040.oracle.com ([156.151.31.81]:22744 "EHLO userp1040.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751133AbdGOHnd (ORCPT ); Sat, 15 Jul 2017 03:43:33 -0400 Date: Sat, 15 Jul 2017 10:40:40 +0300 From: Dan Carpenter To: Larry Finger Cc: Chaoming Li , Kalle Valo , Ping-Ke Shih , Masanari Iida , linux-wireless@vger.kernel.org, kernel-janitors@vger.kernel.org Subject: Re: [PATCH] rtlwifi: rtl8821ae: Fix HW_VAR_NAV_UPPER operation Message-ID: <20170715074039.kx4z37s3g37d5rum@mwanda> (sfid-20170715_094354_203345_F81E2EEA) References: <20170713074323.r7rjpnp6ghrdtjgx@mwanda> <5992b195-2ebb-a620-3324-ca2d689e11a7@lwfinger.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <5992b195-2ebb-a620-3324-ca2d689e11a7@lwfinger.net> Sender: linux-wireless-owner@vger.kernel.org List-ID: On Fri, Jul 14, 2017 at 02:09:46PM -0500, Larry Finger wrote: > On 07/13/2017 02:43 AM, Dan Carpenter wrote: > > The cast here is wrong. We want to cast the pointer but we accidentally > > do a no-op cast of the value. We normally want to set us_nav_upper to > > WIFI_NAV_UPPER_US (30000) but because of this bug we instead set it to > > 184 on little endian systems and 0 on big endian ones. > > > > Fixes: 3c05bedb5fef ("Staging: rtl8812ae: Add Realtek 8821 PCI WIFI driver") > > Signed-off-by: Dan Carpenter > > Acked-by: Larry Finger > > Thanks for catching this error. I suspect a typo, but your fix is obviously correct. > > Does the "Fixes" notation imply a Cc to stable? No. Fixes doesn't necessarily imply a Cc to stable. regards, dan carpenter