]> git.baikalelectronics.ru Git - kernel.git/commit
staging/rdma/hfi1: diag.c correct sizeof parameter
authorIra Weiny <ira.weiny@intel.com>
Wed, 2 Dec 2015 05:43:32 +0000 (00:43 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 21 Dec 2015 21:53:37 +0000 (13:53 -0800)
commit5614b584199fa7d0579b3d4e3c9fe78436e9bc43
tree73ceb2d12eca7f485284c99997c9841234d7598d
parentd638d0bc26736527be60b48d5723eb325002dab6
staging/rdma/hfi1: diag.c correct sizeof parameter

sizeof should use the variable rather than the struct definition to ensure that
type changes are properly accounted for.

Signed-off-by: Ira Weiny <ira.weiny@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rdma/hfi1/diag.c