[dpdk-dev] [PATCH] mlx4: fix compilation warnings for 32 bit

Thomas Monjalon thomas.monjalon at 6wind.com
Fri Jun 12 17:42:53 CEST 2015


> > Fix warning messages "cast to pointer from integer of different size" when
> > compiling DPDK in 32 bit with Mellanox PMD.
> > 
> > SGE addresses are 64 bit integers, converting them to pointers must be done
> > through uintptr_t to avoid compilation warnings when those have a different
> > size.
> > 
> > Signed-off-by: Nelio Laranjeiro <nelio.laranjeiro at 6wind.com>
> 
> Acked-by: Adrien Mazarguil <adrien.mazarguil at 6wind.com>

Applied, thanks


More information about the dev mailing list