On Tue, Feb 19, 2019 at 03:07:34PM +0200, Leon Romanovsky wrote: > From: Noa Osherovich <noaos@xxxxxxxxxxxx> > > Before calling the provider's alloc_mw function, verify that the > given memory type is either IB_MW_TYPE_1 or IB_MW_TYPE_2. > > Signed-off-by: Noa Osherovich <noaos@xxxxxxxxxxxx> > Signed-off-by: Leon Romanovsky <leonro@xxxxxxxxxxxx> > --- > drivers/infiniband/core/uverbs_cmd.c | 5 +++++ > 1 file changed, 5 insertions(+) Applied to for-next Thanks, Jason