Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp1522546ybg; Thu, 4 Jun 2020 11:49:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz0PyKEhOkpcLHyyTCISfqKuzdJk9o9FsomIickEPkfoKHudSIAjPuKkeuNmv0rU2U+7e5Y X-Received: by 2002:a17:906:7c82:: with SMTP id w2mr4890277ejo.296.1591296555108; Thu, 04 Jun 2020 11:49:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591296555; cv=none; d=google.com; s=arc-20160816; b=ZtH5Du7qemFol7hHo8IvDWXFwYW6STz1RAUFoda6Py9i0tV+LnBQ5MND2NVk8a7Ba3 bDEtUxKB8MrnDsqgd9v0Tq2/5kp+3By57DQiOXSPSCJyLgwkthejFqp/wa89ECSoxnBF 01F4uefh9IncrdbIGXk1rw63cvyV+tSENKSuAz9uKhjdxwnNyPqgH9AjB1clBtACyvzP 1VSWrtWlzkKjbbhgiE//myFEajP1fp/nxDRAMi0o+ttX5KCw179Aj0EOr/SDfyOwqMnh vNmW2bI5WvLF2y2rP7OrvbkYLe6bNj58eQME30zziWssr29e8Z/5FeQvFm3n9CvtYujr 8UWg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=Wax4PTMKC91KYPdKcHl2puiFv+eU6eLijgiQ1wOXRG4=; b=kcF5599wOtpr+4zBTiRPytFIZ8H+dhxKXT3mbsVxpMZBH27zrz4CRqAL9q77+IUyCJ g2LXeJaw6Wo4Mh4Tdxm7Nmzsss70QIuw71QUHV7H6E4DNDiLkxhlQEc+3W5wc/YMRLUp 8p9BPVahk2V/n2jLGSYL6CAqPFXgTvII7/NtXx61mGdrEFRpJCE7vaqeUODF+QhZyzkR Lf74iUw2eLFKmMHKp7agJmR2E59Fm6anMi5EB8uSbuJ1OdXDJDHIJ44iTgghgKmyzkJ5 UBgKtlZNekskYCXqCZDqrmq+1u5M1GI7jrh5upUzxT8X5ZqrVzcZ5wtg0mzcSoxARPsk QFxA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=MO+8OXTG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a17si2063096eju.694.2020.06.04.11.48.52; Thu, 04 Jun 2020 11:49:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=MO+8OXTG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729532AbgFDPfb (ORCPT + 99 others); Thu, 4 Jun 2020 11:35:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35500 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729402AbgFDPfb (ORCPT ); Thu, 4 Jun 2020 11:35:31 -0400 Received: from mail-pg1-x541.google.com (mail-pg1-x541.google.com [IPv6:2607:f8b0:4864:20::541]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 60665C08C5C0 for ; Thu, 4 Jun 2020 08:35:31 -0700 (PDT) Received: by mail-pg1-x541.google.com with SMTP id u5so3618191pgn.5 for ; Thu, 04 Jun 2020 08:35:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=Wax4PTMKC91KYPdKcHl2puiFv+eU6eLijgiQ1wOXRG4=; b=MO+8OXTGBmz97fF3PSAUhzNy/sUteX25T2uHr/xf1tHYvpVUxG1XScpC05FjrpAK4s zpKeD88G8PrmeBKrg918QFJTO/D2/5OWiEiOdU2xUPdPNigNXVLxMaY0cxTABLqPzHmB A6xODYnbuSBQfyTq668XHZWQDIS1meYvH6f47xEt6iTKFIj3nT03WfcqwrHXB8Ia8oYk JwpqYWJffVZ8EiOIlAuBZEljfybk2eJXZVa8oElFQ7sMgIMnbEYGOM20gXzna0n5JXyB R9zpfR9B+p/GfOruu+bdkIQleOHG1lTkQaLGIXgJXmNZrdXMMxt3Wh/hDcTwiqoDgj7e M/XA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=Wax4PTMKC91KYPdKcHl2puiFv+eU6eLijgiQ1wOXRG4=; b=iKNl6Qr8nWr9wpJ/hCpWGT/Mn3VPTw+sBIfGiCNdXuRtqiD2TJUJPlzs2PhmC1Dd5u Tu6z2feQAIJt2CwSjGw5vX5Uk2NJBxmKxK2VQVaMDGGxY0234LGx5+JZIuQ909BjMpgn zlnwYlVT/6zsMHssRYitu3LYcx+LPEYYpddLjgtaoihuwjnEfnwPXCUBqzFZVPCXHfSU bVtld5gVoMDkPzGgUfBdJWqx54pLDHB0oW72SYQoLbj70zdhUJaBxv6rKrmiYcAPcCHa 890TwH4TayzpaKisJ6USQHteMd0lzMdU+UcdJl9aYRvHHeIyA4B3deb3nrMTND4mwZsH E+Ag== X-Gm-Message-State: AOAM532E/qq8LtM4h062VfwaFcSGIPB1UXn6HfXkwKrrjlJwGEu14IjU EbMtMq+rlALcm7khYWVLPuM= X-Received: by 2002:aa7:8506:: with SMTP id v6mr4883505pfn.303.1591284930918; Thu, 04 Jun 2020 08:35:30 -0700 (PDT) Received: from localhost ([162.211.223.96]) by smtp.gmail.com with ESMTPSA id np5sm6659239pjb.43.2020.06.04.08.35.29 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 04 Jun 2020 08:35:30 -0700 (PDT) Date: Thu, 4 Jun 2020 23:35:18 +0800 From: Dejin Zheng To: kernel test robot Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org, Mark Brown Subject: Re: drivers/reset/reset-intel-gw.c:18: warning: "REG_OFFSET" redefined Message-ID: <20200604153518.GA23034@nuc8i5> References: <202006041903.Mwlo5QJ5%lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <202006041903.Mwlo5QJ5%lkp@intel.com> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jun 04, 2020 at 07:37:06PM +0800, kernel test robot wrote: > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master > head: 6929f71e46bdddbf1c4d67c2728648176c67c555 > commit: e44ab4e14d6f4c448ae555132090c1a116b19e5c regmap: Simplify implementation of the regmap_read_poll_timeout() macro > date: 6 weeks ago > config: arm-randconfig-r035-20200604 (attached as .config) > compiler: arm-linux-gnueabi-gcc (GCC) 9.3.0 > reproduce (this is a W=1 build): > wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross > chmod +x ~/bin/make.cross > git checkout e44ab4e14d6f4c448ae555132090c1a116b19e5c > # save the attached .config to linux build tree > COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arm > > If you fix the issue, kindly add following tag as appropriate > Reported-by: kernel test robot > Hi Thanks very much for report this issue to me, and very very sorry for that. I submit a commit to fix it. it is in here: https://lkml.org/lkml/2020/6/4/606 BR, Dejin > All warnings (new ones prefixed by >>, old ones prefixed by <<): > > >> drivers/reset/reset-intel-gw.c:18: warning: "REG_OFFSET" redefined > 18 | #define REG_OFFSET GENMASK(31, 16) > | > In file included from arch/arm/mach-ixp4xx/include/mach/hardware.h:30, > from arch/arm/mach-ixp4xx/include/mach/io.h:15, > from arch/arm/include/asm/io.h:198, > from include/linux/io.h:13, > from include/linux/iopoll.h:14, > from include/linux/regmap.h:20, > from drivers/reset/reset-intel-gw.c:12: > arch/arm/mach-ixp4xx/include/mach/platform.h:25: note: this is the location of the previous definition > 25 | #define REG_OFFSET 3 > | > > vim +/REG_OFFSET +18 drivers/reset/reset-intel-gw.c > > c9aef213e38cde Dilip Kota 2020-01-03 17 > c9aef213e38cde Dilip Kota 2020-01-03 @18 #define REG_OFFSET GENMASK(31, 16) > c9aef213e38cde Dilip Kota 2020-01-03 19 #define BIT_OFFSET GENMASK(15, 8) > c9aef213e38cde Dilip Kota 2020-01-03 20 #define STAT_BIT_OFFSET GENMASK(7, 0) > c9aef213e38cde Dilip Kota 2020-01-03 21 > > :::::: The code at line 18 was first introduced by commit > :::::: c9aef213e38cde27d4689a5cbe25a7c1b1db9fad reset: intel: Add system reset controller driver > > :::::: TO: Dilip Kota > :::::: CC: Philipp Zabel > > --- > 0-DAY CI Kernel Test Service, Intel Corporation > https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org