Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 7f166add authored by Andy Shevchenko's avatar Andy Shevchenko
Browse files

platform/x86: wmi: Replace kmalloc + sprintf() with kasprintf()



kasprintf() does the job of two: kmalloc() and sprintf().
Replace two calls with one.

Reviewed-by: default avatarDarren Hart (VMware) <dvhart@infradead.org>
Signed-off-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
parent 04e4e888
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