Skip to content

Commit 76e615b

Browse files
committed
dmaengine: sdxi: test: Enable packing build-time checks by default
And make it clear that we're referring to build time in the commentary about SKIP_PACKING_CHECKS. Signed-off-by: Nathan Lynch <nathan.lynch@amd.com>
1 parent 085c36e commit 76e615b

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

drivers/dma/sdxi/descriptor_kunit.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@
1212
* SDXI_DSC_VL in the test code makes it possible for the tests to
1313
* detect any mistakes in defining them.
1414
*
15-
* Note that the checks in unpack_fields() are quite time-consuming;
16-
* add '#define SKIP_PACKING_CHECKS' if that's too annoying when
17-
* working on this code.
15+
* Note that the checks in unpack_fields() can be quite time-consuming
16+
* at build time. Uncomment '#define SKIP_PACKING_CHECKS' below if
17+
* that's too annoying when working on this code.
1818
*/
1919
#include <kunit/device.h>
2020
#include <kunit/test-bug.h>
@@ -28,7 +28,7 @@
2828

2929
#include "descriptor.h"
3030

31-
#define SKIP_PACKING_CHECKS
31+
/* #define SKIP_PACKING_CHECKS */
3232

3333
MODULE_IMPORT_NS("EXPORTED_FOR_KUNIT_TESTING");
3434

0 commit comments

Comments
 (0)