Skip to content
Commit fe69795e authored by Denis Efremov's avatar Denis Efremov Committed by Greg Kroah-Hartman
Browse files

char: mspec: Use kvzalloc() in mspec_mmap()



Use kvzalloc() in mspec_mmap() instead of open-coding it.

Signed-off-by: default avatarDenis Efremov <efremov@linux.com>
Link: https://lore.kernel.org/r/20200827213421.50429-1-efremov@linux.com


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 284f52ac
Loading
Loading
Loading
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