Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp4262361imm; Mon, 25 Jun 2018 12:31:19 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJkDCIY7zrMKAkVZHuwts9EOrBi12pYm8y2u9Qk1Qi0HzbUYmUvDyBNAxQqk3glwJCpKVFs X-Received: by 2002:a17:902:8e87:: with SMTP id bg7-v6mr13651126plb.129.1529955079280; Mon, 25 Jun 2018 12:31:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529955079; cv=none; d=google.com; s=arc-20160816; b=oqU5cHBAfevTPWKSbUQJ+V3scOcr4nndh59i2aMIE9JoE8XLAy7TqG2eN5lOA6R23h pORM4LFvoD/Rpf6tuC96uV4QulivNc8gAjlioaazvwwQWBlZVmNE7O14jREbBiL2wgu9 E0OzXIXwE5i7Z+uvM2oQctg8lg5uJYLCgLY4oXbGXjjtnQwk8ZG/TkT2Ka/BBm/Hhbzg xh+1j3Ktw69NmV/SYj5CVdYHo3gfBx2vmyf4FXZj8H3aydxDriWQM3jOuGCXNbOF8Mv6 yvqcodQSaGJdWl1ToYJ6euv4epuH2mAmWUlrIxtnomW+Rpyu5eqA++1XE6y4Y9SOlZmf ztwA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date:from :references:cc:to:subject:arc-authentication-results; bh=1JAHfbCLAZnnynV1FKld3G9AGplay/v/XhtJ5SWb/QQ=; b=g6jNWvmXPzHsMNnN6pp/Giq2orlhKe1mNaz2tWx5AZHb+jot0kAuz/EmsBN3g9nWow Tf3xW2y/vjYpGn2xu1X8p/oMxkBZPoessIBs1khRO1yb0rVWtOs4pCatkRh1T0WGE1H0 vwk5fpj39ipPEDxyPHZ3mAIZ6rj6Urj7UEPA3cKNP7HOFDRxpMiwXf8Bc+AmiTOQoVUE uyJBn3deO2lVOXM2XV53scRMU0M02+v6XYGjgXD72ATQRmySXH3uf8GjwU/0YfOXb23y 62PnWL4YTFEwEIpw9LWJu0ueSY6ar+4HoHQEiIP4FiZDsUlFMb1EomYs9G+8S/nLWmnb Edhg== 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 f68-v6si4136601pfh.33.2018.06.25.12.31.03; Mon, 25 Jun 2018 12:31:19 -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 S935001AbeFYTaY (ORCPT + 99 others); Mon, 25 Jun 2018 15:30:24 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:53032 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933030AbeFYTaV (ORCPT ); Mon, 25 Jun 2018 15:30:21 -0400 Received: from pps.filterd (m0098409.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w5PJDYbV069877 for ; Mon, 25 Jun 2018 15:30:21 -0400 Received: from e15.ny.us.ibm.com (e15.ny.us.ibm.com [129.33.205.205]) by mx0a-001b2d01.pphosted.com with ESMTP id 2ju4xdv6y6-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Mon, 25 Jun 2018 15:30:21 -0400 Received: from localhost by e15.ny.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 25 Jun 2018 15:30:19 -0400 Received: from b01cxnp23034.gho.pok.ibm.com (9.57.198.29) by e15.ny.us.ibm.com (146.89.104.202) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Mon, 25 Jun 2018 15:30:16 -0400 Received: from b01ledav004.gho.pok.ibm.com (b01ledav004.gho.pok.ibm.com [9.57.199.109]) by b01cxnp23034.gho.pok.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id w5PJUFj67078254 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 25 Jun 2018 19:30:15 GMT Received: from b01ledav004.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id D9003112063; Mon, 25 Jun 2018 15:30:10 -0400 (EDT) Received: from b01ledav004.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 61A6D112066; Mon, 25 Jun 2018 15:30:09 -0400 (EDT) Received: from oc6857751186.ibm.com (unknown [9.85.170.106]) by b01ledav004.gho.pok.ibm.com (Postfix) with ESMTP; Mon, 25 Jun 2018 15:30:09 -0400 (EDT) Subject: Re: [PATCH] scsi_transport_fc: use 64-bit timestamps consistently To: Arnd Bergmann , "James E.J. Bottomley" , "Martin K. Petersen" Cc: y2038@lists.linaro.org, Hannes Reinecke , Johannes Thumshirn , James Smart , Jens Axboe , Steffen Maier , linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org References: <20180618153004.1808419-1-arnd@arndb.de> From: Tyrel Datwyler Date: Mon, 25 Jun 2018 12:30:13 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <20180618153004.1808419-1-arnd@arndb.de> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-TM-AS-GCONF: 00 x-cbid: 18062519-0068-0000-0000-0000030E0170 X-IBM-SpamModules-Scores: X-IBM-SpamModules-Versions: BY=3.00009254; HX=3.00000241; KW=3.00000007; PH=3.00000004; SC=3.00000266; SDB=6.01052235; UDB=6.00539409; IPR=6.00830161; MB=3.00021851; MTD=3.00000008; XFM=3.00000015; UTC=2018-06-25 19:30:18 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18062519-0069-0000-0000-000044CE7CF7 Message-Id: <3161ed3e-1237-6e80-2f3a-79cb8179a417@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2018-06-25_08:,, 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=1011 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=893 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1806210000 definitions=main-1806250220 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 06/18/2018 08:29 AM, Arnd Bergmann wrote: > The get_seconds() helper returns an 'unsigned long' value, which can > overflow on 32-bit architectures. Since the interface we pass it into > already uses a 64-bit type, we can just use ktime_get_real_seconds() > instead. > > While we generally prefer local timestamps in CLOCK_MONOTONIC format > (ktime_get_seconds), this keeps using the CLOCK_REALTIME version > in order to maintain compatibility with existing code. > > Signed-off-by: Arnd Bergmann > --- Reviewed-by: Tyrel Datwyler