Unverified Commit f1cdc2f3 authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files
parents 962fce19 5e657578
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -728,6 +728,8 @@ static inline void process_adjtimex_modes(const struct __kernel_timex *txc,

	if (txc->modes & ADJ_MAXERROR)
		time_maxerror = txc->maxerror;
	if (time_maxerror > NTP_PHASE_LIMIT)
		time_maxerror = NTP_PHASE_LIMIT;

	if (txc->modes & ADJ_ESTERROR)
		time_esterror = txc->esterror;