From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755385AbeASCgs (ORCPT ); Thu, 18 Jan 2018 21:36:48 -0500 Received: from aserp2120.oracle.com ([141.146.126.78]:60864 "EHLO aserp2120.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754922AbeASCgj (ORCPT ); Thu, 18 Jan 2018 21:36:39 -0500 To: Arnd Bergmann Cc: Kashyap Desai , Sumit Saxena , Shivasharan S , "James E.J. Bottomley" , "Martin K. Petersen" , Tomas Henzl , Hannes Reinecke , megaraidlinux.pdl@broadcom.com, linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] [RESEND] megaraid: use ktime_get_real for firmware time From: "Martin K. Petersen" Organization: Oracle Corporation References: <20180117144859.2382521-1-arnd@arndb.de> Date: Thu, 18 Jan 2018 21:31:25 -0500 In-Reply-To: <20180117144859.2382521-1-arnd@arndb.de> (Arnd Bergmann's message of "Wed, 17 Jan 2018 15:48:51 +0100") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=8778 signatures=668654 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=434 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1711220000 definitions=main-1801190027 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Arnd, > do_gettimeofday() overflows in 2038 on 32-bit architectures and > is deprecated, so convert this driver to call ktime_get_real() > directly. This also simplifies the calculation. Applied to 4.16/scsi-queue. Thanks! -- Martin K. Petersen Oracle Linux Engineering