Received: by 10.223.164.202 with SMTP id h10csp1149657wrb; Sun, 26 Nov 2017 21:16:34 -0800 (PST) X-Google-Smtp-Source: AGs4zMYMT/OHS/RVLIDbBr9Jkl0eYPX9ay5/DKjxVPAFf8wVdYmksB2EZP5tPRw0mae3TT7sgoW6 X-Received: by 10.159.194.197 with SMTP id u5mr36963736plz.448.1511759793972; Sun, 26 Nov 2017 21:16:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1511759793; cv=none; d=google.com; s=arc-20160816; b=qC6kvwXV50BGNZnVeh/KSFWhzotuvsLKbfz7Xa3fDN/RxYTUf32CtToYouaDOoEzlN 71qnogh9wEMPDR43wtT4CZovVurQBzBckhyO0+tme4nHqWWL2feQ8RweAWJw9IItNeE8 nwuXf85WssPz9/UzOquS91GMS7c3CUnqbhVuG29gVCn2luTQkg7AhHip0TQz8yrOvq1f cLi0UdAtx/byRFGi3gOGOIsgLJ8JI7WseEYeQDyW7wykgYtc+YpGW1uW6hSlwk/IhsSy FmglKIGL1MzbxA5D7G1Dc17anyUt/wrZkWc8ckhtZ2dFJjMLvq0qtPXon1f8NhI0dovz LoQA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=adSHGxMiWuRyIZUahAD8whHF98p9jimzH9A/CBweZdI=; b=0+a999BhDqey9KryBiac2jbEP6BYo5jFeJ+ZkknyFep2qnxPmIvdx0okME1YPOmMUA C+0N7Tw10D+OKjdt26jE1SN84ZRa1z+C9b09KDUTLh2qXgSPidoCt5fVUt11TiKwhvaR yaBwT48GgAnWT1Mt60RbSZVqZG6A8Az/lNNtUhx8938u1WaK745Z+W7n7rmA+XpVEkMg jRnZ/OhlAwYGr3O7x/Vvcv1cVHbaDoXknWMXxObaAfOhtFU2Hkaks/eXHGy/zrA83wH5 LDqiUCX3M30W/va/tVLddbDUOH6IDTwHg0w2HL71tOL5wBwDOGwLQ+bLkG+RNoQ6Vne3 njTg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=iGlrrf7v; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z14si13760409pgz.208.2017.11.26.21.16.21; Sun, 26 Nov 2017 21:16:33 -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; dkim=pass header.i=@linaro.org header.s=google header.b=iGlrrf7v; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751266AbdK0FPn (ORCPT + 77 others); Mon, 27 Nov 2017 00:15:43 -0500 Received: from mail-oi0-f67.google.com ([209.85.218.67]:34279 "EHLO mail-oi0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751055AbdK0FPl (ORCPT ); Mon, 27 Nov 2017 00:15:41 -0500 Received: by mail-oi0-f67.google.com with SMTP id a75so18587546oib.1 for ; Sun, 26 Nov 2017 21:15:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=adSHGxMiWuRyIZUahAD8whHF98p9jimzH9A/CBweZdI=; b=iGlrrf7vvxezDoeXHLUZgsfwrrgzak9ybVMsYory4ozubkpu7cMtmHeOYCJeX5ZVaw POVf1qjsNyKOYcMhWWqVo4+csm7qWE+fs1wDhJm7atUORyR+81RTQKMPg+inJkrcFWP6 ns5raTqBdSfhROM5ZZlNJJqpYEfsr0rkErmJ4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=adSHGxMiWuRyIZUahAD8whHF98p9jimzH9A/CBweZdI=; b=B0nmOF1Bntm9aAK6+7obAUen9PSUU/9o+oYWm3+t6wu78mLnh580KFkj2rBZImJPii XFizUmT3jrnIssOmrGa1qf103dMtFicJBTwacM4VvNpxBIObt/IcnK4k/HhYMhyuOqKu j5k2qkrVLFc7CW4907RTnl8sh3ibRvoiOL0BLf4LYJwDXeHyKUgHHOeIoi8sbDahyLwF 0O1svveMfSRaWVeZDwm/cMA8qPqD7cNxYeTifl2ilTabNDGPHlrNLKmiA6YnlkQ816pD OGTywjgDCtbamexXv1A3RPvx1wMK595c7IEvK8aDeSjcNoLY0mlgy2t+gx25XuN0779R GM8w== X-Gm-Message-State: AJaThX7dWDDUde5OPpSOVyF905K/QWcDqZaz7B7dEsl6zxu4CH7n5bD2 C0PPSl8VR/4Tzf/6NuzwIl4bUa4u72AsiDhLC9Y1FA== X-Received: by 10.202.252.67 with SMTP id a64mr22148901oii.303.1511759740436; Sun, 26 Nov 2017 21:15:40 -0800 (PST) MIME-Version: 1.0 Received: by 10.157.7.132 with HTTP; Sun, 26 Nov 2017 21:15:40 -0800 (PST) In-Reply-To: <201711251226.MKE0Bxdd%fengguang.wu@intel.com> References: <58d686b831e2509d6fc29fbe61dc610902c250c3.1511501514.git.baolin.wang@spreadtrum.com> <201711251226.MKE0Bxdd%fengguang.wu@intel.com> From: Baolin Wang Date: Mon, 27 Nov 2017 13:15:40 +0800 Message-ID: Subject: Re: [PATCH 2/2] clocksource: sprd: Add timer driver for Spreadtrum SC9860 platform To: kbuild test robot Cc: Baolin Wang , kbuild-all@01.org, Daniel Lezcano , Thomas Gleixner , Rob Herring , Mark Rutland , devicetree@vger.kernel.org, LKML , Mark Brown Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 25 November 2017 at 13:00, kbuild test robot wrote: > Hi Baolin, > > Thank you for the patch! Perhaps something to improve: > > [auto build test WARNING on tip/timers/core] > [also build test WARNING on v4.14 next-20171124] > [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] > > url: https://github.com/0day-ci/linux/commits/Baolin-Wang/dt-bindings-clocksource-Add-Spreadtrum-SC9860-timer/20171125-090749 > config: arm-allmodconfig (attached as .config) > compiler: arm-linux-gnueabi-gcc (Debian 7.2.0-11) 7.2.0 > reproduce: > wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross > chmod +x ~/bin/make.cross > # save the attached .config to linux build tree > make.cross ARCH=arm > > All warnings (new ones prefixed by >>): > > In file included from include/linux/swab.h:4:0, > from include/uapi/linux/byteorder/big_endian.h:12, > from include/linux/byteorder/big_endian.h:4, > from arch/arm/include/uapi/asm/byteorder.h:19, > from include/asm-generic/bitops/le.h:5, > from arch/arm/include/asm/bitops.h:340, > from include/linux/bitops.h:37, > from include/linux/kernel.h:10, > from include/linux/list.h:8, > from include/linux/preempt.h:10, > from include/linux/spinlock.h:50, > from include/linux/seqlock.h:35, > from include/linux/time.h:5, > from include/uapi/linux/timex.h:56, > from include/linux/timex.h:56, > from include/linux/clocksource.h:12, > from drivers/clocksource/sprd-timer.c:7: > drivers/clocksource/sprd-timer.c: In function 'sprd_timer_update_counter': > drivers/clocksource/sprd-timer.c:85:24: warning: right shift count >= width of type [-Wshift-count-overflow] > writel_relaxed(cycles >> TIMER_VALUE_HI_SHIFT, OK. I will fix this warning in next version. Thanks. > ^ > include/uapi/linux/swab.h:113:54: note: in definition of macro '__swab32' > #define __swab32(x) (__u32)__builtin_bswap32((__u32)(x)) > ^ > include/linux/byteorder/generic.h:87:21: note: in expansion of macro '__cpu_to_le32' > #define cpu_to_le32 __cpu_to_le32 > ^~~~~~~~~~~~~ >>> drivers/clocksource/sprd-timer.c:85:2: note: in expansion of macro 'writel_relaxed' > writel_relaxed(cycles >> TIMER_VALUE_HI_SHIFT, > ^~~~~~~~~~~~~~ > > vim +/writel_relaxed +85 drivers/clocksource/sprd-timer.c > > 79 > 80 static void sprd_timer_update_counter(struct sprd_timer_device *timer, > 81 unsigned long cycles) > 82 { > 83 writel_relaxed(cycles & TIMER_VALUE_LO_MASK, > 84 timer->base + TIMER_LOAD_LO); > > 85 writel_relaxed(cycles >> TIMER_VALUE_HI_SHIFT, > 86 timer->base + TIMER_LOAD_HI); > 87 } > 88 > > --- > 0-DAY kernel test infrastructure Open Source Technology Center > https://lists.01.org/pipermail/kbuild-all Intel Corporation -- Baolin.wang Best Regards From 1585012920421142660@xxx Sat Nov 25 05:01:53 +0000 2017 X-GM-THRID: 1584925162670558686 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread