From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751342AbeAWAcA (ORCPT ); Mon, 22 Jan 2018 19:32:00 -0500 Received: from userp2120.oracle.com ([156.151.31.85]:57518 "EHLO userp2120.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751060AbeAWAb6 (ORCPT ); Mon, 22 Jan 2018 19:31:58 -0500 To: Arnd Bergmann Cc: "James E.J. Bottomley" , "Martin K. Petersen" , Ching Huang , y2038@lists.linaro.org, linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] scsi: arcmsr: avoid do_gettimeofday From: "Martin K. Petersen" Organization: Oracle Corporation References: <20180121231308.2169692-1-arnd@arndb.de> Date: Mon, 22 Jan 2018 19:31:45 -0500 In-Reply-To: <20180121231308.2169692-1-arnd@arndb.de> (Arnd Bergmann's message of "Mon, 22 Jan 2018 00:12:26 +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=8782 signatures=668655 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=492 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1711220000 definitions=main-1801230004 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Arnd, > The arcmsr uses its own implementation of time_to_tm(), along with > do_gettimeofday() to read the current time. While the algoritm used > here is fine in principle, it suffers from two problems: Applied to 4.16/scsi-queue. Thanks! -- Martin K. Petersen Oracle Linux Engineering