qnlx: Do not redifines types.
r360870 added linux/slab.h into liunx/bitmap.h and this include linux/types.h The qlnx driver is redefining some of those types so remove them and add an explicit linux/types.h include. Pointy hat: manu Reported by: Austin Shafer <ashafer@badland.io>
This commit is contained in:
parent
3d84874da0
commit
1d7d49c360
@ -34,6 +34,8 @@
|
||||
#include "ecore_status.h"
|
||||
#include <sys/bitstring.h>
|
||||
|
||||
#include <linux/types.h>
|
||||
|
||||
#if __FreeBSD_version >= 1200032
|
||||
#include <linux/bitmap.h>
|
||||
#else
|
||||
@ -113,11 +115,6 @@ extern void qlnx_vf_flr_update(void *p_hwfn);
|
||||
|
||||
#ifndef QLNX_RDMA
|
||||
|
||||
typedef uint16_t __le16;
|
||||
typedef uint32_t __le32;
|
||||
typedef uint16_t __be16;
|
||||
typedef uint32_t __be32;
|
||||
|
||||
static __inline unsigned long
|
||||
roundup_pow_of_two(unsigned long x)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user