diff options
| author | ye xingchen <ye.xingchen@zte.com.cn> | 2022-08-16 10:51:06 +0000 |
|---|---|---|
| committer | Michael Ellerman <mpe@ellerman.id.au> | 2022-08-22 13:36:59 +1000 |
| commit | c814bf958926ff45a9c1e899bd001006ab6cfbae (patch) | |
| tree | 693ec500161a717e041f36f08d4702d4e06c4a6b /tools/lib/python/kdoc/python_version.py | |
| parent | 1c23f9e627a7b412978b4e852793c5e3c3efc555 (diff) | |
| download | linux-c814bf958926ff45a9c1e899bd001006ab6cfbae.tar.gz linux-c814bf958926ff45a9c1e899bd001006ab6cfbae.zip | |
powerpc/selftests: Use timersub() for gettimeofday()
Use timersub() function to simplify the code.
Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: ye xingchen <ye.xingchen@zte.com.cn>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20220816105106.82666-1-ye.xingchen@zte.com.cn
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions
