Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp4042349ybg; Fri, 25 Oct 2019 12:29:23 -0700 (PDT) X-Google-Smtp-Source: APXvYqyHwXwPVnpsygCaGFxZa8+sgkzpVr72/Z67NQDaLcwaarPlyQaIOhLgQgdbg+4WLGSmjd/k X-Received: by 2002:a17:906:300a:: with SMTP id 10mr5186881ejz.104.1572031763246; Fri, 25 Oct 2019 12:29:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572031763; cv=none; d=google.com; s=arc-20160816; b=voE2Vi+vrIWhJhZ/fF/CHf3eRRBjqoQgn/qhxyuK1jkIUSXvtDo9OsvaInq3OP3Qct 748si9ZubqwizrgvzBqUCMOHBXHEi3pyGEtQ/cCvA7T6VXSim/x5iSEqmObwX0a1bEbG zq8Qm44dNhpEqVdlvk7XbCGiOGv3Ynjev9jTfBlsifU08Ko8MR4ynbYQOcwZOIDSKEH0 dXE0pBfD5WJ7ynOYUAZbP5fibxnt+wbB4cGDCU1OCw+Jrw0wDQ8dnawQhdsCC51Xmh9f 9U8kDl5jvXut/cL0alO58wDP4/TmGSDgCAvBOG6YBbBHErjVl03UIlpU4Tug1iqFxf3k Q9PA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from:dmarc-filter :dkim-signature:dkim-signature; bh=6LMP6drlkiPNBxzK9C96g+d6xosmjemRiyXEOTdeQ/g=; b=wXxUwE6p/j8iUxv90DAYusvnnYHLyOhybCkZBqOPxSN6qafWNyrOEhMZnepQHSFJje n4v041+I6KR4sAFOrBsvf2qWQTCquYLxwxPya6psS9wPtw5DCwwcNk3wGNBxIMaOF9kC Og7Y7KWLWM17sb4t9v6OD9E7VOebeMzZTZMJcdtxtQXTHa3xWit47N60M7FLRwr2eYCD po1HQI2vpHYT2fxXAkwQZMXQcGr+/Oya7AvmbqCmkLmbsjw/BH9OymhspXlqzYVwMclY H2zD2UzRSO6uMiO5vYAuxvRwjQvJy3AKMgxyukugORCNGk8QWT3T/Quf/IjVclFikSn7 x6DQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b="Mng/FsLF"; dkim=pass header.i=@codeaurora.org header.s=default header.b=SljavbjB; 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 l19si2234999edj.414.2019.10.25.12.28.58; Fri, 25 Oct 2019 12:29:23 -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="Mng/FsLF"; dkim=pass header.i=@codeaurora.org header.s=default header.b=SljavbjB; 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 S2407290AbfJYHlF (ORCPT + 99 others); Fri, 25 Oct 2019 03:41:05 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:50052 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2406055AbfJYHlF (ORCPT ); Fri, 25 Oct 2019 03:41:05 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 173E860FB4; Fri, 25 Oct 2019 07:41:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1571989265; bh=VkDNXTxi5tmSfmj+pzf7jwxgrFJaxKhc7+lAfV16+fM=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=Mng/FsLFz9CT3k7fpoiY7S8xkzSebmRUUxwNUOEFb8EmtneEtafUBeuOjM5eYnbkf dI+dLmKTCePQqjvm8JHtH0tqQlOWu+DqOG4ohigQa8Pa0qIbJl0LPT6oeySgaBRSDR FDWXiIlBS/HJYYcFPku/XJRmcE19eYTCLB0AcLk0= 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=-2.7 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_INVALID,DKIM_SIGNED,SPF_NONE autolearn=no autolearn_force=no version=3.4.0 Received: from tynnyri.adurom.net (tynnyri.adurom.net [51.15.11.48]) (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 9DBAF60B69; Fri, 25 Oct 2019 07:41:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1571989264; bh=VkDNXTxi5tmSfmj+pzf7jwxgrFJaxKhc7+lAfV16+fM=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=SljavbjBZ5fltcrKksNCf/5Aavbmbc+QRRpe+TI7du0AaDMJSvVOmrP8GY8NwECuV nIyoZoNsDU6oCTzMaNThp+pNV4OMZ+6QqjciEbeYyH8tNUumVR8KEaUBTwmALohznK MbvjxMwXjRekBWgzYGZrHXuLByu9xnvHIaxsnRTw= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 9DBAF60B69 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 From: Kalle Valo To: Kalle Valo Cc: , Subject: Re: [PATCH] rtw88: fix GENMASK_ULL for u64 References: <20191024091948.10569-1-yhchuang@realtek.com> <87ftjie9t3.fsf@tynnyri.adurom.net> Date: Fri, 25 Oct 2019 10:41:00 +0300 In-Reply-To: <87ftjie9t3.fsf@tynnyri.adurom.net> (Kalle Valo's message of "Thu, 24 Oct 2019 13:07:20 +0300") Message-ID: <877e4te0hf.fsf@tynnyri.adurom.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Kalle Valo writes: > 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 Oh nice, patchwork automatically added the tag from my email above and I didn't have to do anything :) -- https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches