netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: linux-next: Tree for Dec 9 (ethernet/mellanox/mlx5)
       [not found] <20201209214447.3bfdeb87@canb.auug.org.au>
@ 2020-12-09 20:14 ` Randy Dunlap
  2020-12-09 22:20   ` Stephen Rothwell
  0 siblings, 1 reply; 2+ messages in thread
From: Randy Dunlap @ 2020-12-09 20:14 UTC (permalink / raw)
  To: Stephen Rothwell, Linux Next Mailing List, Saeed Mahameed,
	Leon Romanovsky
  Cc: Linux Kernel Mailing List, netdev@vger.kernel.org,
	linux-rdma@vger.kernel.org

On 12/9/20 2:44 AM, Stephen Rothwell wrote:
> Hi all,
> 
> Changes since 20201208:
> 

on i386:

I see this warning:/note: repeated 106 times on i386 build:

                 from ../drivers/net/ethernet/mellanox/mlx5/core/alloc.c:34:
../include/vdso/bits.h:7:26: warning: left shift count >= width of type [-Wshift-count-overflow]
 #define BIT(nr)   (UL(1) << (nr))
                          ^
../include/linux/mlx5/mlx5_ifc.h:10716:46: note: in expansion of macro ‘BIT’
  MLX5_HCA_CAP_GENERAL_OBJECT_TYPES_SAMPLER = BIT(0x20),
                                              ^~~



-- 
~Randy
Reported-by: Randy Dunlap <rdunlap@infradead.org>

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: linux-next: Tree for Dec 9 (ethernet/mellanox/mlx5)
  2020-12-09 20:14 ` linux-next: Tree for Dec 9 (ethernet/mellanox/mlx5) Randy Dunlap
@ 2020-12-09 22:20   ` Stephen Rothwell
  0 siblings, 0 replies; 2+ messages in thread
From: Stephen Rothwell @ 2020-12-09 22:20 UTC (permalink / raw)
  To: Randy Dunlap
  Cc: Linux Next Mailing List, Saeed Mahameed, Leon Romanovsky,
	Linux Kernel Mailing List, netdev@vger.kernel.org,
	linux-rdma@vger.kernel.org, Chris Mi

[-- Attachment #1: Type: text/plain, Size: 894 bytes --]

Hi all,

On Wed, 9 Dec 2020 12:14:39 -0800 Randy Dunlap <rdunlap@infradead.org> wrote:
>
> On 12/9/20 2:44 AM, Stephen Rothwell wrote:
> > Hi all,
> > 
> > Changes since 20201208:
> >   
> 
> on i386:
> 
> I see this warning:/note: repeated 106 times on i386 build:
> 
>                  from ../drivers/net/ethernet/mellanox/mlx5/core/alloc.c:34:
> ../include/vdso/bits.h:7:26: warning: left shift count >= width of type [-Wshift-count-overflow]
>  #define BIT(nr)   (UL(1) << (nr))
>                           ^
> ../include/linux/mlx5/mlx5_ifc.h:10716:46: note: in expansion of macro ‘BIT’
>   MLX5_HCA_CAP_GENERAL_OBJECT_TYPES_SAMPLER = BIT(0x20),
>                                               ^~~

Introduced by commit

  2a2970891647 ("net/mlx5: Add sample offload hardware bits and structures")

now in the net-next tree.
-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-12-09 22:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20201209214447.3bfdeb87@canb.auug.org.au>
2020-12-09 20:14 ` linux-next: Tree for Dec 9 (ethernet/mellanox/mlx5) Randy Dunlap
2020-12-09 22:20   ` Stephen Rothwell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).