From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0293EC19F2A for ; Sat, 30 Jul 2022 20:49:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231281AbiG3Ute (ORCPT ); Sat, 30 Jul 2022 16:49:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57384 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230045AbiG3Utd (ORCPT ); Sat, 30 Jul 2022 16:49:33 -0400 Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D77BD140B4 for ; Sat, 30 Jul 2022 13:49:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1659214171; x=1690750171; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=evrYxs/wyfrdmJFqzAXFVDdWlI2FT6f1sro5mPlxtas=; b=FdX1Cze8LxlNcxFFryH3vIQlh2rPtOchhUK9LBTZf8a6WAvHfmeRHhgJ S+9U3jlZVqHxz+HnKBB/K5ew87XMVr4aU/3jsNf6j/b6vX0qfyE/JyUY4 vu1dNPQJtE4oRU3XoIcm+zqi9CVI6hNVTbbS29YexpanfmRdYVvL8vohz sD1uctyw3dgjC6OhdxmO4rC+StcFMYy7dChl8b7d/xLmkciP52qaxmqSU IWo3d02CXtxCH/2j2k82+hUlgHJSVr1nsUcvoaO62kaDOMXihxYWcmv0X gTwpDh/v7Xis9UWQ4Vwo2uHRr/zTzEy//SrekB8N99wfCetYTcuzSOcfn g==; X-IronPort-AV: E=McAfee;i="6400,9594,10424"; a="271988001" X-IronPort-AV: E=Sophos;i="5.93,204,1654585200"; d="scan'208";a="271988001" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Jul 2022 13:49:31 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,204,1654585200"; d="scan'208";a="552094257" Received: from lkp-server01.sh.intel.com (HELO e0eace57cfef) ([10.239.97.150]) by orsmga003.jf.intel.com with ESMTP; 30 Jul 2022 13:49:29 -0700 Received: from kbuild by e0eace57cfef with local (Exim 4.96) (envelope-from ) id 1oHtOq-000DK3-39; Sat, 30 Jul 2022 20:49:28 +0000 Date: Sun, 31 Jul 2022 04:49:18 +0800 From: kernel test robot To: Marek Vasut , linux-usb@vger.kernel.org Cc: kbuild-all@lists.01.org, Marek Vasut , Chanwoo Choi , Greg Kroah-Hartman , Heikki Krogerus , Yassine Oudjana Subject: Re: [PATCH 2/2] extcon: usbc-tusb320: Add USB TYPE-C support Message-ID: <202207310423.4ybeL2WB-lkp@intel.com> References: <20220730180500.152004-2-marex@denx.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220730180500.152004-2-marex@denx.de> Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org Hi Marek, I love your patch! Perhaps something to improve: [auto build test WARNING on chanwoo-extcon/extcon-next] [also build test WARNING on linus/master v5.19-rc8 next-20220728] [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#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Marek-Vasut/extcon-usbc-tusb320-Factor-out-extcon-into-dedicated-functions/20220731-020545 base: https://git.kernel.org/pub/scm/linux/kernel/git/chanwoo/extcon.git extcon-next config: sparc-randconfig-r031-20220731 (https://download.01.org/0day-ci/archive/20220731/202207310423.4ybeL2WB-lkp@intel.com/config) compiler: sparc64-linux-gcc (GCC) 12.1.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/intel-lab-lkp/linux/commit/7bce9c0377f5e41fa29f57af40f436a48e2260b1 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Marek-Vasut/extcon-usbc-tusb320-Factor-out-extcon-into-dedicated-functions/20220731-020545 git checkout 7bce9c0377f5e41fa29f57af40f436a48e2260b1 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=sparc SHELL=/bin/bash drivers/extcon/ If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> drivers/extcon/extcon-usbc-tusb320.c:19: warning: expecting prototype for drivers/extcon/extcon-tusb320.c(). Prototype was for TUSB320_REG8() instead vim +19 drivers/extcon/extcon-usbc-tusb320.c 18 > 19 #define TUSB320_REG8 0x8 20 #define TUSB320_REG8_CURRENT_MODE_ADVERTISE GENMASK(7, 6) 21 #define TUSB320_REG8_CURRENT_MODE_ADVERTISE_USB 0x0 22 #define TUSB320_REG8_CURRENT_MODE_ADVERTISE_15A 0x1 23 #define TUSB320_REG8_CURRENT_MODE_ADVERTISE_30A 0x2 24 #define TUSB320_REG8_CURRENT_MODE_DETECT GENMASK(5, 4) 25 #define TUSB320_REG8_CURRENT_MODE_DETECT_DEF 0x0 26 #define TUSB320_REG8_CURRENT_MODE_DETECT_MED 0x1 27 #define TUSB320_REG8_CURRENT_MODE_DETECT_ACC 0x2 28 #define TUSB320_REG8_CURRENT_MODE_DETECT_HI 0x3 29 #define TUSB320_REG8_ACCESSORY_CONNECTED GENMASK(3, 2) 30 #define TUSB320_REG8_ACCESSORY_CONNECTED_NONE 0x0 31 #define TUSB320_REG8_ACCESSORY_CONNECTED_AUDIO 0x4 32 #define TUSB320_REG8_ACCESSORY_CONNECTED_ACC 0x5 33 #define TUSB320_REG8_ACCESSORY_CONNECTED_DEBUG 0x6 34 #define TUSB320_REG8_ACTIVE_CABLE_DETECTION BIT(0) 35 -- 0-DAY CI Kernel Test Service https://01.org/lkp