|
@@ -62,7 +62,7 @@ void notrace __sanitizer_cov_trace_pc(void)
|
|
* We are interested in code coverage as a function of a syscall inputs,
|
|
* We are interested in code coverage as a function of a syscall inputs,
|
|
* so we ignore code executed in interrupts.
|
|
* so we ignore code executed in interrupts.
|
|
*/
|
|
*/
|
|
- if (!t || !in_task())
|
|
|
|
|
|
+ if (!in_task())
|
|
return;
|
|
return;
|
|
mode = READ_ONCE(t->kcov_mode);
|
|
mode = READ_ONCE(t->kcov_mode);
|
|
if (mode == KCOV_MODE_TRACE) {
|
|
if (mode == KCOV_MODE_TRACE) {
|