Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp57276imm; Thu, 12 Jul 2018 14:05:32 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdZZ3far3Ye5v1NjksPcJMobNy/38XWTuRorpjVY6NKk+k9u144/X2a+R54cC9FHt4SbGMR X-Received: by 2002:a63:dc17:: with SMTP id s23-v6mr3600256pgg.40.1531429532758; Thu, 12 Jul 2018 14:05:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531429532; cv=none; d=google.com; s=arc-20160816; b=ZjL8Nhc8hLevNvdDUiXMAstcuHTQsUaJO4GdeailqNLR/2nu4vxOq68EbR+lBCEPo+ gl3J8V/EQGuoeK4Jji5+v4nvJFCW6W952zXZfdlZ9Hh5/DusmGd0AFuGa6PFttwFMg6E pmLmStQTstluHHbvxfGDNqQ/pzP5xdQt45xHYpz0oO8Qm6lORbdAD8/YWbkP2R9AZx9V ldVO+zsuuM9So8E78FQrd1UiCZNzG3/jACfTBLjCsNDxF4FoolqgRjXCnNqM7kMHlmkg iMSJY9+E7bxtM6/44FsvLQD4lrQdBFciGwFOA3Cut/ja060JGc0RrVwipLQfeCux7vDo YyBw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:spamdiagnosticmetadata :spamdiagnosticoutput:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature:arc-authentication-results; bh=twI/YOUA0F0e/DTL1DxotsXBmr+PwtoTFHlUNt1ubeM=; b=wc5oQTRwUk70vw0i2tKLD7prFFRAonH+RWhDpXdyUdxv2nfU/SjcsN09vlDTlHIdQ7 wOVkraXXG31QyGvF0u0BdiMGPcLGWM7fpqBUsSkABgnUfP8yK/M4kmdI9NIjgRl78y9O Np0mEg8bPwBVb88v6aRoA9JGjYtBd4MV9zFlMlgydZoDp7p4XCR45lnm1N9sLDi0cysW UaOaAMf81L0fHNRCTU4mi0l73/9iAgSYjeigK0D6C0YwpyOpWdUG2anxiOCuTy6gCJhn yYPBbD7lrUV0SY0m790PkH44FGfbCNDM8/Ha/ov5WN1OTEc7STvXuleJQFqfEwNZuGDX cnhA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@CAVIUMNETWORKS.onmicrosoft.com header.s=selector1-cavium-com header.b=C3oGwdL5; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 64-v6si2400976plk.257.2018.07.12.14.05.11; Thu, 12 Jul 2018 14:05:32 -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; dkim=pass header.i=@CAVIUMNETWORKS.onmicrosoft.com header.s=selector1-cavium-com header.b=C3oGwdL5; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732824AbeGLVOa (ORCPT + 99 others); Thu, 12 Jul 2018 17:14:30 -0400 Received: from mail-co1nam03on0083.outbound.protection.outlook.com ([104.47.40.83]:50917 "EHLO NAM03-CO1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1732787AbeGLVOa (ORCPT ); Thu, 12 Jul 2018 17:14:30 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=twI/YOUA0F0e/DTL1DxotsXBmr+PwtoTFHlUNt1ubeM=; b=C3oGwdL5wijff2sFZKAHo8mbV9uqcWK72GDrCu8v0+wcPZr24JEqzTZXL7rPhgakerq2KLq98WDfRUJ1k6S5OIUCGUPskaiSS8B+T6kElxs699yr2P/XU61ZCXgbkbze8XSro0+hYeRyFHihetlL2Rl5hq6vy2+af1oNy+v2iuQ= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Felix.Manlunas@cavium.com; Received: from localhost (50.233.148.155) by BN6PR07MB2817.namprd07.prod.outlook.com (2603:10b6:404:40::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.930.21; Thu, 12 Jul 2018 21:03:07 +0000 Date: Thu, 12 Jul 2018 14:03:04 -0700 From: Felix Manlunas To: Arnd Bergmann Cc: Derek Chickles , Satanand Burla , Felix Manlunas , Raghu Vatsavayi , "David S. Miller" , Intiyaz Basha , Rick Farrington , Veerasenareddy Burru , Vijaya Mohan Guvva , Weilin Chang , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/2] [RESEND] liquidio: use ktime_get_real_ts64() instead of getnstimeofday64() Message-ID: <20180712210304.GA2585@felix-thinkpad.cavium.com> References: <20180711123003.453442-1-arnd@arndb.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180711123003.453442-1-arnd@arndb.de> User-Agent: Mutt/1.6.1 (2016-04-27) X-Originating-IP: [50.233.148.155] X-ClientProxiedBy: BN6PR11CA0015.namprd11.prod.outlook.com (2603:10b6:405:2::25) To BN6PR07MB2817.namprd07.prod.outlook.com (2603:10b6:404:40::11) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 9030665e-9c39-4d35-daa9-08d5e83ade47 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652040)(8989117)(5600053)(711020)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(2017052603328)(7153060)(7193020);SRVR:BN6PR07MB2817; X-Microsoft-Exchange-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8kcT+WUjJ+03JzNyXX7m1RbWSz85/gnCily30RRMIUi3lrL0USoWbNunwaMGeiWzm7Ab+YPchMRGsYGmpDPD+5GX3+AlIv6QltkgM7BMF2OV85zTALtzrV4gcg8M2BqfF25FWB8X6NUZuoYUcooRm7RynXDlils4NtH31qh4VOKFQ3IxGZJGccoNurYtkvvfyunpaI+8u6tRRcueddLg5qa1m0lJn7Myjxlmrz9yyixI9Va4HjAMd4mDLFY6Mw3WJIkY4qHBA0/EJNXv7zfbVqNltHtMF6Rp4yvBRnWzAGfQVisCVJmz1aqnCpJOLQhDC+N+jkaTNc/XIHkkScIbXJOOH6tY5gD5aaMgw6RcuXy7DfV40zV;4:i5Ob6Xh2cjRTUje4aCMx5EJZQsHtTFvoZyB2DhpU9lHvMms/GFF4WDS2d89XaFJzZRAjH9lbIpbmEK5T64eQtND2cqqSbnRjwKhbUouGuWpNNtqeBFMZY7AP/2Og+NYsn3l+1lj+8h54euMm3d7PB0w12/QQAJEz5rLpY2pEvbo6g/QN1B3nnu6BI8aoCJyXNUPFvbuB7+4zx1RRa4HQDzsPIRzyF9EdbEL3B/E4oqoKa+cvpzIBQ6mUia4xof21Och1QWsgKsUmJOhCW9j7DQ== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(3231311)(944501410)(52105095)(3002001)(93006095)(93001095)(10201501046)(149027)(150027)(6041310)(20161123564045)(20161123558120)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(6072148)(201708071742011)(7699016);SRVR:BN6PR07MB2817;BCL:0;PCL:0;RULEID:;SRVR:BN6PR07MB2817; X-Forefront-PRVS: 0731AA2DE6 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(6069001)(39860400002)(366004)(136003)(346002)(376002)(396003)(199004)(189003)(52116002)(68736007)(386003)(16586007)(478600001)(54906003)(446003)(76506005)(47776003)(486006)(7736002)(50466002)(8676002)(5660300001)(44832011)(956004)(66066001)(81156014)(6486002)(6916009)(476003)(11346002)(58126008)(305945005)(97736004)(316002)(575784001)(86362001)(6666003)(6116002)(3846002)(25786009)(72206003)(16526019)(186003)(8936002)(229853002)(33656002)(6246003)(81166006)(53936002)(15760500003)(106356001)(76176011)(4326008)(23726003)(105586002)(6496006)(2906002)(26005)(1076002)(18370500001);DIR:OUT;SFP:1101;SCL:1;SRVR:BN6PR07MB2817;H:localhost;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;BN6PR07MB2817;23:dfHb20zerNmhKFSc2d1KgPs5wo2OlMsPHOsxDdUmG?= =?us-ascii?Q?TlaeCjdVQxCpvTknbeB8aok96N8BxkO0EvuEEG1dF96/lFpWvYlwTPeVOkku?= =?us-ascii?Q?q5PG40+CZS4ZuiejxDLcdIGHwZNS84+ryvsXpXddFhLKIwxZe96/2/E8vQPc?= =?us-ascii?Q?IRoi35EME3GKlliz+5CBWIc7VVmTlBnuwUjyeGnp627LTb8dDSLnbh4ItG+i?= =?us-ascii?Q?ZllLbsDcfRsydrqnnD+Hpun3C+WXshJ2oDO5cpswCaTJ1pGTav6UIOZgOirk?= =?us-ascii?Q?WZ3vy71qGLbKyROcvDErCFM64Z6cbX0NJwttPqecFxNumblFplRntdoIwF+D?= =?us-ascii?Q?io44T8Gtlm1Fd7r72N/GAiyTJgxNK881c8B0hyIvQnmIFeF4s+LGtSbaEAem?= =?us-ascii?Q?j/HKHpo283BvkK7g3nAV+2ewr0+sDQFVjip3/AJgvEMR4ubOIZerb62kEBoo?= =?us-ascii?Q?bUy3DyuWI6iDKht1vtctTRpb/XbzW1M97ja2wByCDVVt2rmK3urfLIrc6Ub3?= =?us-ascii?Q?SpTiSFc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YjWipLyEXGaMOuTx4Wh2757kMSLhASSsd07Mi25vKSRLmYW0l207jNyUr0VK4= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;BN6PR07MB2817;7:Yg3xW9cplUP9WO6yMIdzOIVJJELxI3hrH8ZC03Fnfs1RxLt8HCSGpwTIH96wA3Z7fdgHoFKx9sfynFKgBdJwHiU29WGRxTRwxlgmbDIYzNSX/28Qp0ss03E7fN/ncuh9iU2Dt/aIR+r2NMnjrrgabNLQcgnLU0jhn6XvFfJvXHVzzDO3YpZ60zsURth9Vfq6K0UgoB09wWpsK1CL5fe9NGNENmo3Wb1sOm5sSsapz5c/qXz0gKiL1eWhNjSwJSzU X-OriginatorOrg: cavium.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Jul 2018 21:03:07.5979 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 9030665e-9c39-4d35-daa9-08d5e83ade47 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR07MB2817 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jul 11, 2018 at 02:29:52PM +0200, Arnd Bergmann wrote: > The two do the same thing, but we want to have a consistent > naming in the kernel. > > Signed-off-by: Arnd Bergmann > --- > drivers/net/ethernet/cavium/liquidio/lio_main.c | 2 +- > drivers/net/ethernet/cavium/liquidio/octeon_console.c | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/net/ethernet/cavium/liquidio/lio_main.c b/drivers/net/ethernet/cavium/liquidio/lio_main.c > index 19d03fc24305..30884ad0a509 100644 > --- a/drivers/net/ethernet/cavium/liquidio/lio_main.c > +++ b/drivers/net/ethernet/cavium/liquidio/lio_main.c > @@ -687,7 +687,7 @@ static void lio_sync_octeon_time(struct work_struct *work) > lt = (struct lio_time *)sc->virtdptr; > > /* Get time of the day */ > - getnstimeofday64(&ts); > + ktime_get_real_ts64(&ts); > lt->sec = ts.tv_sec; > lt->nsec = ts.tv_nsec; > octeon_swap_8B_data((u64 *)lt, (sizeof(struct lio_time)) / 8); > diff --git a/drivers/net/ethernet/cavium/liquidio/octeon_console.c b/drivers/net/ethernet/cavium/liquidio/octeon_console.c > index 7f97ae48efed..0cc2338d8d2a 100644 > --- a/drivers/net/ethernet/cavium/liquidio/octeon_console.c > +++ b/drivers/net/ethernet/cavium/liquidio/octeon_console.c > @@ -902,7 +902,7 @@ int octeon_download_firmware(struct octeon_device *oct, const u8 *data, > * > * Octeon always uses UTC time. so timezone information is not sent. > */ > - getnstimeofday64(&ts); > + ktime_get_real_ts64(&ts); > ret = snprintf(boottime, MAX_BOOTTIME_SIZE, > " time_sec=%lld time_nsec=%ld", > (s64)ts.tv_sec, ts.tv_nsec); > -- > 2.9.0 > Acked-by: Felix Manlunas