Skip to content
Snippets Groups Projects
Commit 365cf663 authored by Roland Kammerer's avatar Roland Kammerer Committed by Jens Axboe
Browse files

drbd: switch from kmalloc() to kmalloc_array()


We had one call to kmalloc that actually allocates an array. Switch that
one to the kmalloc_array() function.

Signed-off-by: default avatarPhilipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: default avatarLars Ellenberg <lars.ellenberg@linbit.com>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent d3d2948f
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment