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 8DEB8C433F5 for ; Mon, 28 Feb 2022 21:52:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231219AbiB1VxL (ORCPT ); Mon, 28 Feb 2022 16:53:11 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42908 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229603AbiB1VxJ (ORCPT ); Mon, 28 Feb 2022 16:53:09 -0500 Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9CCD66387; Mon, 28 Feb 2022 13:52:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1646085148; x=1677621148; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=68vHu25QmGilP7sXinR6Uc4xyzJrDMMK85Sd+fRklms=; b=XX3cx1lNd7MVnxWh/jYomchfNfgCbaBSzfEfbGfSTAqrWf4/LqgkeJA1 sk4nw10Zr04Qi6zD/z6YwFB/h6UaCNMRDuIDQDbrxnlbYaSm9x4AqYoTK Df1pse6Jrf2vsPHtaqTXLnDC0d0S9aPj43I5R+GtHEPlKhl9n3k+AdOhP PlDgrcMd0RnRjXbWcYg1Px8zHFOH8UkXFgkNmNnpVvR6E+hwNQjOTynq1 GTPHDXJha6CXWD77s1cbpLqFS2KP++Xa7lePP+pclPb8tLTPPHf9887Ca uf/YW94zLuQb2aPSaX+aVpap9G7EKa2fpvYcNidtP9nsHbzMrAZzitk4n Q==; X-IronPort-AV: E=McAfee;i="6200,9189,10272"; a="240406957" X-IronPort-AV: E=Sophos;i="5.90,144,1643702400"; d="scan'208";a="240406957" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Feb 2022 13:52:28 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,144,1643702400"; d="scan'208";a="593374942" Received: from lkp-server01.sh.intel.com (HELO 788b1cd46f0d) ([10.239.97.150]) by fmsmga008.fm.intel.com with ESMTP; 28 Feb 2022 13:52:25 -0800 Received: from kbuild by 788b1cd46f0d with local (Exim 4.92) (envelope-from ) id 1nOnwP-0007ov-8E; Mon, 28 Feb 2022 21:52:25 +0000 Date: Tue, 1 Mar 2022 05:51:57 +0800 From: kernel test robot To: Won Chung , Heikki Krogerus , Greg Kroah-Hartman , "Rafael J . Wysocki" , Benson Leung , Prashant Malani , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org Cc: kbuild-all@lists.01.org, Won Chung Subject: Re: [PATCH] usb:typec: Add sysfs support for Type C connector's physical location Message-ID: <202203010527.LaNAQMXX-lkp@intel.com> References: <20220228190649.362070-1-wonchung@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220228190649.362070-1-wonchung@google.com> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Won, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on usb/usb-testing] [also build test WARNING on chrome-platform/for-next linus/master v5.17-rc6 next-20220228] [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/Won-Chung/usb-typec-Add-sysfs-support-for-Type-C-connector-s-physical-location/20220301-030738 base: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing config: arm-randconfig-c002-20220228 (https://download.01.org/0day-ci/archive/20220301/202203010527.LaNAQMXX-lkp@intel.com/config) compiler: arm-linux-gnueabi-gcc (GCC) 11.2.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/93d7a0fa1ed009ae6cc98fe5039cec8c9c77609f git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Won-Chung/usb-typec-Add-sysfs-support-for-Type-C-connector-s-physical-location/20220301-030738 git checkout 93d7a0fa1ed009ae6cc98fe5039cec8c9c77609f # save the config file to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=arm SHELL=/bin/bash drivers/usb/typec/ 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/class.c:1649:7: warning: no previous prototype for 'get_pld' [-Wmissing-prototypes] 1649 | void *get_pld(struct device *dev) | ^~~~~~~ vim +/get_pld +1649 drivers/usb/typec/class.c 1648 > 1649 void *get_pld(struct device *dev) 1650 { 1651 #ifdef CONFIG_ACPI 1652 struct acpi_pld_info *pld; 1653 acpi_status status; 1654 1655 if (!has_acpi_companion(dev)) 1656 return NULL; 1657 1658 status = acpi_get_physical_device_location(ACPI_HANDLE(dev), &pld); 1659 if (ACPI_FAILURE(status)) 1660 return NULL; 1661 return pld; 1662 #else 1663 return NULL; 1664 #endif 1665 } 1666 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org