Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp2465041ybc; Wed, 20 Nov 2019 14:51:24 -0800 (PST) X-Google-Smtp-Source: APXvYqzGoghpOBclgi7Z4LmT9M07QbukjNcOfwn67lI9uu+sW77oKhE7TqgphAGSW3HdrhB1S3lU X-Received: by 2002:a17:906:b6cb:: with SMTP id ec11mr8574516ejb.145.1574290283945; Wed, 20 Nov 2019 14:51:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574290283; cv=none; d=google.com; s=arc-20160816; b=TqKQs9Xkm1aOQsQFJsCLgoHQfH5PLAMGKrWb30QgW8Jx4bJ+HbxnN4L9RSVs6chgAv AA3skeH5AtoZX78ewfVpnFxgN037FF2QjNxIKrrJoE/NdRtdJJZaZJ5Une4hi8Qf9mXD FUjTswp/cIlJk8xB0jQ31qcQEdPFnU7Ay9siOMq1lvDnFRYRzou4nu3DrdXx7nomnOSc A0/jn2MiMJgF6ZTllfR7GW58ayk8aK4vxUwgT/ur1W6uSBMaBVYzuvkV7QDQNVFZrM+a ZpphmfiUe6heLiXKvGE/4CwO2OIteWggq39eLhgUHfP5xeYP4wY0s15gIQqjiYKOx9zU rbfA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:organization:references:in-reply-to:date:cc:to:from :subject:message-id; bh=X/OuJUX6SpW9eEaNFLm13RmCzba+Qt+SqgiueNdYQRs=; b=poqZ4XUS6/V8KvruhAGqM/3cjQeK9xI8Au+H+RZdhkEnduTflfR/1CFwhGLM+FmfXL M/Rgnrz3lYqWO7hNXp3Q/WpLcz9RzTwZtK7bONiLf6kW+vGWwd9XSIm58IMTQ5LfiAiY 1sEsEd3N4B9uw6shB5qEht++5jN51pUCw3SG18xBUcVDPGXJdPCFE4ocQHfDS019A8Qi m5kzOoF953hbOE/7rY8yQECw6hjlPPuwH+ob6DkHf4V8cEhcJsxnuKv7CVWflnR0n8Z3 fTg9aJ8cXB25jHmoiiAc8DxX9Lh0OZWTKQn96Rz+mKOCoyZfB5n+snSJ297HrV4MNvxK btdg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=codethink.co.uk Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h37si745397eda.249.2019.11.20.14.50.59; Wed, 20 Nov 2019 14:51:23 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=codethink.co.uk Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726634AbfKTWts (ORCPT + 99 others); Wed, 20 Nov 2019 17:49:48 -0500 Received: from imap1.codethink.co.uk ([176.9.8.82]:37388 "EHLO imap1.codethink.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725820AbfKTWtr (ORCPT ); Wed, 20 Nov 2019 17:49:47 -0500 Received: from [167.98.27.226] (helo=xylophone) by imap1.codethink.co.uk with esmtpsa (Exim 4.84_2 #1 (Debian)) id 1iXYmm-0006Lg-Um; Wed, 20 Nov 2019 22:49:21 +0000 Message-ID: Subject: Re: [Y2038] [PATCH 08/23] y2038: ipc: remove __kernel_time_t reference from headers From: Ben Hutchings To: Arnd Bergmann , y2038@lists.linaro.org, Ralf Baechle , Paul Burton , James Hogan , "James E.J. Bottomley" , Helge Deller , Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman , "David S. Miller" , Thomas Gleixner , Ingo Molnar , Borislav Petkov , x86@kernel.org Cc: linux-arch@vger.kernel.org, linux-parisc@vger.kernel.org, linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, "H. Peter Anvin" , sparclinux@vger.kernel.org, linuxppc-dev@lists.ozlabs.org Date: Wed, 20 Nov 2019 22:49:19 +0000 In-Reply-To: <20191108210824.1534248-8-arnd@arndb.de> References: <20191108210236.1296047-1-arnd@arndb.de> <20191108210824.1534248-8-arnd@arndb.de> Organization: Codethink Ltd. Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.30.5-1.1 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 2019-11-08 at 22:07 +0100, Arnd Bergmann wrote: [...] > --- a/arch/x86/include/uapi/asm/sembuf.h > +++ b/arch/x86/include/uapi/asm/sembuf.h > @@ -21,9 +21,9 @@ struct semid64_ds { > unsigned long sem_ctime; /* last change time */ > unsigned long sem_ctime_high; > #else > - __kernel_time_t sem_otime; /* last semop time */ > + long sem_otime; /* last semop time */ > __kernel_ulong_t __unused1; > - __kernel_time_t sem_ctime; /* last change time */ > + long sem_ctime; /* last change time */ > __kernel_ulong_t __unused2; > #endif > __kernel_ulong_t sem_nsems; /* no. of semaphores in array */ [...] We need to use __kernel_long_t here to do the right thing on x32. Ben. -- Ben Hutchings, Software Developer Codethink Ltd https://www.codethink.co.uk/ Dale House, 35 Dale Street Manchester, M1 2HF, United Kingdom