Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp2395326ybc; Wed, 13 Nov 2019 13:52:37 -0800 (PST) X-Google-Smtp-Source: APXvYqwKvlanzXP0JcWBRxUMYqEMNYxniKnKNwvSf7A2QgthK5maTmt5F1Qcwe+TlNQOd8qtgFNY X-Received: by 2002:a17:906:4d91:: with SMTP id s17mr5075491eju.156.1573681956937; Wed, 13 Nov 2019 13:52:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573681956; cv=none; d=google.com; s=arc-20160816; b=I9YmRWB90OY+VYTJtsvcCuzOGR4Vp4Bf24oivxcedqiT17DaRWOGAEGHTTtJMiPsZD UY9tFXHIyYwIUftA9lqjUe1KL763fagQI7xh497AxyBWnoqTtZ06qiKxnyY4aUHfw6zf n1xFtVAi+ntndiXS7Jn9GyWJwXKdpK6kABVDUPsH6yUwLwBfN4qSoYf1bbTzab6svRRW +NxPdKlNtuv5zFVBE6jzw/8ZXcjAKXX2+OMHKmmvn+hKgbP6cG5ZXZ+CEz8q6Rt4nHXG cRXP8+Qnd69yfpPOMP5nme3OrvZsTbjOM6WHk6KJQFB99DwxO+28tP0hrLIaey1W6lIr dFDQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date; bh=iErp/Xs/XiDhQBVYNskAlpoJSSGVzNg0Fa3LWzX5VlI=; b=ey5swsnh1AwQaqJFyAzoPx5hxOljktXh8lt0DMSgsZ9Qog83r8N9tWMEfWKwwpYwv6 Qanee8ZBWZU3TWuz2dmaX3NM/FqCuxVfW5NSXfDuQPvs0JkF9QU8S0niJLAMmA+kPQ3K Y+LPjwTzDsT09Lw1+Sgu4eVqOOPXzptBAicEtDHAkcsAySqKeup7IeMf3eWh1EWZrAxA l9SxEbe8JxEKoxQEzbdkJOaul7VoBVqYv07uN8+U9h3v4KM/KK5d7cFnyjmU8/foTY+8 0UIBrYNqde8OzMjPj9XQC6Rk8QQhAIYRtCngRzd6W6VnC/pmv0BvtMpgNed1VOA5EaNE Eaeg== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g15si2595433edl.95.2019.11.13.13.52.12; Wed, 13 Nov 2019 13:52:36 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726812AbfKMVtN (ORCPT + 99 others); Wed, 13 Nov 2019 16:49:13 -0500 Received: from Galois.linutronix.de ([193.142.43.55]:39173 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726162AbfKMVtN (ORCPT ); Wed, 13 Nov 2019 16:49:13 -0500 Received: from p5b06da22.dip0.t-ipconnect.de ([91.6.218.34] helo=nanos) by Galois.linutronix.de with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1iV0Vd-00070k-2c; Wed, 13 Nov 2019 22:49:05 +0100 Date: Wed, 13 Nov 2019 22:49:04 +0100 (CET) From: Thomas Gleixner To: Arnd Bergmann cc: y2038@lists.linaro.org, Alexander Viro , linux-kernel@vger.kernel.org, Catalin Marinas , "Peter Zijlstra (Intel)" , Sebastian Andrzej Siewior , Anna-Maria Gleixner , linux-fsdevel@vger.kernel.org Subject: Re: [PATCH 16/23] y2038: timerfd: Use timespec64 internally In-Reply-To: <20191108211323.1806194-7-arnd@arndb.de> Message-ID: References: <20191108210236.1296047-1-arnd@arndb.de> <20191108211323.1806194-7-arnd@arndb.de> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 8 Nov 2019, Arnd Bergmann wrote: > timerfd_show() uses a 'struct itimerspec' internally, but that is > deprecated because of the time_t overflow and a conflict with the glibc > type of the same name that is now incompatible in user space. > > Use a pair of timespec64 variables instead as a simple replacement. > > As this removes the last use of itimerspec from the kernel, allowing the > removal of the definition from the uapi headers along with timespec and > timeval later. > > Signed-off-by: Arnd Bergmann Reviewed-by: Thomas Gleixner