Received: by 10.223.164.202 with SMTP id h10csp116375wrb; Tue, 14 Nov 2017 18:52:44 -0800 (PST) X-Google-Smtp-Source: AGs4zMbt1jNap2cXMZJ2eNOZ/MJA5lsXQoNWGi+sYm7eFkgY3msXKdMyhUSUGrn93KsnFvmhMbnd X-Received: by 10.101.73.79 with SMTP id q15mr14702821pgs.236.1510714364634; Tue, 14 Nov 2017 18:52:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510714364; cv=none; d=google.com; s=arc-20160816; b=pAhBXNo/D+g1aA2cL90jnyb2QS/zfleGpcUCcCDx7R/TujqUJab+68xdshkW8pc3Si V3+aM5v+q6HkafRXeTkqCVf2Hf1Ioflgq+1u1sUqaXZTUim5voKB4l+FaPxtNqtxRAIg aWUN4SkuOa4WOSUJ9tvSiqqRT4SDqR9F+rqcHju6xuLDdJYg2hveMMTIjuakbE6hNj8H XkyEkCt2/Y+HmEfVHP1UWjEebWT13lWz02r+4z25NS/nZrrEp8EuhiCyLXCnLhdD8+TE G1avqT2O13//SCf+ygKzLNHXIVJyhFnkj+meE0px5GwG+y0G7JDA5sszmQ1wgzBRbi9r m4aA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:in-reply-to :mime-version:user-agent:date:message-id:from:cc:references:to :subject:arc-authentication-results; bh=UG+T/ShS/7J7rE5yIBfNjq/hHK5OtWayOWOIyDO0kjg=; b=GApSDyhom4mxFsK2J20hjxU7po//goOzNDd4RGTRRECc/9rtAw1DpuPotoUl4Z5Reg A1+Gglhs4f+TioNMpSe+vLEVAMxLvJZwtYcsExdmpldEJyMs1vRNxw2Rt9op/OLFIS0R /WuwKKSwWsjq7i4QpSXfca5xUj8BgHhFQFI9rEhk57/s7gUBPEIgHVSISf3qHH/wg0Hj /KcEokPMFfl2xUBnh0civRJGMLyLUh0KEmQSODeORd9DL3UtfVfD4ybjKBGC9nsp0Ms1 O2y3o/B0l+FTRrxE5nsv6+1I+48AD6Vma3unm1hwl2TmGtH2cEeHcP6/j9qzK6kBHZ6Q GdWQ== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r3si8197728plj.72.2017.11.14.18.52.32; Tue, 14 Nov 2017 18:52:44 -0800 (PST) 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756907AbdKOCuM (ORCPT + 87 others); Tue, 14 Nov 2017 21:50:12 -0500 Received: from mail.cn.fujitsu.com ([183.91.158.132]:32661 "EHLO heian.cn.fujitsu.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1756306AbdKOCru (ORCPT ); Tue, 14 Nov 2017 21:47:50 -0500 X-IronPort-AV: E=Sophos;i="5.43,368,1503331200"; d="scan'208";a="30185090" Received: from localhost (HELO cn.fujitsu.com) ([10.167.33.5]) by heian.cn.fujitsu.com with ESMTP; 15 Nov 2017 10:47:47 +0800 Received: from G08CNEXCHPEKD03.g08.fujitsu.local (unknown [10.167.33.85]) by cn.fujitsu.com (Postfix) with ESMTP id 2ABEF41860D6; Wed, 15 Nov 2017 10:47:47 +0800 (CST) Received: from localhost.localdomain (10.167.226.106) by G08CNEXCHPEKD03.g08.fujitsu.local (10.167.33.89) with Microsoft SMTP Server (TLS) id 14.3.361.1; Wed, 15 Nov 2017 10:47:46 +0800 Subject: Re: [PATCH v8 2/6] time: sync read_boot_clock64() with persistent clock To: Pavel Tatashin References: <20171109030201.5991-1-pasha.tatashin@oracle.com> <20171109030201.5991-3-pasha.tatashin@oracle.com> <3049ead9-af20-a334-74ca-5efbb251e60f@cn.fujitsu.com> CC: Steve Sistare , Daniel Jordan , , , , John Stultz , , , , , Thomas Gleixner , From: Dou Liyang Message-ID: <0c9ba6e2-d9a7-f792-9e4b-acea4eb2bb7a@cn.fujitsu.com> Date: Wed, 15 Nov 2017 10:47:45 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.167.226.106] X-yoursite-MailScanner-ID: 2ABEF41860D6.ABB62 X-yoursite-MailScanner: Found to be clean X-yoursite-MailScanner-From: douly.fnst@cn.fujitsu.com X-Spam-Status: No Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Pavel, At 11/15/2017 03:57 AM, Pavel Tatashin wrote: >> why we should remove the *extern* keyword? > > Hi Dou, > > While, I am not sure why it was decided to stop using externs in > headers, this is a warning printed by scripts/checkpatch.pl: > > CHECK: extern prototypes should be avoided in .h files > > To have a clean checkpatch output I removed externs. > I see. IMO, using the extern keyword on function prototypes in *.h files is superfluous, but, It doesn't matter for functionality. *extern* is default keywords. AFAIK, it's a code style problem. In x86 arch, we prefer to keep *extern* explicitly, so, let's keep it like before for code consistency. Thank, dou From 1584073337926067776@xxx Tue Nov 14 20:07:37 +0000 2017 X-GM-THRID: 1583556040265529206 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread