Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp455171yba; Fri, 3 May 2019 05:10:42 -0700 (PDT) X-Google-Smtp-Source: APXvYqzd2ljdqiiiPn9TlVkvzBn6WWiVrzy8Lptr0BeMj2YUVykN5RV2kDUiZo9cUJ+Tfn4eB7cF X-Received: by 2002:aa7:92d1:: with SMTP id k17mr10357867pfa.91.1556885442848; Fri, 03 May 2019 05:10:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556885442; cv=none; d=google.com; s=arc-20160816; b=Ozr2khrPuqIrGndmatzUiaWtn4dxOx50fjnH2ULiKfc6Xlr4Ks/48RXVjzxjwBuuS+ Ss6iQyvkpwFTmgCVxrNUcQAdOkRJWZVpBeTah189CLjtei5etJDZv88DcxIbvf3k/zRK 6IBTSgJXdDjnF2f/8YUHiWhxfL7bye+igyXAP5FjEYJl2qNDFew/GClA7nUbl2AaJMsZ dSbBpmPDa7wYrhAagkm/H/0LwmFH+SfrCBWRCm84eLfoc2JUkF/FsfO8oNn37EFcuaSg cMbOM1oWpBKQhlbLTJojDRdaaaNPnWOz2cpgwtIVCstas69W80TIF5/LWvpCWr9YH7nb Q2tw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:authenticated-by; bh=r9aP+69ozbZcaEqbgH41QKq9hUG+I/7GdtflnrAR7Jk=; b=F/tLA1JFwL4XupOCB1FAckXlZlCUNSkOt4V4D8Ep5ECWXGBmgqVQVtqbwD0mVYXUCg ylsd+nG4SM66NyjOeWapPB5I17xWJccNCjNxg9qUYTVgEn8Dv+kHY1gKUh4S2az90TIb de1Aig1XniPSe2gifyeGCuQ9LcYa5Lo18JDlucXDRdDvyuClGQrHjzmW//EL38/WqExl rK7Ilu3HRhT54lnq5kN3y3NCUzLILGC8zGOWhtHQWeVXIA+ATtOiced3nJulpEI+l9iw M8i+RHxI+S4zAVtHwblAECX7qiZH+Jqtc21+dSBomCDnE6VyvXbZ5Z8pgQNhuet6vUro kV8Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v2si2064781plp.191.2019.05.03.05.10.21; Fri, 03 May 2019 05:10:42 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726405AbfECMBR (ORCPT + 99 others); Fri, 3 May 2019 08:01:17 -0400 Received: from rtits2.realtek.com ([211.75.126.72]:33312 "EHLO rtits2.realtek.com.tw" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726047AbfECMBR (ORCPT ); Fri, 3 May 2019 08:01:17 -0400 Authenticated-By: X-SpamFilter-By: BOX Solutions SpamTrap 5.62 with qID x43C16hs001831, This message is accepted by code: ctloc85258 Received: from mail.realtek.com (rtitcas11.realtek.com.tw[172.21.6.12]) by rtits2.realtek.com.tw (8.15.2/2.57/5.78) with ESMTPS id x43C16hs001831 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 3 May 2019 20:01:06 +0800 Received: from RTITMBSVM04.realtek.com.tw ([fe80::e404:880:2ef1:1aa1]) by RTITCAS11.realtek.com.tw ([fe80::7c6d:ced5:c4ff:8297%15]) with mapi id 14.03.0399.000; Fri, 3 May 2019 20:01:06 +0800 From: Tony Chuang To: Stanislaw Gruszka CC: "linux-wireless@vger.kernel.org" Subject: RE: [RFC] rtw88: fix subscript above array bounds compiler warning Thread-Topic: [RFC] rtw88: fix subscript above array bounds compiler warning Thread-Index: AQHVAabY923e3mCnuUOdIndDOImdQ6ZZS4jA Date: Fri, 3 May 2019 12:01:05 +0000 Message-ID: References: <20190503115333.GA23109@redhat.com> In-Reply-To: <20190503115333.GA23109@redhat.com> Accept-Language: zh-TW, en-US Content-Language: zh-TW X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.21.68.183] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org PiBTdWJqZWN0OiBbUkZDXSBydHc4ODogZml4IHN1YnNjcmlwdCBhYm92ZSBhcnJheSBib3VuZHMg Y29tcGlsZXIgd2FybmluZw0KPiANCj4gTXkgY29tcGlsZXIgY29tcGxhaW4gYWJvdXQ6DQo+IA0K PiBkcml2ZXJzL25ldC93aXJlbGVzcy9yZWFsdGVrL3J0dzg4L3BoeS5jOiBJbiBmdW5jdGlvbg0K PiDigJhydHdfcGh5X3JmX3Bvd2VyXzJfcnNzaeKAmToNCj4gZHJpdmVycy9uZXQvd2lyZWxlc3Mv cmVhbHRlay9ydHc4OC9waHkuYzo0MzA6MjY6IHdhcm5pbmc6IGFycmF5IHN1YnNjcmlwdCBpcw0K PiBhYm92ZSBhcnJheSBib3VuZHMgWy1XYXJyYXktYm91bmRzXQ0KPiAgIGxpbmVhciA9IGRiX2lu dmVydF90YWJsZVtpXVtqXTsNCj4gDQo+IEFjY29yZGluZyB0byBjb21tZW50IHBvd2VyX2RiIHNo b3VsZCBiZSBpbiByYW5nZSAxIH4gOTYgLg0KPiBDb3JyZWN0IHJ0d19waHlfcG93ZXJfMl9kYigp IHRvIG1ha2UgbWF4IHBvd2VyIDk2IGRiDQo+IChzdGlsbCBtaW4gaXMgMCkuIFRoaXMgbWFrZ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