Skip to content

Commit cd8c058

Browse files
rfvirgilbroonie
authored andcommitted
firmware: cs_dsp: Add KUnit testing of bin error cases
Add tests for various types of errors and illegal values in bin files. This covers buffer overflows as well as general unsupported field values. Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com> Link: https://patch.msgid.link/20241212143725.1381013-11-rf@opensource.cirrus.com Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent fe54fd5 commit cd8c058

2 files changed

Lines changed: 601 additions & 0 deletions

File tree

drivers/firmware/cirrus/test/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ cs_dsp_test_utils-objs := \
1010

1111
cs_dsp_test-objs := \
1212
cs_dsp_test_bin.o \
13+
cs_dsp_test_bin_error.o \
1314
cs_dsp_test_control_parse.o \
1415
cs_dsp_test_control_cache.o \
1516
cs_dsp_test_control_rw.o \

0 commit comments

Comments
 (0)