]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commitc4dd4b69f55abcc8dd079f8de55d9d8c2ddbefce
tree1a13d008255c923ebaef205e82491995d1837024
parent98b80a2a73a26f0e259632da519ccedb0cf37617
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