Skip to content
Commit 73f1d07e authored by Gustavo A. R. Silva's avatar Gustavo A. R. Silva
Browse files

checkpatch: add new alloc functions to alloc with multiplies check

kvmalloc() and kvzalloc() functions have now 2-factor multiplication
argument forms kvmalloc_array() and kvcalloc(), correspondingly.

Add alloc-with-multiplies checks for these new functions.

Link: https://github.com/KSPP/linux/issues/187


Signed-off-by: default avatarGustavo A. R. Silva <gustavoars@kernel.org>
parent ce522ba9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment