Re: [PATCH rdma/wip/jgg-for-next v1 3/5] IB/{core,hw,sw}: pass uverbs_attr_bundle down ib_x destroy path

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Feb 26, 2019 at 02:44:55PM +0200, Shamir Rabinovitch wrote:

> @@ -3236,9 +3236,14 @@ enum ib_pd_flags {
>  
>  struct ib_pd *__ib_alloc_pd(struct ib_device *device, unsigned int flags,
>  		const char *caller);
> +
>  #define ib_alloc_pd(device, flags) \
>  	__ib_alloc_pd((device), (flags), KBUILD_MODNAME)
> -void ib_dealloc_pd(struct ib_pd *pd);
> +
> +void ib_dealloc_pd_user(struct ib_pd *pd, struct ib_udata *udata);
> +
> +#define ib_dealloc_pd(_pd)	\
> +	ib_dealloc_pd_user((_pd), (NULL))

static inline not defines for all these cases




[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux