You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update checkpatch.pl to check for instances of vzalloc()/vmalloc() that could be replaced with their 2-factor multiplication argument form vcalloc()/vmalloc_array (). So, they can be caught before new code is even committed.
… check
vmalloc() and vzalloc() functions have now 2-factor multiplication
argument forms vmalloc_array() and vcalloc(), correspondingly.
Add alloc-with-multiplies checks for these new functions.
Link: KSPP#342
Signed-off-by: Gustavo A. R. Silva <[email protected]>
… check
vmalloc() and vzalloc() functions have now 2-factor multiplication
argument forms vmalloc_array() and vcalloc(), correspondingly.
Add alloc-with-multiplies checks for these new functions.
Simplify the original codes repeated else to use a hash.
Link: KSPP#342
Original-patch-by: Gustavo A. R. Silva <[email protected]>
Link: https://lore.kernel.org/lkml/ZQCaO+tYycDxVLy7@work/
Signed-off-by: Joe Perches <[email protected]>
Update checkpatch.pl to check for instances of vzalloc()/vmalloc() that could be replaced with their 2-factor multiplication argument form vcalloc()/vmalloc_array (). So, they can be caught before new code is even committed.
Related to:
#187
The text was updated successfully, but these errors were encountered: