Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F14605669; Wed, 15 Mar 2023 17:06:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1678900017; x=1710436017; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=H4UMzReeAM+PlF8XGcFbq/Zb3ED3oOaNxlibZHBIPpo=; b=c77ssOWR17mQPT2IZXs4S3Fwh+1ugmnRR0IYXYyIOSd3YOjrimdVNWdt df+b9sY4YMnC4js/tlX3WJHGl5ByIf+xojEefjCwr3u+o+b/s/2WbQdz/ 3EE/NHSS3l10ft7kWnrcQugh7S6bnfRJS8O/Gy9mmNWs8FMBCQtonA8f1 h/KcGiMEMLZ/QcOXZZgUHiiLCrLaHRGU8xl8a46JUNYAKgdR0cNSPlckN Zo54Aap249M6ziJ/gzXkqe5hXjpOVnwnTOVCu+bn0zhVbxT//RJHnzCyA vgE/DAg3vXy7RYYOeAbPDp7v9Vn9lh5LMRT3NwFzzw9/iyhL08cTav0mP Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10650"; a="424037868" X-IronPort-AV: E=Sophos;i="5.98,262,1673942400"; d="scan'208";a="424037868" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Mar 2023 10:06:41 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10650"; a="768584485" X-IronPort-AV: E=Sophos;i="5.98,262,1673942400"; d="scan'208";a="768584485" Received: from smile.fi.intel.com ([10.237.72.54]) by FMSMGA003.fm.intel.com with ESMTP; 15 Mar 2023 10:06:38 -0700 Received: from andy by smile.fi.intel.com with local (Exim 4.96) (envelope-from ) id 1pcUaB-003xmq-1r; Wed, 15 Mar 2023 19:06:35 +0200 Date: Wed, 15 Mar 2023 19:06:35 +0200 From: Andy Shevchenko To: kernel test robot Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, Kurt Kanzenbach , Andrew Lunn , Florian Fainelli , Vladimir Oltean , Eric Dumazet , Jakub Kicinski , Paolo Abeni Subject: Re: [PATCH net-next v6 1/1] net: dsa: hellcreek: Get rid of custom led_init_default_state_get() Message-ID: References: <20230314181824.56881-1-andriy.shevchenko@linux.intel.com> <202303150831.vgyKe8FD-lkp@intel.com> Precedence: bulk X-Mailing-List: llvm@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <202303150831.vgyKe8FD-lkp@intel.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo On Wed, Mar 15, 2023 at 09:05:25AM +0800, kernel test robot wrote: > Hi Andy, > > I love your patch! Yet something to improve: > > [auto build test ERROR on net-next/master] > > url: https://github.com/intel-lab-lkp/linux/commits/Andy-Shevchenko/net-dsa-hellcreek-Get-rid-of-custom-led_init_default_state_get/20230315-021931 > patch link: https://lore.kernel.org/r/20230314181824.56881-1-andriy.shevchenko%40linux.intel.com > patch subject: [PATCH net-next v6 1/1] net: dsa: hellcreek: Get rid of custom led_init_default_state_get() > config: i386-randconfig-a015-20230313 (https://download.01.org/0day-ci/archive/20230315/202303150831.vgyKe8FD-lkp@intel.com/config) > compiler: clang version 14.0.6 (https://github.com/llvm/llvm-project f28c006a5895fc0e329fe15fead81e37457cb1d1) > 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/fdd54417a75386e7ad47065c21403835b7fda94a > git remote add linux-review https://github.com/intel-lab-lkp/linux > git fetch --no-tags linux-review Andy-Shevchenko/net-dsa-hellcreek-Get-rid-of-custom-led_init_default_state_get/20230315-021931 > git checkout fdd54417a75386e7ad47065c21403835b7fda94a > # save the config file > mkdir build_dir && cp config build_dir/.config > COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=i386 olddefconfig > COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=i386 SHELL=/bin/bash drivers/net/dsa/hirschmann/ > > If you fix the issue, kindly add following tag where applicable > | Reported-by: kernel test robot > | Link: https://lore.kernel.org/oe-kbuild-all/202303150831.vgyKe8FD-lkp@intel.com/ > > All errors (new ones prefixed by >>): > > >> drivers/net/dsa/hirschmann/hellcreek_ptp.c:322:10: error: implicit declaration of function 'led_init_default_state_get' is invalid in C99 [-Werror,-Wimplicit-function-declaration] > state = led_init_default_state_get(of_fwnode_handle(led)); > ^ > 1 error generated. I can not reproduce it. I have downloaded net-next and applied the only patch on top. I have downloaded the above mentioned kernel configuration and repeated the steps with `make ... oldconfig; make W=1 ...` Can you shed a light on what's going on here? Note, the bug is impossibly related to my patch because the new API is in the same header as already used from the LEDS framework. If it's reproducible, it should be also without my patch. -- With Best Regards, Andy Shevchenko