hte: Use kasprintf() instead of fixed buffer formatting
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 10 Oct 2023 14:11:23 +0000 (17:11 +0300)
committerDipen Patel <dipenp@nvidia.com>
Fri, 27 Oct 2023 21:09:22 +0000 (14:09 -0700)
commitfc62d5e214df2dd64f5d675f01b609d86a422a2b
tree9b99575858beed9cd7d1964ada041ae571a959df
parentb7c3ca3553d1de5e86c85636828e186d30cd0628
hte: 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>
Reviewed-by: Dipen Patel <dipenp@nvidia.com>
Signed-off-by: Dipen Patel <dipenp@nvidia.com>
drivers/hte/hte.c