Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp4040825ybg; Fri, 25 Oct 2019 12:27:56 -0700 (PDT) X-Google-Smtp-Source: APXvYqyXX8ZDwVI1dVPwsRAc3SHnIotyr50tZHB2RAAstfefDnn2x6byajQyagUtMWkQmO7g0t20 X-Received: by 2002:a17:906:5ac5:: with SMTP id x5mr2833495ejs.257.1572031676290; Fri, 25 Oct 2019 12:27:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572031676; cv=none; d=google.com; s=arc-20160816; b=NuXnHwGszyCKkbjvfAQwfzvVT80f0wztHGRtDA8pQPV5UTQs7Szr+FFXv84VNN+167 w8Wl8K2mYjaMiZ3fvjizTJZMneS/yq9h2NFbylznHzBO4OGzijC7AxsKjWpW9l5a5roU lHLEoLWc/NspFXApNn+ugqa88vvcL9khRYvW2j5hTYGAcb0rFhV1ZfqGZkFAJ99n/oq2 EVkNI4/q6zbsNwx8Hue0lR9BHE5PpxICqgrt8kIsTdwM7oR9bz82t4RTHDnxJV1Sq4PV vXyVNI9pVaUDphufd5/8Nvv3BggEUBPtAdBS8pQzNR5H6GwCCt27/OI+qUT5bgn5W7sr oqmQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:message-id:user-agent:cc:to :references:in-reply-to:from:subject:content-transfer-encoding :mime-version:dmarc-filter:dkim-signature:dkim-signature; bh=c2lRUZNGmsDy1xTGLRHbFzof3KP44EYZW9PyTFW2QzM=; b=Cxx3iXsg9mlfRUBsF2egGt4h0sNNEiNS8MlXxrV+FF83k16dlCLp+NOO/NBTsbulLv h09dAV22OgjDYMIlcoIChC8250wB2s40raa9PfMBubaOmBS2CCLHeF3tJw8tTbFGnT5k uUfmJykZK85PrVY4WQqmKBGy29QptyGChQQ8Z4R0NFsSwvAVqHA6LUEsiyX2MVv3VjW+ xEiuArk3eBq0P8lij9IQjaD4pIiu+41t8Yaq/8SdFKacEQRaAvNgHABd2kujeTannPDa lpdwfYyAnn5PEJ8OyFcEPCJS51l17tTJDVbPQevpj0i10Ytw8dUCKXWJvkupCCnVLlim A9wg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=Ojn1qcFD; dkim=pass header.i=@codeaurora.org header.s=default header.b=NBvnw95M; 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 y61si2184537ede.24.2019.10.25.12.27.32; Fri, 25 Oct 2019 12:27:56 -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; dkim=pass header.i=@codeaurora.org header.s=default header.b=Ojn1qcFD; dkim=pass header.i=@codeaurora.org header.s=default header.b=NBvnw95M; 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 S2407215AbfJYHjD (ORCPT + 99 others); Fri, 25 Oct 2019 03:39:03 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:48986 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2406055AbfJYHjD (ORCPT ); Fri, 25 Oct 2019 03:39:03 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id BE27360FA8; Fri, 25 Oct 2019 07:39:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1571989142; bh=sJYrULRu+ClTuIbmxHelyJEkUfWqlypN16ZQnx14C/Q=; h=Subject:From:In-Reply-To:References:To:Cc:Date:From; b=Ojn1qcFDeRPxgqDo258jzzYxGYvfp5sZCCMXtUebe6AJYFh3L30ONDpJEPQlpn+ZS eCx3n9smsgByvqQN+cMH1HCZP1r7i3UJj9kKMokfq40wZfbXnMM0KYX9h5nWh1UtsV N2aFxGd40UCqm5eRYX2d+fMyYC33WbLuANRT+2hA= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_INVALID,DKIM_SIGNED,MISSING_DATE,MISSING_MID,SPF_NONE autolearn=no autolearn_force=no version=3.4.0 Received: from potku.adurom.net (unknown [88.114.240.156]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: kvalo@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 1A5ED60FB8; Fri, 25 Oct 2019 07:39:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1571989142; bh=sJYrULRu+ClTuIbmxHelyJEkUfWqlypN16ZQnx14C/Q=; h=Subject:From:In-Reply-To:References:To:Cc:From; b=NBvnw95M8wp6y9vK7rJXrdWH3Af1CxI1IP9wuWLf1DSHRTjwUm3kpS5zh+n47CD0B FMawynwXBQrjPr492nA5E/eFg20yp2N+QO7ZbjTYobZEdfxjkS0pmr4cqutr4bYQ0d 55Aih15KeTOS0dXtUmZRBr5la2uDl0vx+f2U9gCs= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 1A5ED60FB8 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=kvalo@codeaurora.org Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [PATCH] rtw88: fix GENMASK_ULL for u64 From: Kalle Valo In-Reply-To: <20191024091948.10569-1-yhchuang@realtek.com> References: <20191024091948.10569-1-yhchuang@realtek.com> To: Cc: User-Agent: pwcli/0.0.0-git (https://github.com/kvalo/pwcli/) Python/2.7.12 Message-Id: <20191025073902.BE27360FA8@smtp.codeaurora.org> Date: Fri, 25 Oct 2019 07:39:02 +0000 (UTC) Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org wrote: > 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); > ^~~~~~~ > > Reported-by: kbuild test robot > Fixes: f39e9bd49a3d ("rtw88: add set_bitrate_mask support") > Signed-off-by: Yan-Hsuan Chuang > Reported-by: kbuild test robot Patch applied to wireless-drivers-next.git, thanks. 5c70e9714254 rtw88: fix GENMASK_ULL for u64 -- https://patchwork.kernel.org/patch/11208607/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches