diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2018-02-16 17:40:24 +0200 |
---|---|---|
committer | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2018-02-19 17:03:43 +0200 |
commit | 7f166addbebdcaeefe36997d5b8dceb96c5619fa (patch) | |
tree | d66206c1b447f0b842c0d684ce0a219432e0b0d1 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 04e4e888558ebe5d9701e31bba61d4e256ab71a8 (diff) |
platform/x86: wmi: Replace kmalloc + sprintf() with kasprintf()
kasprintf() does the job of two: kmalloc() and sprintf().
Replace two calls with one.
Reviewed-by: Darren Hart (VMware) <dvhart@infradead.org>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions