Skip to content

Add vzalloc() and vmalloc() functions to alloc-with-multiplies check in checkpatch.pl #342

Description

@GustavoARSilva

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions