[PATCH v2 6/8] treewide: Address cert-err33-c clang-tidy warnings for clock and timer functions