Content-Type: multipart/mixed; boundary="===============1964329781838373265==" MIME-Version: 1.0 From: Alvin Šipraga To: kbuild-all@lists.01.org Subject: Re: [PATCH 3/4] usb: typec: add TUSB320xA driver Date: Tue, 01 Mar 2022 17:20:51 +0000 Message-ID: <87h78h8u8d.fsf@bang-olufsen.dk> In-Reply-To: <202203020056.igXsHYzi-lkp@intel.com> List-Id: --===============1964329781838373265== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable kernel test robot writes: > Hi "Alvin, > > I love your patch! Perhaps something to improve: > > > All warnings (new ones prefixed by >>): > >>> drivers/usb/typec/tusb320xa.c:407:6: warning: no previous prototype for= 'tusb320xa_action_role_sw_put' [-Wmissing-prototypes] > 407 | void tusb320xa_action_role_sw_put(void *data) > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ >>> drivers/usb/typec/tusb320xa.c:414:6: warning: no previous prototype for= 'tusb320xa_action_unregister_port' [-Wmissing-prototypes] > 414 | void tusb320xa_action_unregister_port(void *data) > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Ah yes, these should be static, will fix in v2. Thank you, test robot. > > > vim +/tusb320xa_action_role_sw_put +407 drivers/usb/typec/tusb320xa.c > > 406 = > > 407 void tusb320xa_action_role_sw_put(void *data) > 408 { > 409 struct usb_role_switch *role_sw =3D data; > 410 = > 411 usb_role_switch_put(role_sw); > 412 } > 413 = > > 414 void tusb320xa_action_unregister_port(void *data) > 415 { > 416 struct typec_port *port =3D data; > 417 = > 418 typec_unregister_port(port); > 419 } > 420 = > > --- > 0-DAY CI Kernel Test Service, Intel Corporation > https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org --===============1964329781838373265==--