aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/cxgb4
diff options
context:
space:
mode:
authorMarkus Elfring <elfring@users.sourceforge.net>2017-02-16 09:30:55 +0100
committerDoug Ledford <dledford@redhat.com>2017-04-20 16:31:49 -0400
commit4418b27b525b688777b27b9aa8e7b43de7ac037a (patch)
tree37754ef087384fae62beedb7242925ee33b9f7d7 /drivers/infiniband/hw/cxgb4
parentIB/hns: Use kmalloc_array() in hns_roce_cmd_use_events() (diff)
downloadlinux-dev-4418b27b525b688777b27b9aa8e7b43de7ac037a.tar.xz
linux-dev-4418b27b525b688777b27b9aa8e7b43de7ac037a.zip
IB/hns: Use kcalloc() in hns_roce_buddy_init()
* Multiplications for the size determination of memory allocations indicated that array data structures should be processed. Thus use the corresponding function "kcalloc". This issue was detected by using the Coccinelle software. * Replace the specification of data types by pointer dereferences to make the corresponding size determinations a bit safer according to the Linux coding style convention. Signed-off-by: Markus Elfring <elfring@users.sourceforge.net> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/hw/cxgb4')
0 files changed, 0 insertions, 0 deletions