Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp2114071pxj; Wed, 19 May 2021 23:59:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzb10CS+NfeuTDQYeZVWDP3tPfBbi+Ep0aWLUKafsGF08W6IQmOhL9W41vu+bUqlBE/VSR7 X-Received: by 2002:a17:906:a285:: with SMTP id i5mr3252939ejz.350.1621493948450; Wed, 19 May 2021 23:59:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621493948; cv=none; d=google.com; s=arc-20160816; b=ZJJNKzLFgSy8Q7NUZVrjgO8gfnbVgD4pZUYeMgkGdN8Nl7CqO7c5AYtbZXXvMmQ3cs IKqAR+E/SOrMxaqrXDHuql/LmC/Ycro/0BTCKG0+HIgJwbm+ApgAr6msJp1WKm4UxQO8 fcvHZvDXWNBC/s8GExJq7ALJJivjsqSuC9aoJGCI2BuXPahq6V6Hauuv4CAmwdX3KfYJ X50bvNvvMN2jfsuoTnIBMgtvTlckmCFcSHQ/5zqrnf6bC5frnJTPO115Ae544y/MeWaX /k0tYDByXoHSSIkb3/9X/CX0NSkce55sFageFmgxDa56AtvW4LJY3Gqtk7e2WhnjxJbX NPhg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:dkim-signature; bh=h0fXYIN2E5J54+ZmwB3JHOzFpG3abb+viSfy+a5rRgw=; b=WzSizEYFeCwiCbAqavJDWpemjPtpL8h4E2ak3oxCCi6ywgvhR9wrzaMBlvm/HE6A9k 4pKwA2/ZUNDpJX2ad+xUxTuKoR5UIrNoBavgi7tMj57+DuypfhvxJHEU/Ogb9VGO5hsc c33chWZ/5WP2tql2Uwxxm964sra6HtQF9utxHWcqEUwRiUjx9/GQJKRX6nblZKODP/ox Rr1vRLbvpJBMqJs9x6bQxaZzgXYrIH1QTA2sntIBdN9JFT/z/2sMBv+R8ZV4yRrokgcK 7IZi8wLuEPi7oaCStt/vspCIwllULs6LgkC34Qn4mOX53qTBZO4v0GepoyXUfmaRz5U1 1ZGw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=kYsHClz4; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m19si1760916edd.348.2021.05.19.23.58.44; Wed, 19 May 2021 23:59:08 -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=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=kYsHClz4; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230450AbhETG7E (ORCPT + 99 others); Thu, 20 May 2021 02:59:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38750 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229547AbhETG7D (ORCPT ); Thu, 20 May 2021 02:59:03 -0400 Received: from mail-wm1-x333.google.com (mail-wm1-x333.google.com [IPv6:2a00:1450:4864:20::333]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C5CA5C061574 for ; Wed, 19 May 2021 23:57:41 -0700 (PDT) Received: by mail-wm1-x333.google.com with SMTP id o127so8477832wmo.4 for ; Wed, 19 May 2021 23:57:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=h0fXYIN2E5J54+ZmwB3JHOzFpG3abb+viSfy+a5rRgw=; b=kYsHClz4ZtHy58wi/PZc8Bs4XDjVdchu3qYDz74eF+jeJ1IcvezLu7xBX3SUAex/Fr WRUwd9s2agikUezDuM7gyKY2QxMlrLnZTlsDcy1M4boya7xjTOK59F46hBC+jvIwWu0d DFOLKIjh5BIRKyLLbT3RC4x+k/ZXWrPBdTtqfwz1EhkqD0TTzux7YHxOCCWkc6zKwQHo gc8B8Yq5nFGgMo+tad28yqUrL4ZTghKDfSsJrZxgEALJ6dXRavaUnUTCWklWorJuFaga ocs1ZtX9yll7uVmZyp6noJWyThvG6AQmR8evtXzzvXuPzyxSjT6YhKwQsjXcrv0cFjY9 /FjA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=h0fXYIN2E5J54+ZmwB3JHOzFpG3abb+viSfy+a5rRgw=; b=Mq7UgZo1UYqy/gHWjO4m8uV6fWKthz+HZQ/hVEPZMh5e/Qdtm3xmyRRzqDfXu/WVb2 jlXIpen9jO/BIF6iJxJC5jiI0yaSsXE0zypvzZUh9hjFa6y+84rmz6GRhHAP239VuP38 Fy0DvH5BuGPq5dF7oidMYj/qA2GKBsE0DOe2/tF4o0Mld+bCiOZt6V9uTeNMBDz04dCG oGt9EL2iGqqVPGRCOkJt2re4a2rR1tPLKVxVHYm+QztpBcMyvul3CRv7b5i8jI83cXMj x+GpfJHZFDdDPT9in70e/VJVIVnB0obvyu+rvB21h+uj0+MSzexWShpXqUq6bcQA/pI8 nEaw== X-Gm-Message-State: AOAM530n0CpGsyFS3QPhpqKW3fLm11wFp0PhDffDnZ+eAENtfWJ1PaUI dlkk6OopTOYHsmSXQ/nIRL2/ZA== X-Received: by 2002:a1c:9dc3:: with SMTP id g186mr2053326wme.47.1621493860351; Wed, 19 May 2021 23:57:40 -0700 (PDT) Received: from localhost ([2a01:cb19:826e:8e00:a45f:260c:febd:73ce]) by smtp.gmail.com with ESMTPSA id w12sm1928423wrt.16.2021.05.19.23.57.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 19 May 2021 23:57:39 -0700 (PDT) From: Mattijs Korpershoek To: kernel test robot , Dmitry Torokhov , Matthias Brugger Cc: kbuild-all@lists.01.org, Fabien Parent , linux-input@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 3/3] Input: mtk-pmic-keys - add support for MT6358 In-Reply-To: <202105200248.VC2Rdk6B-lkp@intel.com> References: <20210512152648.39961-4-mkorpershoek@baylibre.com> <202105200248.VC2Rdk6B-lkp@intel.com> Date: Thu, 20 May 2021 08:57:38 +0200 Message-ID: <87sg2h28pp.fsf@baylibre.com> MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, kernel test robot writes: > Hi Mattijs, > > Thank you for the patch! Yet something to improve: > > [auto build test ERROR on input/next] > [also build test ERROR on v5.13-rc2 next-20210519] > [If your patch is applied to the wrong git tree, kindly drop us a note. > And when submitting patch, we suggest to use '--base' as documented in > https://git-scm.com/docs/git-format-patch] > > url: https://github.com/0day-ci/linux/commits/Mattijs-Korpershoek/input-MT6358-PMIC-button-support/20210513-001558 > base: https://git.kernel.org/pub/scm/linux/kernel/git/dtor/input.git next > config: s390-randconfig-r014-20210519 (attached as .config) > compiler: s390-linux-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 > # https://github.com/0day-ci/linux/commit/74aae2763d0c259046aa7079a46ba0dfe1995e37 > git remote add linux-review https://github.com/0day-ci/linux > git fetch --no-tags linux-review Mattijs-Korpershoek/input-MT6358-PMIC-button-support/20210513-001558 > git checkout 74aae2763d0c259046aa7079a46ba0dfe1995e37 > # save the attached .config to linux build tree > COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=s390 > > If you fix the issue, kindly add following tag as appropriate > Reported-by: kernel test robot > > All errors (new ones prefixed by >>): > >>> drivers/input/keyboard/mtk-pmic-keys.c:80:22: error: 'MT6358_TOPSTATUS' undeclared here (not in a function); did you mean 'MT6397_OCSTATUS0'? > 80 | MTK_PMIC_KEYS_REGS(MT6358_TOPSTATUS, > | ^~~~~~~~~~~~~~~~ > drivers/input/keyboard/mtk-pmic-keys.c:47:14: note: in definition of macro 'MTK_PMIC_KEYS_REGS' > 47 | .deb_reg = _deb_reg, \ > | ^~~~~~~~ >>> drivers/input/keyboard/mtk-pmic-keys.c:85:18: error: 'MT6358_TOP_RST_MISC' undeclared here (not in a function); did you mean 'MT6397_TOP_RST_MISC'? > 85 | .pmic_rst_reg = MT6358_TOP_RST_MISC, > | ^~~~~~~~~~~~~~~~~~~ > | MT6397_TOP_RST_MISC This build failure is expected. As written in the cover letter, this depends on [1] [1] has been applied to the mfd tree but it's not part of v5.13-rc2 [1] https://lore.kernel.org/r/20210506094116.638527-1-mkorpershoek@baylibre.com > > > vim +80 drivers/input/keyboard/mtk-pmic-keys.c > > 77 > 78 static const struct mtk_pmic_regs mt6358_regs = { > 79 .keys_regs[MTK_PMIC_PWRKEY_INDEX] = > > 80 MTK_PMIC_KEYS_REGS(MT6358_TOPSTATUS, > 81 0x2, MT6358_PSC_TOP_INT_CON0, 0x5), > 82 .keys_regs[MTK_PMIC_HOMEKEY_INDEX] = > 83 MTK_PMIC_KEYS_REGS(MT6358_TOPSTATUS, > 84 0x8, MT6358_PSC_TOP_INT_CON0, 0xa), > > 85 .pmic_rst_reg = MT6358_TOP_RST_MISC, > 86 }; > 87 > > --- > 0-DAY CI Kernel Test Service, Intel Corporation > https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org