summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorLinmao Li <lilinmao@kylinos.cn>2026-07-06 15:57:42 +0800
committerDavid Heidelberg <david@ixit.cz>2026-08-11 18:13:59 +0200
commit9efd35acb385d8cba179ac833430596f1674a2dc (patch)
tree833a8183a2358aac4b83856a8e6fa7e5d0ff4916 /tools/perf/scripts/python
parent347c1481c122aa78af7a41500af9ad04d11e57b1 (diff)
nfc: trf7970a: Use NULL when no response is expected
When a command's timeout is zero, no response is expected, and the TX interrupt handler completes the command by passing ERR_PTR(0) to the digital callback. ERR_PTR(0) evaluates to NULL, so no errno is encoded here. Use NULL directly to avoid suggesting that this is an error-pointer path. Signed-off-by: Linmao Li <lilinmao@kylinos.cn> Link: https://patch.msgid.link/20260706075743.564658-1-lilinmao@kylinos.cn Signed-off-by: David Heidelberg <david@ixit.cz>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions