On Wed, Nov 17, 2021 at 04:59:54PM +0200, Kamal Heib wrote: > Before query pkey, make sure that the queried index is valid. > > Fixes: 9a4435375cd1 ("IB/hns: Add driver files for hns RoCE driver") > Signed-off-by: Kamal Heib <kamalheib1@xxxxxxxxx> > --- > v2: Fix commit message. > --- > drivers/infiniband/hw/hns/hns_roce_main.c | 3 +++ > 1 file changed, 3 insertions(+) Applied to for-next, thanks Jason