sched/: Change some *err() message to *info() messages if what was a *dbg() message does not indicate and error condition.

This commit is contained in:
Gregory Nutt
2016-06-11 16:42:42 -06:00
parent a1469a3e95
commit 13cac3b592
47 changed files with 193 additions and 189 deletions
+2 -2
View File
@@ -62,7 +62,7 @@ int clock_getres(clockid_t clock_id, struct timespec *res)
{
int ret = OK;
serr("clock_id=%d\n", clock_id);
sinfo("clock_id=%d\n", clock_id);
/* Only CLOCK_REALTIME is supported */
@@ -79,7 +79,7 @@ int clock_getres(clockid_t clock_id, struct timespec *res)
res->tv_sec = 0;
res->tv_nsec = NSEC_PER_TICK;
serr("Returning res=(%d,%d)\n", (int)res->tv_sec, (int)res->tv_nsec);
sinfo("Returning res=(%d,%d)\n", (int)res->tv_sec, (int)res->tv_nsec);
}
return ret;
+2 -2
View File
@@ -68,7 +68,7 @@ int clock_gettime(clockid_t clock_id, struct timespec *tp)
uint32_t carry;
int ret = OK;
serr("clock_id=%d\n", clock_id);
sinfo("clock_id=%d\n", clock_id);
DEBUGASSERT(tp != NULL);
#ifdef CONFIG_CLOCK_MONOTONIC
@@ -155,7 +155,7 @@ int clock_gettime(clockid_t clock_id, struct timespec *tp)
}
else
{
serr("Returning tp=(%d,%d)\n", (int)tp->tv_sec, (int)tp->tv_nsec);
sinfo("Returning tp=(%d,%d)\n", (int)tp->tv_sec, (int)tp->tv_nsec);
}
return ret;
+4 -4
View File
@@ -67,7 +67,7 @@ int clock_settime(clockid_t clock_id, FAR const struct timespec *tp)
irqstate_t flags;
int ret = OK;
serr("clock_id=%d\n", clock_id);
sinfo("clock_id=%d\n", clock_id);
DEBUGASSERT(tp != NULL);
/* CLOCK_REALTIME - POSIX demands this to be present. This is the wall
@@ -120,9 +120,9 @@ int clock_settime(clockid_t clock_id, FAR const struct timespec *tp)
#endif
leave_critical_section(flags);
serr("basetime=(%ld,%lu) bias=(%ld,%lu)\n",
(long)g_basetime.tv_sec, (unsigned long)g_basetime.tv_nsec,
(long)bias.tv_sec, (unsigned long)bias.tv_nsec);
sinfo("basetime=(%ld,%lu) bias=(%ld,%lu)\n",
(long)g_basetime.tv_sec, (unsigned long)g_basetime.tv_nsec,
(long)bias.tv_sec, (unsigned long)bias.tv_nsec);
}
else
{