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 E4864C433FE for ; Wed, 19 Jan 2022 20:13:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243988AbiASUNp (ORCPT ); Wed, 19 Jan 2022 15:13:45 -0500 Received: from mga17.intel.com ([192.55.52.151]:50753 "EHLO mga17.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235572AbiASUNn (ORCPT ); Wed, 19 Jan 2022 15:13:43 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1642623223; x=1674159223; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=Su+9Fd4Q3YhyXdzNpDgALgrtkksK+byOH7GvIaHhM1o=; b=eqvsDJ2MSG5gNBmw8FWxJgyjI00xGOqvfzziOZcXsVJ0bNQZht2H2jOc WjnR7UQRpnih5O1PfDJDwKFE4sjbgTXpfn1Oi5J33AXuvt1oHQIHi4VKZ srfzuTBBbubOm7BEz5jJfCba1BYK+EFHAnqtbMVfRVI4i4wrxqYPBWuie YY0AtWf9RzUDJ/VeKs7jneCSYv1zgsv46xA4MDofcpz8N/3E4LrVijEhm dbKFPo0vVpyN0jPk41cZ7By7WkRvlKOiRELGIgSxA1Uhx/yA4ImMbck8i oDxnlkb2Ln+TwALukEC2ZvoV5n+dam6OgU736DVvP5F10QzwBb3drCKRS Q==; X-IronPort-AV: E=McAfee;i="6200,9189,10231"; a="225854250" X-IronPort-AV: E=Sophos;i="5.88,300,1635231600"; d="scan'208";a="225854250" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Jan 2022 12:13:43 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,300,1635231600"; d="scan'208";a="532462482" Received: from lkp-server01.sh.intel.com (HELO 276f1b88eecb) ([10.239.97.150]) by orsmga008.jf.intel.com with ESMTP; 19 Jan 2022 12:13:40 -0800 Received: from kbuild by 276f1b88eecb with local (Exim 4.92) (envelope-from ) id 1nAHKu-000Dj3-5f; Wed, 19 Jan 2022 20:13:40 +0000 Date: Thu, 20 Jan 2022 04:13:22 +0800 From: kernel test robot To: Xin Ji , Heikki Krogerus , Greg Kroah-Hartman Cc: kbuild-all@lists.01.org, bliang@analogixsemi.com, qwen@analogixsemi.com, jli@analogixsemi.com, Xin Ji , linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org Subject: Re: [PATCH v1 2/2] usb: typec: anx7411: Add Analogix PD ANX7411 support Message-ID: <202201200304.8r6KYfr2-lkp@intel.com> References: <20220119110141.1020452-2-xji@analogixsemi.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220119110141.1020452-2-xji@analogixsemi.com> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Xin, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on usb/usb-testing] [also build test WARNING on robh/for-next peter-chen-usb/for-usb-next v5.16 next-20220118] [cannot apply to balbi-usb/testing/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/Xin-Ji/dt-bindings-usb-Add-analogix-anx7411-PD-binding/20220119-190352 base: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing config: alpha-allmodconfig (https://download.01.org/0day-ci/archive/20220120/202201200304.8r6KYfr2-lkp@intel.com/config) compiler: alpha-linux-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/760b0d28447fcaef7a39a20ebce9a4fb96cc0c7d git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Xin-Ji/dt-bindings-usb-Add-analogix-anx7411-PD-binding/20220119-190352 git checkout 760b0d28447fcaef7a39a20ebce9a4fb96cc0c7d # 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=alpha SHELL=/bin/bash drivers/usb/ 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/anx7411.c:835:6: warning: no previous prototype for 'anx7411_port_unregister_altmodes' [-Wmissing-prototypes] 835 | void anx7411_port_unregister_altmodes(struct typec_altmode **adev) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vim +/anx7411_port_unregister_altmodes +835 drivers/usb/typec/anx7411.c 834 > 835 void anx7411_port_unregister_altmodes(struct typec_altmode **adev) 836 { 837 int i; 838 839 for (i = 0; i < MAX_ALTMODE; i++) 840 if (adev[i]) { 841 typec_unregister_altmode(adev[i]); 842 adev[i] = NULL; 843 } 844 } 845 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org