]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/hfi1: fix array termination by appending NULL to attr array
authorSteven L. Roberts <robers97@gmail.com>
Wed, 10 May 2017 15:54:12 +0000 (10:54 -0500)
committerDoug Ledford <dledford@redhat.com>
Thu, 1 Jun 2017 21:03:19 +0000 (17:03 -0400)
commitd36e67e91178f6afbe2f98f7db6dcf530bde94ff
tree1a13d008255c923ebaef205e82491995d1837024
parente814b7f5736a5152067d635fc7133b659de0d0d9
RDMA/hfi1: fix array termination by appending NULL to attr array

This fixes a kernel panic when loading the hfi driver as a dynamic module.

Signed-off-by: Steven L Roberts <robers97@gmail.com>
Reviewed-by: Leon Romanovsky <leon@kernel.org>
Acked-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/hfi1/sysfs.c