Replace the NULL checks with IS_ERR_OR_NULL() in
KUNIT_BINARY_STR_ASSERTION() to prevent the strcmp() faulting if a
passed pointer is an ERR_PTR.
Commit
|
||
|---|---|---|
| .. | ||
| assert.h | ||
| attributes.h | ||
| clk.h | ||
| device.h | ||
| of.h | ||
| platform_device.h | ||
| resource.h | ||
| run-in-irq-context.h | ||
| skbuff.h | ||
| static_stub.h | ||
| test-bug.h | ||
| test.h | ||
| try-catch.h | ||
| visibility.h | ||