Content-Type: multipart/mixed; boundary="===============5774033462780296073==" MIME-Version: 1.0 From: kernel test robot To: kbuild-all@lists.01.org Subject: Re: [PATCH v1 2/2] usb: typec: tcpm: Enable limit_src_current_set callback Date: Mon, 07 Feb 2022 18:01:09 +0800 Message-ID: <202202071718.oef2uU55-lkp@intel.com> In-Reply-To: <20220207043907.2758424-2-badhri@google.com> List-Id: --===============5774033462780296073== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Hi Badhri, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on usb/usb-testing] [also build test WARNING on linus/master v5.17-rc3 next-20220207] [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/Badhri-Jagan-Sridharan/usb= -typec-Introduce-typec-attributes-for-limiting-source-current/20220207-1416= 25 base: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-= testing config: powerpc-allyesconfig (https://download.01.org/0day-ci/archive/20220= 207/202202071718.oef2uU55-lkp(a)intel.com/config) compiler: powerpc-linux-gcc (GCC) 11.2.0 reproduce (this is a W=3D1 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/3b7afb6baa84baf8d1d27a464= 25095017772e87b git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Badhri-Jagan-Sridharan/usb-typec-I= ntroduce-typec-attributes-for-limiting-source-current/20220207-141625 git checkout 3b7afb6baa84baf8d1d27a46425095017772e87b # save the config file to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=3D$HOME/0day COMPILER=3Dgcc-11.2.0 make.cross= O=3Dbuild_dir ARCH=3Dpowerpc SHELL=3D/bin/bash drivers/usb/typec/tcpm/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> drivers/usb/typec/tcpm/tcpm.c:5919:5: warning: no previous prototype for= 'tcpm_update_source_capabilities_locked' [-Wmissing-prototypes] 5919 | int tcpm_update_source_capabilities_locked(struct tcpm_port *por= t) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vim +/tcpm_update_source_capabilities_locked +5919 drivers/usb/typec/tcpm/t= cpm.c 5918 = > 5919 int tcpm_update_source_capabilities_locked(struct tcpm_port *port) 5920 { 5921 int ret =3D 0; 5922 = 5923 switch (port->state) { 5924 case SRC_UNATTACHED: 5925 case SRC_ATTACH_WAIT: 5926 case SRC_TRYWAIT: 5927 tcpm_set_cc(port, tcpm_rp_cc(port)); 5928 break; 5929 case SRC_SEND_CAPABILITIES: 5930 case SRC_NEGOTIATE_CAPABILITIES: 5931 case SRC_READY: 5932 case SRC_WAIT_NEW_CAPABILITIES: 5933 port->upcoming_state =3D SRC_SEND_CAPABILITIES; 5934 ret =3D tcpm_ams_start(port, POWER_NEGOTIATION); 5935 if (ret =3D=3D -EAGAIN) { 5936 port->upcoming_state =3D INVALID_STATE; 5937 break; 5938 } 5939 break; 5940 default: 5941 break; 5942 } 5943 return ret; 5944 } 5945 = --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org --===============5774033462780296073==--