Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp3804578imm; Mon, 18 Jun 2018 04:29:01 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJgw0QtankFkT99e+6SHTJS/zYMTkgI7xbk8H/X078G+IJNXzGKxoGCSeiWTErLoMmCNc9A X-Received: by 2002:a62:dc98:: with SMTP id c24-v6mr13162354pfl.183.1529321341495; Mon, 18 Jun 2018 04:29:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529321341; cv=none; d=google.com; s=arc-20160816; b=yTfBDse3fWaZYYEiii6iWadCEUIbEG5ywLk0+20aUU/LjlhL1ZgPHOVW6ChjhfGVNs v6PpbaDFgjiA5Ra+Oa1UZDuojXokdhoT2QXkgaM3Wd95IyeZpcRGXFVlLIEKM2R9TuSY R8ygjK8ElducFlZ3tObtwaFl7ujcd3rhtXDv3Ok2ps+AFxm+669EvmzBonx9T+H0ngfd 8Wp9XhCVAzQ2OCn7pUOG9AzJy0+x+9pemcJB2JggTbXp+ce2bG75IhUV9OBjkjKb17mf Lm+7ICLnTRkrNWyfWafxxgAbZalkkxOO/N4Sb7su7BZXRCwo7/CVVt9ZpPHZRj7V7ZAZ gxMw== 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:message-id :mime-version:references:in-reply-to:subject:cc:to:from:date :arc-authentication-results; bh=s+pzNuU8KXK4TUQmLwX7VN4FuefsRdH3FOfVerSDHsI=; b=MXZ5v421n9q1awFilE63LRPvOABMx5SSaABahjczeb8AbM3N64evx2u0MqmhhgaPjO FWASfwZOgR2rzjZUsm7ZfnC+gwOL7KiZWtcMcMkCMs6K0wclrQTkZCXU7dGEIVsI604e 9ngEq0TyrtTZsAz2E6iemc0P2GnA42E8krdpBkhtp7MKajTISrU4HnyBYruskQGIJail Skb/Kj/bFu7wFfh/LPkhuDBVZok+Q6LaAXbs06HMvDGu842/1W7EiYr8e55sylwaypMZ y87bDEOkJbu+gL4zR4exLZNIMpmtsR1Y7ZAchkBG8aR2ycnss8qG1BuewwhoCP2VSEQK o/Pw== 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=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 100-v6si15079518plc.205.2018.06.18.04.28.47; Mon, 18 Jun 2018 04:29:01 -0700 (PDT) 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=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934050AbeFRL0y (ORCPT + 99 others); Mon, 18 Jun 2018 07:26:54 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:51418 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933381AbeFRL0w (ORCPT ); Mon, 18 Jun 2018 07:26:52 -0400 Received: from pps.filterd (m0098399.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w5IBNrGL128981 for ; Mon, 18 Jun 2018 07:26:52 -0400 Received: from e06smtp04.uk.ibm.com (e06smtp04.uk.ibm.com [195.75.94.100]) by mx0a-001b2d01.pphosted.com with ESMTP id 2jpa3q4bx7-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Mon, 18 Jun 2018 07:26:51 -0400 Received: from localhost by e06smtp04.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 18 Jun 2018 12:26:48 +0100 Received: from b06cxnps4074.portsmouth.uk.ibm.com (9.149.109.196) by e06smtp04.uk.ibm.com (192.168.101.134) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Mon, 18 Jun 2018 12:26:46 +0100 Received: from d06av21.portsmouth.uk.ibm.com (d06av21.portsmouth.uk.ibm.com [9.149.105.232]) by b06cxnps4074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id w5IBQjrg33226792 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 18 Jun 2018 11:26:45 GMT Received: from d06av21.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 565C152043; Mon, 18 Jun 2018 11:16:05 +0100 (BST) Received: from mschwideX1 (unknown [9.152.212.186]) by d06av21.portsmouth.uk.ibm.com (Postfix) with ESMTP id 151E45203F; Mon, 18 Jun 2018 11:16:05 +0100 (BST) Date: Mon, 18 Jun 2018 13:26:43 +0200 From: Martin Schwidefsky To: Arnd Bergmann Cc: Heiko Carstens , y2038@lists.linaro.org, linux-s390@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] s390: hypfs: use ktime_get_seconds() instead of get_seconds() In-Reply-To: <20180618100534.1857997-1-arnd@arndb.de> References: <20180618100534.1857997-1-arnd@arndb.de> X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.30; x86_64-pc-linux-gnu) MIME-Version: 1.0 X-TM-AS-GCONF: 00 x-cbid: 18061811-0016-0000-0000-000001DD3B1D X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18061811-0017-0000-0000-000032313EF6 Message-Id: <20180618132643.79cbed17@mschwideX1> Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 8bit X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2018-06-18_04:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=591 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1805220000 definitions=main-1806180138 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 18 Jun 2018 12:05:00 +0200 Arnd Bergmann wrote: > time_t and get_seconds() are deprecated because they will overflow on > 32-bit architectures in the future. This is not a problem on 64-bit s390, > but we should use proper interfaces anyway. > > Besides moving to the time64_t based interface, the CLOCK_MONOTONIC > based ktime_get_seconds() is preferred for kernel internal timekeeping > because it does not behave in unexpected ways during leap second changes > or settimeofday() calls. > > Signed-off-by: Arnd Bergmann Added to my set of patches for the next merge window. -- blue skies, Martin. "Reality continues to ruin my life." - Calvin.