Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755263AbbLIJpx (ORCPT ); Wed, 9 Dec 2015 04:45:53 -0500 Received: from mout.kundenserver.de ([212.227.126.130]:56235 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754376AbbLIJpu (ORCPT ); Wed, 9 Dec 2015 04:45:50 -0500 From: Arnd Bergmann To: y2038@lists.linaro.org Cc: Bamvor Jian Zhang , linux-kernel@vger.kernel.org, gregkh@linuxfoundation.org, broonie@kernel.org, sudipm.mukherjee@gmail.com Subject: Re: [Y2038] [PATCH 1/2] ppdev: convert to y2038 safe Date: Wed, 09 Dec 2015 10:45:39 +0100 Message-ID: <14664570.qCTxRETJS5@wuerfel> User-Agent: KMail/4.11.5 (Linux/3.16.0-10-generic; KDE/4.11.5; x86_64; ; ) In-Reply-To: <1449641498-5761-2-git-send-email-bamvor.zhangjian@linaro.org> References: <1449641498-5761-1-git-send-email-bamvor.zhangjian@linaro.org> <1449641498-5761-2-git-send-email-bamvor.zhangjian@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Provags-ID: V03:K0:tquRtgaFvxsDhh2qxdVdZUOXPybG7CXNzJfdds5XAHpYL+RWKih fO9AAsghM+S+7tKmwnv0iflZ2XzM3jBgv/cO9kBWMCiWpnIq7jPaJTG3ZW/t+1vWTufJKpQ WlgRAyfed6irgn7XBZQRPWFh7bw6wizSbsY69eI+fW+FKs0V9M9nVtBlGXrXP+LuxSzCh1c XukGHfqsirOtRsbnv8NtQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:qkOpHrFSCYc=:z5cRCswgkYWZ6aHZe0t8d0 UhKpT64Z+mhY4DunpiZBTgY658HL2RmFQlxRQPozhWgQMGmpML/2TQdWBF1Ja3zrzsuU4zHA1 p3K+ZXI4IaZ0j979l5VVYjRx5Zkg1JM3D/zNWtL0dXrDTfX3aLjC+er2yBsM0joJchEQOZDa0 7Oy0kX9udeE2FyA9lG2yLXZkt7mPoiOlB+1wSfX6t5a0zrG4v4L1aHCEZpPI6ctX/S+NpX+tH vd8IK4VrKgzaCG3uNtgT+YrEBNjcZDt77iAVcVN/nGNN4RSs25D0Jvuv+b+a3pdwkW9YWYQtw TiDObO194OiOyIVqXkGIUdyR6guRYHRNl6Ggdhb2ssRgvd2hED5plS3G/sL8VDmGsVAMEKBjx ykMVS3AXVYCtvmnqAaY4BuQGU/1LPY6CUgK6yQSZXXjhpfVwZNBFcXpB6VMXZGik0xazUMwi1 Nd+YlK/qNFbgHdapQ0F2N0fr/RV+1IsemqQtZnjab/RKnJ6M20DED69tyBkgjBN8NYXJUAIFu wivZJiDaJ1W4+2XsWNwUbXFR4Yh5Yi35X4gvFmWmanviLhr3mhDD9MQ+iKM4l/6C26Y0+OI+k jg+IS6DmSevINhh++nmZcR4bDtJEEHJzkTt7JNW39vFZTUcZ9Dr68hOaSfQ1Zlqb6Wy7iKLrn xKwtnCUssTSwGBLlumZZvyQDUqaOF+Ahq+2QKDKHziAtDXGSg2QJZ0h+r6lV/Ot0J+nek5PG/ cNU5K7YDiARM41cE Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1039 Lines: 25 On Wednesday 09 December 2015 14:11:37 Bamvor Jian Zhang wrote: > The y2038 issue for ppdev is changes of timeval in the ioctl > (PPSETTIME and PPGETTIME). The size of struct timeval changes from > 8bytes to 16bytes due to the changes of time_t. It lead to the > changes of the command of ioctl, e.g. for PPGETTIME, We have: > > on 32-bit (old): 0x80087095 > on 32-bit (new): 0x80107095 > on 64-bit : 0x80107095 > > This patch define these two ioctl commands to support the 32bit > and 64bit time_t application at the same time. And, introduce > pp_set_timeout to remove some duplicated code. > > Signed-off-by: Bamvor Jian Zhang I've reviewed the previous versions in detail, and am happy with the latest one. Reviewed-by: Arnd Bergmann -- 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/