linux/drivers/platform/wmi/tests
Armin Wolf 204b52fadf
platform/wmi: Prepare to reject undersized unmarshalling results
Driver using the buffer-based WMI API usually reject buffers resulting
from WMI method calls or block queries if they contain not enough data.
Prepare the WMI core for assisting in this by automatically rejecting
undersized unmarshalling results.

Signed-off-by: Armin Wolf <W_Armin@gmx.de>
Link: https://patch.msgid.link/20260406203237.2970-4-W_Armin@gmx.de
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
2026-04-13 14:11:22 +03:00
..
Kconfig platform/wmi: Add kunit test for the string conversion code 2026-01-20 15:47:52 +02:00
Makefile platform/wmi: Add kunit test for the string conversion code 2026-01-20 15:47:52 +02:00
marshalling_kunit.c platform/wmi: Prepare to reject undersized unmarshalling results 2026-04-13 14:11:22 +03:00
string_kunit.c platform/wmi: string-kunit: Add missing oversized string test case 2026-01-26 16:03:18 +02:00