Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp3166815ybg; Thu, 24 Oct 2019 23:28:56 -0700 (PDT) X-Google-Smtp-Source: APXvYqwGNim1sdowgiPE0qdYPAn/k4okj2EaKEUlfkHJfN5L1BdMIuYyYOYjLCF0HovnodsDJjVp X-Received: by 2002:a17:906:1c19:: with SMTP id k25mr1041236ejg.243.1571984936023; Thu, 24 Oct 2019 23:28:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571984936; cv=none; d=google.com; s=arc-20160816; b=0AWEnT24fmFvLV0MmCFcAyzo8Rq+zwhsqbqehEkAG+9acXIUHMniSCOjFiWL2BiWuS 7Eq6alEOqxF5BtFRhko0OrZPjuvRzHC6hVbDJU+/HMk2EDkNYcCdKt3n0U7r/XNMxXQw jpMVTHn/uG42k6QHq6FTPSU0iGMd24uzCg3qisteRw6nCru8sWKp9pE80lX6+FNwb/8e 3MTgJbp1FYXn5Qqv2/9ZVY75W0NDM+F3l2FcQiXTBa8IOA0TJbNYbX7QGcO2M8xTGdrz opyl8zWGKb3fCzQEZVdyoiEba2aK0+loXSZEg7zotQbgWSyvyEVlgveEwp536QgGQg8q Gyjw== 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=LLcxBDuPpa7V5AbF0UrPXmS2M2/0CoT8d7lJyEMvGEk=; b=BMRo4791yswDFRK4Y+dKvPC6+M+T4vTMmds/WMte0UBTaPy1wLqqH8EMmQNplkwg4H mHmzYZVxnSgGrIrn/Axbhwh9UXKNrrhn5ABburQx66CyRJBRKn6W5jSLRT1ND1xUgeeH 7aX7/7b9d+9YsgwOeKeD+L10rOryqVxOnRjz8JyDivEOM4jeo0ye3z2rAV5Ui+1eeBxw XW89C0EDjtaXMjzPhGSJrA1ygo2bdM1N9eREGdX0lq7/7kutdEI/c5f/Y4QZTBoHAyCq x1ctOPa7ZDBWkyPfWOKbRK/QjlZxzAc/qOtbcjjU3mxKgIW5/HpFHxUCN/RbSUGE8tT1 TYHg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=mGKqCa5b; dkim=pass header.i=@codeaurora.org header.s=default header.b=WORImIE3; 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 o32si561503edc.306.2019.10.24.23.28.31; Thu, 24 Oct 2019 23:28:55 -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=mGKqCa5b; dkim=pass header.i=@codeaurora.org header.s=default header.b=WORImIE3; 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 S2393195AbfJXKH2 (ORCPT + 99 others); Thu, 24 Oct 2019 06:07:28 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:36180 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390572AbfJXKH0 (ORCPT ); Thu, 24 Oct 2019 06:07:26 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id BA36F60D9D; Thu, 24 Oct 2019 10:07:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1571911646; bh=3HRV3/j6kPCBPAw9zEpnXfXY5IayCssj8E6lqB3QPFE=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=mGKqCa5bj8ODjoaONbCwAjUv1DRfc8xeg+wblkUMRlX2nt1YL+G9dat9sTNVbgTUu dhenn2w5S7x2GUakuWwfsQbp0U2+Fh8sT4tFz3EIOn3v5xE7dNH3T5+vZDXddpsFwA 0UP2xQV1BDeU3n5M4DV7Yk0VpCebcCae9F4OEDCI= 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 771B7602DF; Thu, 24 Oct 2019 10:07:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1571911644; bh=3HRV3/j6kPCBPAw9zEpnXfXY5IayCssj8E6lqB3QPFE=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=WORImIE3uRBfKzC6vIKLAudqrVJp2FfjQPCLETjiX3YnzZEMxI7m7/nzEC1p1HAHg Lgz1EhOLzdyEG1fLs6JN2/QgERbmqKOEDpBcXvFbtgqgnakCnj03+lnvf/PnWFC9iA z5aga/sdZBdUi0PMsOKe5T6DxLR2Ea+nyqO9NxVQ= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 771B7602DF 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: Cc: , Subject: Re: [PATCH] rtw88: fix GENMASK_ULL for u64 References: <20191024091948.10569-1-yhchuang@realtek.com> Date: Thu, 24 Oct 2019 13:07:20 +0300 In-Reply-To: <20191024091948.10569-1-yhchuang@realtek.com> (yhchuang's message of "Thu, 24 Oct 2019 17:19:48 +0800") Message-ID: <87ftjie9t3.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 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 -- https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches