Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp3188549ybg; Thu, 24 Oct 2019 23:58:47 -0700 (PDT) X-Google-Smtp-Source: APXvYqwEE95JyUQ4lGhP3kZUysgfXi/H1dkU7Wsns56iTyFCWPjQGvRiKQnPNh0ydnOQBnmuMX8C X-Received: by 2002:a17:906:d8c3:: with SMTP id re3mr1919392ejb.167.1571986727387; Thu, 24 Oct 2019 23:58:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571986727; cv=none; d=google.com; s=arc-20160816; b=mS2owRNmRAlFQT+JPZIG1bF6vX1OCDNc2JGNaUOSBNy8u1TsyX4qns49QsvoEyHHg6 xLMb0annAkbtCQWENtLUGtXP1tmUlIu4xT74uWSmQCyg2ez13a6ugIdC7hPvqnTeQbwv h4XZ6KjUzDT9iAWWCdbv8efBTkMg3hkecyKxfJ+upHObRXpT9o3dE3iicvHO0ccyHJKm XlNBkZ8jL6px36hfzFgLjrTcD6KsQATrBWi1K7OqWgfFDVK2h1maUogpIHfbqGZoN1BZ 5pJq+yyb/icIRACfjlV9W2ytJGkCZrG3AiKFf2t1IX0p5Y21/Nk45NNk+u86AVuSkPG8 7arQ== 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=vwjgCz48Y5r/cezJCdx+qJGNO3yZQpFvvBrTdsAsMaU=; b=sOZKvnQt3Z/pdEYWuCHdvzoeZyc61XcGuLfdZfhaWle8qIBUJcIdbA4/MfDT0VGI4b XnVQRuVS5Ip+oLQkDveaqKXgooR5IVznJpS3uT5q0hlPL6pUW5/299AMgO2+WNzZ+Yv+ YkLRq4wwaJn/gYp5yw2sJFSkXWF0XReGu7Yp1ywdj59ZndzT/DswwgrAwWVEslY3wZ73 5Z8/zBN5qdM81lqx6hDLVXtAJ/X1AEROHB08sYouVZ34Hp/kMspuSBNYcM2AAcYZh00B uwE3RoydW/d4cUo6CmPUUmCSH81gjLC7hl9KTVI6D/Y9POSGTXj7mXuMqbUa5mg50ST1 2VQg== 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 b47si655441edc.129.2019.10.24.23.58.11; Thu, 24 Oct 2019 23:58:47 -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 S2393347AbfJXKOG convert rfc822-to-8bit (ORCPT + 99 others); Thu, 24 Oct 2019 06:14:06 -0400 Received: from rtits2.realtek.com ([211.75.126.72]:53523 "EHLO rtits2.realtek.com.tw" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2393328AbfJXKOG (ORCPT ); Thu, 24 Oct 2019 06:14:06 -0400 Authenticated-By: X-SpamFilter-By: BOX Solutions SpamTrap 5.62 with qID x9OAE0d5016626, This message is accepted by code: ctloc85258 Received: from mail.realtek.com (RTITCASV02.realtek.com.tw[172.21.6.19]) by rtits2.realtek.com.tw (8.15.2/2.57/5.78) with ESMTPS id x9OAE0d5016626 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 24 Oct 2019 18:14:00 +0800 Received: from RTITMBSVM04.realtek.com.tw ([fe80::e404:880:2ef1:1aa1]) by RTITCASV02.realtek.com.tw ([::1]) with mapi id 14.03.0468.000; Thu, 24 Oct 2019 18:14:00 +0800 From: Tony Chuang To: Kalle Valo CC: "linux-wireless@vger.kernel.org" Subject: RE: [PATCH] rtw88: fix GENMASK_ULL for u64 Thread-Topic: [PATCH] rtw88: fix GENMASK_ULL for u64 Thread-Index: AQHVikxJCyqXv3HRNU+F6JfFe6i286dpkRaTgAABnAA= Date: Thu, 24 Oct 2019 10:13:59 +0000 Message-ID: References: <20191024091948.10569-1-yhchuang@realtek.com> <87ftjie9t3.fsf@tynnyri.adurom.net> In-Reply-To: <87ftjie9t3.fsf@tynnyri.adurom.net> 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="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org > Subject: Re: [PATCH] rtw88: fix GENMASK_ULL for u64 > > writes: > > > From: Yan-Hsuan Chuang > > > > This fixes compile warning: > > > > In file included from include/linux/bitops.h:5:0, > > from include/linux/kernel.h:12, > > from include/asm-generic/bug.h:19, > > from arch/mips/include/asm/bug.h:42, > > from include/linux/bug.h:5, > > from include/net/mac80211.h:16, > > from > drivers/net/wireless/realtek/rtw88/main.h:8, > > from > drivers/net/wireless/realtek/rtw88/main.c:5: > > drivers/net/wireless/realtek/rtw88/main.c: In function > 'rtw_update_rate_mask': > > include/linux/bits.h:23:11: warning: right shift count is negative > > [-Wshift-count-negative] > > (~UL(0) >> (BITS_PER_LONG - 1 - (h)))) > > ^ > > drivers/net/wireless/realtek/rtw88/main.c:622:17: note: in expansion > of macro 'GENMASK' > > u64 cfg_mask = GENMASK(63, 0); > > ^~~~~~~ > > > > Fixes: f39e9bd49a3d ("rtw88: add set_bitrate_mask support") > > Signed-off-by: Yan-Hsuan Chuang > > I'll add: > > Reported-by: kbuild test robot > Yes, please add it, I forgot about it. Thanks Yan-Hsuan