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 29570C00140 for ; Mon, 15 Aug 2022 17:59:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232848AbiHOR7j (ORCPT ); Mon, 15 Aug 2022 13:59:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39260 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232924AbiHOR7P (ORCPT ); Mon, 15 Aug 2022 13:59:15 -0400 Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 37B742873A; Mon, 15 Aug 2022 10:58:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1660586330; x=1692122330; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=GoWX3NVW176iA4DRV5DnnuWj5qZvqeRzOQoj6JSiaI4=; b=I8trxM/3j8dTeVxjpCf6TLl+UA+fdTW39q2CLGl4ZMv6JVs4+jQq4fvp N4X9JJRZIgyGRXrzGD/g+FJLh6tMF2mGvJ4smVnAb7vnL7WsR+JUH4GFK zMqMctqF3WfKLO0Y2/cY9H+KGK4t+g41HxFxujSO2m7w1hLeuTaDvTHDD oRAx4ZWnqF+sBw8yh8AzaP7bOw7Mu2xBfm1h0i5urdT1pAd7dLLTPEBqd SW7huwlqkB28+NSCw49T+MEtydYzW8c1Is7am78Muy2y2EUlhsd9IuGJu VkcHCIN7QaGjsk/mQ2pKqWJ/bm28Jr4cHkbUcELerwjaQwY6mqzEfxH8g Q==; X-IronPort-AV: E=McAfee;i="6400,9594,10440"; a="293297275" X-IronPort-AV: E=Sophos;i="5.93,238,1654585200"; d="scan'208";a="293297275" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Aug 2022 10:58:49 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,238,1654585200"; d="scan'208";a="749015252" Received: from lkp-server02.sh.intel.com (HELO 3d2a4d02a2a9) ([10.239.97.151]) by fmsmga001.fm.intel.com with ESMTP; 15 Aug 2022 10:58:38 -0700 Received: from kbuild by 3d2a4d02a2a9 with local (Exim 4.96) (envelope-from ) id 1oNeMH-00019B-1p; Mon, 15 Aug 2022 17:58:37 +0000 Date: Tue, 16 Aug 2022 01:58:14 +0800 From: kernel test robot To: Huacai Chen , Arnd Bergmann , Huacai Chen , "Rafael J . Wysocki" , Len Brown , Robert Moore , Erik Kaneda Cc: kbuild-all@lists.01.org, loongarch@lists.linux.dev, linux-arch@vger.kernel.org, linux-acpi@vger.kernel.org, Xuefeng Li , Jianmin Lv , Jiaxun Yang Subject: Re: [PATCH 1/2] LoongArch: Add CPU HWMon platform driver Message-ID: <202208160121.FAZ06e7K-lkp@intel.com> References: <20220815124803.3332991-1-chenhuacai@loongson.cn> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220815124803.3332991-1-chenhuacai@loongson.cn> Precedence: bulk List-ID: X-Mailing-List: linux-arch@vger.kernel.org Hi Huacai, I love your patch! Perhaps something to improve: [auto build test WARNING on soc/for-next] [also build test WARNING on linus/master v6.0-rc1 next-20220815] [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/Huacai-Chen/LoongArch-Add-CPU-HWMon-platform-driver/20220815-205142 base: https://git.kernel.org/pub/scm/linux/kernel/git/soc/soc.git for-next config: loongarch-allyesconfig (https://download.01.org/0day-ci/archive/20220816/202208160121.FAZ06e7K-lkp@intel.com/config) compiler: loongarch64-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/159dd6fa1dd6a1f121ca589031959f9ef7db640d git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Huacai-Chen/LoongArch-Add-CPU-HWMon-platform-driver/20220815-205142 git checkout 159dd6fa1dd6a1f121ca589031959f9ef7db640d # 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=loongarch SHELL=/bin/bash drivers/platform/loongarch/ If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> drivers/platform/loongarch/cpu_hwmon.c:13:5: warning: no previous prototype for 'loongson3_cpu_temp' [-Wmissing-prototypes] 13 | int loongson3_cpu_temp(int cpu) | ^~~~~~~~~~~~~~~~~~ vim +/loongson3_cpu_temp +13 drivers/platform/loongarch/cpu_hwmon.c 12 > 13 int loongson3_cpu_temp(int cpu) 14 { 15 u32 reg; 16 17 reg = iocsr_read32(LOONGARCH_IOCSR_CPUTEMP) & 0xff; 18 19 return (int)((s8)reg) * 1000; 20 } 21 EXPORT_SYMBOL(loongson3_cpu_temp); 22 -- 0-DAY CI Kernel Test Service https://01.org/lkp