Open GustavoARSilva opened 1 year ago
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: https://github.com/KSPP/linux/issues/187
Did this get sent upstream? I see the earlier commit 73f1d07e5f8a1dec989a5ec964f5f2ce5b6f8825, though?
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: https://github.com/KSPP/linux/issues/187