commit | 9920a33e3573a207cd49895080e2806134e5e56f | [log] [tgz] |
---|---|---|
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | Tue May 23 17:07:45 2017 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu May 25 15:41:20 2017 +0200 |
tree | 69192fdeeeaf1fe7a5095749eae6448403a8ceaf | |
parent | 3eec6a1c0cf31b982cad560c16e19fdb1851ae91 [diff] |
firmware: vpd: use kasprintf() when forming name of 'raw' attribute When creating name for the "raw" attribute, let's switch to using kaspeintf() instead of doing it by hand. Also make sure we handle errors. Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com> Reviewed-by: Guenter Roeck <groeck@chromium.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>