Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752546AbdLAMXY (ORCPT ); Fri, 1 Dec 2017 07:23:24 -0500 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:34894 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752241AbdLAMXX (ORCPT ); Fri, 1 Dec 2017 07:23:23 -0500 Subject: Re: [PATCH] s390/dasd: remove 'struct timespec' usage To: Arnd Bergmann Cc: Jan Hoeppner , Martin Schwidefsky , Heiko Carstens , y2038@lists.linaro.org, Sebastian Ott , linux-s390@vger.kernel.org, linux-kernel@vger.kernel.org References: <20171127114715.2731901-1-arnd@arndb.de> From: Stefan Haberland Date: Fri, 1 Dec 2017 13:23:16 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <20171127114715.2731901-1-arnd@arndb.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-GB X-TM-AS-GCONF: 00 x-cbid: 17120112-0008-0000-0000-000004B1CE77 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 17120112-0009-0000-0000-00001E44B7B4 Message-Id: <75f426fe-cd8a-61ae-435d-c15c4b34922d@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2017-12-01_02:,, 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 impostorscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1709140000 definitions=main-1712010153 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 535 Lines: 16 On 27.11.2017 12:46, Arnd Bergmann wrote: > getnstimeofday() and timespec are deprecated since they can > overflow on 32-bit architectures. This simply changes to the > explicitly typed timespec64 version that doesn't have that > problem. > > It would be nice to also convert to monotonic timestamps > and call ktime_get_ts64() rather than ktime_get_real_ts64(), > but that would be a user-visible change. > > Signed-off-by: Arnd Bergmann Thanks for the patch. I just reviewed, tested and applied it. Regards, Stefan