From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752114AbcFINWT (ORCPT ); Thu, 9 Jun 2016 09:22:19 -0400 Received: from mx0b-0016f401.pphosted.com ([67.231.156.173]:53386 "EHLO mx0b-0016f401.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751168AbcFINWR convert rfc822-to-8bit (ORCPT ); Thu, 9 Jun 2016 09:22:17 -0400 From: Amitkumar Karwar To: Heinrich Schuchardt , Kalle Valo CC: "linux-wireless@vger.kernel.org" , "netdev@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: RE: [PATCH 1/1] mwifiex: illegal assignment Thread-Topic: [PATCH 1/1] mwifiex: illegal assignment Thread-Index: AQHRsJAkoeAiL5/m/UK+mDQ+G2HGwp/hQd3Q Date: Thu, 9 Jun 2016 13:22:09 +0000 Message-ID: <66189faafe0e477da81a03677d56ef69@SC-EXCH04.marvell.com> References: <1463526118-11822-1-git-send-email-xypron.glpk@gmx.de> In-Reply-To: <1463526118-11822-1-git-send-email-xypron.glpk@gmx.de> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.93.176.43] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2016-06-09_05:,, signatures=0 X-Proofpoint-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1604210000 definitions=main-1606090145 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > From: Heinrich Schuchardt [mailto:xypron.glpk@gmx.de] > Sent: Wednesday, May 18, 2016 4:32 AM > To: Amitkumar Karwar; Nishant Sarmukadam; Kalle Valo > Cc: Xinming Hu; Cathy Luo; linux-wireless@vger.kernel.org; > netdev@vger.kernel.org; linux-kernel@vger.kernel.org; Heinrich > Schuchardt > Subject: [PATCH 1/1] mwifiex: illegal assignment > > Variable adapter is incorrectly initialized. > > Fixes: bf00dc22bc7a ("mwifiex: AMSDU Rx frame handling in AP mode") > Signed-off-by: Heinrich Schuchardt > --- > drivers/net/wireless/marvell/mwifiex/uap_txrx.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/net/wireless/marvell/mwifiex/uap_txrx.c > b/drivers/net/wireless/marvell/mwifiex/uap_txrx.c > index 666e91a..bf5660e 100644 > --- a/drivers/net/wireless/marvell/mwifiex/uap_txrx.c > +++ b/drivers/net/wireless/marvell/mwifiex/uap_txrx.c > @@ -272,7 +272,7 @@ int mwifiex_handle_uap_rx_forward(struct > mwifiex_private *priv, int mwifiex_uap_recv_packet(struct > mwifiex_private *priv, > struct sk_buff *skb) > { > - struct mwifiex_adapter *adapter = adapter; > + struct mwifiex_adapter *adapter = priv->adapter; > struct mwifiex_sta_node *src_node; > struct ethhdr *p_ethhdr; > struct sk_buff *skb_uap; > -- > 2.1.4 Acked-by: Amitkumar Karwar Regards, Amitkumar