On Thu, Dec 12, 2019 at 05:00:49PM -0500, Doug Ledford wrote: > On Thu, 2019-12-12 at 11:21 +0000, Leon Romanovsky wrote: > > > > @@ -2288,8 +2332,9 @@ static int handle_alloc_dm_memic(struct > > > > ib_ucontext *ctx, > > > > { > > > > struct mlx5_dm *dm_db = &to_mdev(ctx->device)->dm; > > > > u64 start_offset; > > > > - u32 page_idx; > > > > + u16 page_idx = 0; > > > > > > This hunk is not needed. > > > > To be clear, I wanted to say this about "= 0" part. The change of the > > type is still needed. > > > > Thanks > > I fixed it up when I took the two patches. Applied to for-rc, thanks. Thanks a lot. > > -- > Doug Ledford <dledford@xxxxxxxxxx> > GPG KeyID: B826A3330E572FDD > Fingerprint = AE6B 1BDA 122B 23B4 265B 1274 B826 A333 0E57 2FDD