Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932095AbbEKQc6 (ORCPT ); Mon, 11 May 2015 12:32:58 -0400 Received: from mout.kundenserver.de ([212.227.126.130]:50588 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751951AbbEKQc5 (ORCPT ); Mon, 11 May 2015 12:32:57 -0400 From: Arnd Bergmann To: y2038@lists.linaro.org Cc: Baolin Wang , tglx@linutronix.de, linux-kernel@vger.kernel.org Subject: Re: [Y2038] [PATCH v3 07/22] posix-timers:Convert to the 64bit methods for the timer_settime syscall function Date: Mon, 11 May 2015 18:32:46 +0200 Message-ID: <4084509.Vi6ot41aVp@wuerfel> User-Agent: KMail/4.11.5 (Linux/3.16.0-10-generic; KDE/4.11.5; x86_64; ; ) In-Reply-To: <1431342952-29645-1-git-send-email-baolin.wang@linaro.org> References: <1431342952-29645-1-git-send-email-baolin.wang@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Provags-ID: V03:K0:JIIOlkf85lAwenMqJEHpqrPq86P2YqqPXqzMrJHBP3fDjz4j0ey Linoh3M4uCayqau4JfMqvnwTwnGLjfAyMTt+jM0RkI35hSfHuDtSPtfObEOB7c67k+HNGx0 oRkbMMy3TkX+xKGqYhRLu3zSsUEtTGyIddwNbqze7euMtqn6MLj2vEH8ecTPZ7zV3cceHKF jmwS2Ye0RuCuLtrvvHFbQ== X-UI-Out-Filterresults: notjunk:1; Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 805 Lines: 22 On Monday 11 May 2015 19:15:52 Baolin Wang wrote: > +static int default_timer_set64(struct k_itimer *timr, int flags, > + struct itimerspec64 *new_setting64, > + struct itimerspec64 *old_setting64) > +{ > + struct k_clock *kc = clockid_to_kclock(timr->it_clock); > + struct itimerspec new_setting, old_setting; > + > + kc->timer_set(timr, flags, &new_setting, &old_setting); > + return 0; > +} > As in patch 5, this is missing the conversion to and from the old types. Arnd -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/