hostfs: Use kasprintf() instead of fixed buffer formatting
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 20 Mar 2020 13:07:35 +0000 (15:07 +0200)
committerRichard Weinberger <richard@nod.at>
Sun, 29 Mar 2020 21:23:00 +0000 (23:23 +0200)
commitb58c4e96192ee7c47d5c67853b1557306cfa0e7f
treee7821ac3173db2b5d060c2b28fb6063859ef8cf7
parent35f3401317a3b26aa01fde8facfd320f2628fdcc
hostfs: Use kasprintf() instead of fixed buffer formatting

Improve readability and maintainability by replacing a hardcoded string
allocation and formatting by the use of the kasprintf() helper.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
fs/hostfs/hostfs_kern.c