summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorHarshit Mogalapalli <harshit.m.mogalapalli@oracle.com>2023-10-26 10:53:28 +0300
committerDipen Patel <dipenp@nvidia.com>2023-10-28 00:07:15 +0300
commitb7c3ca3553d1de5e86c85636828e186d30cd0628 (patch)
tree08583776a49e1100633a5a7bd43fdb9ffd4bbd1f /fs
parent091ac92dc79e35ba208b022936dc9f13e0bbad7c (diff)
downloadlinux-b7c3ca3553d1de5e86c85636828e186d30cd0628.tar.xz
hte: tegra: Fix missing error code in tegra_hte_test_probe()
The value of 'ret' is zero when of_hte_req_count() fails to get number of entitties to timestamp. And returning success(zero) on this failure path is incorrect. Fixes: 9a75a7cd03c9 ("hte: Add Tegra HTE test driver") Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com> Reviewed-by: Dipen Patel <dipenp@nvidia.com> Signed-off-by: Dipen Patel <dipenp@nvidia.com>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions