printf: add tests for generic FourCCs
authorAditya Garg <gargaditya08@live.com>
Tue, 8 Apr 2025 06:48:32 +0000 (12:18 +0530)
committerAlyssa Rosenzweig <alyssa@rosenzweig.io>
Mon, 21 Apr 2025 14:18:30 +0000 (10:18 -0400)
commit403ff8fd2dbf5066128af4d1fde76c35a800369d
tree622b9aca581338c0836844969cde40e6265e090f
parent1938479b2720ebc05aab349c7dc0a53921ff7c87
printf: add tests for generic FourCCs

This patch adds support for kunit tests of generic 32-bit FourCCs added to
vsprintf.

Acked-by: Tamir Duberstein <tamird@gmail.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Petr Mladek <pmladek@suse.com>
Tested-by: Petr Mladek <pmladek@suse.com>
Signed-off-by: Aditya Garg <gargaditya08@live.com>
Reviewed-by: Kees Cook <kees@kernel.org>
Link: https://lore.kernel.org/r/PN3PR01MB95973AF4F6262B2D1996FB25B8B52@PN3PR01MB9597.INDPRD01.PROD.OUTLOOK.COM
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
lib/tests/printf_kunit.c