[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20161115122153.GO28701@mwanda>
Date: Tue, 15 Nov 2016 15:21:54 +0300
From: Dan Carpenter <dan.carpenter@...cle.com>
To: Sergio Paracuellos <sergio.paracuellos@...il.com>
Cc: gregkh@...uxfoundation.org, devel@...verdev.osuosl.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/4] staging: wlan-ng: use GENMASK macro in different
defines of hfa384x.h
On Thu, Nov 10, 2016 at 07:16:39PM +0100, Sergio Paracuellos wrote:
> +#define HFA384x_CMD_AINFO ((u16)GENMASK(14, 8))
The casts to u16 are pointless because of type promotion and half of
these defines aren't used anyway (both that I looked at).
regards,
dan carpenter
Powered by blists - more mailing lists