On Tuesday 12 May 2015 22:07:53 Baolin Wang wrote:
} +static void default_timer_get64(struct k_itimer *timr,
struct itimerspec64 *cur_setting64)
+{
struct itimerspec cur_setting;
struct k_clock *kc = clockid_to_kclock(timr->it_clock);
kc->timer_get(timr, &cur_setting);
*cur_setting64 = itimerspec_to_itimerspec64(&cur_setting);
+}
The new version is correct, but when I asked you in private to send the update, what I meant was a reply to my email, and only the updated function for the sake of discussion. You have now sent the patch as a new thread, which means we have two email conversations with the same subject line and different contents, which is rather confusing and should be avoided.
Arnd