commit | 2f02a7ecd512288c40bd72bdd4d87ab4f01c1615 | [log] [tgz] |
---|---|---|
author | Fuqian Huang <huangfq.daxian@gmail.com> | Fri Jun 28 10:50:35 2019 +0800 |
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | Fri Jun 28 10:20:39 2019 +0200 |
tree | b52dd965b6da75badb3f3d0a39a531b1fc85f973 | |
parent | e9bea8f98a539080070e3eff70a1731ce0ffdc8d [diff] |
kernel: power: swap: use kzalloc() instead of kmalloc() followed by memset() Use zeroing allocator instead of using allocator followed with memset with 0 Signed-off-by: Fuqian Huang <huangfq.daxian@gmail.com> Acked-by: Pavel Machek <pavel@ucw.cz> [ rjw: Subject ] Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>