Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754174AbeAGQ3C (ORCPT + 1 other); Sun, 7 Jan 2018 11:29:02 -0500 Received: from mail-it0-f66.google.com ([209.85.214.66]:35962 "EHLO mail-it0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754067AbeAGQ2y (ORCPT ); Sun, 7 Jan 2018 11:28:54 -0500 X-Google-Smtp-Source: ACJfBost38SfYfj32eub55fswZWAOpkZ3blbzk6z7++7/1lP2HYDy6yye/IIttRVZgm4hO6UOVDekcIvbLKUDbkuDw0= MIME-Version: 1.0 In-Reply-To: <1513294025.18523.289.camel@codethink.co.uk> References: <20171127193037.8711-1-deepa.kernel@gmail.com> <20171127193037.8711-4-deepa.kernel@gmail.com> <1513294025.18523.289.camel@codethink.co.uk> From: Deepa Dinamani Date: Sun, 7 Jan 2018 08:28:53 -0800 Message-ID: Subject: Re: [Y2038] [PATCH v2 03/10] compat: enable compat_get/put_timespec64 always To: Ben Hutchings Cc: Thomas Gleixner , John Stultz , y2038 Mailman List , Linux Kernel Mailing List , Arnd Bergmann Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: On Thu, Dec 14, 2017 at 3:27 PM, Ben Hutchings wrote: > On Mon, 2017-11-27 at 11:30 -0800, Deepa Dinamani wrote: >> These functions are used in the repurposed compat syscalls >> to provide backward compatibility for using 32 bit time_t >> on 32 bit systems. >> >> Signed-off-by: Deepa Dinamani > [...] > > If I'm not mistaken, these functions will be needed only if > CONFIG_COMPAT_32BIT_TIME is enabled. Should this be combined with > patch #5? This was purposely decided to be included unconditionally as the only argument against making them conditional is code size. But, these being very small functions it shouldn't matter all that much. I had left this open for discussion. Since I did not hear any preferences, I will make these conditional as Arnd and I discussed. No, this should not be combined with patch 5. The purpose of that patch is not to include all the code that is conditional upon that config. -Deepa