Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.5 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_PASS,USER_AGENT_MUTT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4FC20C4360F for ; Mon, 11 Mar 2019 13:11:04 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 2B60320657 for ; Mon, 11 Mar 2019 13:11:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727017AbfCKNLD (ORCPT ); Mon, 11 Mar 2019 09:11:03 -0400 Received: from mx1.redhat.com ([209.132.183.28]:47862 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726605AbfCKNLD (ORCPT ); Mon, 11 Mar 2019 09:11:03 -0400 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 242B03092646; Mon, 11 Mar 2019 13:11:03 +0000 (UTC) Received: from localhost (unknown [10.43.2.83]) by smtp.corp.redhat.com (Postfix) with ESMTP id B7EC660BEE; Mon, 11 Mar 2019 13:11:02 +0000 (UTC) Date: Mon, 11 Mar 2019 14:11:00 +0100 From: Stanislaw Gruszka To: yhchuang@realtek.com Cc: kvalo@codeaurora.org, johannes@sipsolutions.net, gregkh@linuxfoundation.org, linux-wireless@vger.kernel.org, Larry.Finger@lwfinger.net, pkshih@realtek.com, tehuang@realtek.com, briannorris@chromium.org Subject: Re: [PATCH v7 01/14] rtw88: main files Message-ID: <20190311131100.GA6482@redhat.com> References: <1552139302-20476-1-git-send-email-yhchuang@realtek.com> <1552139302-20476-2-git-send-email-yhchuang@realtek.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1552139302-20476-2-git-send-email-yhchuang@realtek.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.43]); Mon, 11 Mar 2019 13:11:03 +0000 (UTC) Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org > +#define RA_MASK_VHT_RATES_1SS (0x3ff000 << 0) > +#define RA_MASK_VHT_RATES_2SS (0x3ff000 << 10) > +#define RA_MASK_VHT_RATES_3SS (0x3ff000 << 20) Result will not fit in 32 bit, ULL marker should be added. I would also check if the driver compile without warnings on 32 bit cpus. Stanislaw