All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: Re: [PATCH v8 2/2] pinctrl: mediatek: add rsel setting on MT8195
Date: Wed, 23 Jun 2021 19:54:31 +0800	[thread overview]
Message-ID: <202106231954.5HVjcljL-lkp@intel.com> (raw)
In-Reply-To: <20210623093710.5340-3-zhiyong.tao@mediatek.com>

[-- Attachment #1: Type: text/plain, Size: 3080 bytes --]

Hi Zhiyong,

Thank you for the patch! Perhaps something to improve:

[auto build test WARNING on pinctrl/devel]
[also build test WARNING on robh/for-next v5.13-rc7 next-20210622]
[cannot apply to mediatek/for-next]
[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/Zhiyong-Tao/Mediatek-pinctrl-patch-on-mt8195/20210623-173915
base:   https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl.git devel
config: x86_64-randconfig-a003-20210622 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project b259740801d3515810ecc15bf0c24b0d476a1608)
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
        # install x86_64 cross compiling tool for clang build
        # apt-get install binutils-x86-64-linux-gnu
        # https://github.com/0day-ci/linux/commit/24650abc31b292c3cfc8c82e6281e4b37dc0bb4a
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Zhiyong-Tao/Mediatek-pinctrl-patch-on-mt8195/20210623-173915
        git checkout 24650abc31b292c3cfc8c82e6281e4b37dc0bb4a
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All warnings (new ones prefixed by >>):

>> drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c:667:5: warning: no previous prototype for function 'mtk_pinconf_bias_set_rsel' [-Wmissing-prototypes]
   int mtk_pinconf_bias_set_rsel(struct mtk_pinctrl *hw,
       ^
   drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c:667:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
   int mtk_pinconf_bias_set_rsel(struct mtk_pinctrl *hw,
   ^
   static 
   1 warning generated.


vim +/mtk_pinconf_bias_set_rsel +667 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c

   666	
 > 667	int mtk_pinconf_bias_set_rsel(struct mtk_pinctrl *hw,
   668				      const struct mtk_pin_desc *desc,
   669				      u32 pullup, u32 arg)
   670	{
   671		int err;
   672	
   673		if (arg < MTK_PULL_SET_RSEL_000 || arg > MTK_PULL_SET_RSEL_111) {
   674			err = -EINVAL;
   675			goto out;
   676		}
   677	
   678		arg -= MTK_PULL_SET_RSEL_000;
   679		err = mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_RSEL, arg);
   680		if (err)
   681			goto out;
   682	
   683		err = mtk_pinconf_bias_set_pu_pd(hw, desc, pullup, MTK_ENABLE);
   684	
   685	out:
   686		return err;
   687	}
   688	EXPORT_SYMBOL_GPL(mtk_pinconf_bias_set_rsel);
   689	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 40515 bytes --]

      parent reply	other threads:[~2021-06-23 11:54 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-23  9:37 [PATCH v8 0/2] Mediatek pinctrl patch on mt8195 Zhiyong Tao
2021-06-23  9:37 ` Zhiyong Tao
2021-06-23  9:37 ` Zhiyong Tao
2021-06-23  9:37 ` [PATCH v8 1/2] dt-bindings: pinctrl: mt8195: add rsel define Zhiyong Tao
2021-06-23  9:37   ` Zhiyong Tao
2021-06-23  9:37   ` Zhiyong Tao
2021-06-23  9:37 ` [PATCH v8 2/2] pinctrl: mediatek: add rsel setting on MT8195 Zhiyong Tao
2021-06-23  9:37   ` Zhiyong Tao
2021-06-23  9:37   ` Zhiyong Tao
2021-06-23 10:44   ` kernel test robot
2021-06-23 11:54   ` kernel test robot [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202106231954.5HVjcljL-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.