Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp1595495rdb; Wed, 20 Sep 2023 13:48:35 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGhYGFFfW1Yw8/+Q2MLzTrMMlpqq8Z2kaCOItVcj/+QLkVh5TpYzEN6fdvDto1NixBDZcYa X-Received: by 2002:a05:6a00:cc7:b0:690:23b3:e030 with SMTP id b7-20020a056a000cc700b0069023b3e030mr4094196pfv.33.1695242915666; Wed, 20 Sep 2023 13:48:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695242915; cv=none; d=google.com; s=arc-20160816; b=uw5x9k0Z8bdUu1anJl+JmgFdBuKUidXrKD52SJXpJM6suYtYGWGbP0hEfJ1lDOHF0p iqS3nYtGG0ohL9yB1EVyv3gENA26QRr6fgeSbH1LUcuK7FTqQ5w7XqSV98bAFN5DiB1Y AnBvLPe4DP505zGbWCewg2hQw2a/eS5snmN1p+BBxUS/+XEL2C56IdNafnE+LVBi8FgO V7Iv77d8T8xR43vmvSSEl8MqB9Jimb4UTYCepRMyiHBoTz1QvrJin9JIMdm4X14P3neR m3rSJYJK1P2uBjQt3XHZuSk97dDojwGb01h9ZcJP0/hZYvVeXyOYK2Z2yaQqVLB9HJEF 5jhw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-disposition:mime-version:message-id :subject:cc:to:from:date:dkim-signature; bh=Mbx01yvTL1rL+P5V9hJRvEFC/IIBUpoP0vrLTG33URk=; fh=juHHzUBOTOddfvTia+yatASQnPq+1Q+lzlEfm31VxZI=; b=j/Gi/CRTWFA7+lnzOlLp8BdHLGBd18hxF/qbS39u5K/mfe2n7invq0/YKB53jGLn0S w5VpZeBUsPxZ1ONAN4jWA7z/VjLHVpjpepOnweS/qbA0t6E67MgjnKvGjRWWHY1BuBuz ksM71+LTQIr1ZoiwU/312BRZMojUowftkIgtl298k5vnodGF/eVEUxGugXOHqYE4Fu7y luizQmuODVPCqVumHcEgQueJIEDQw38kNKcGgt7T47Qu6ICT3e76pIhFgQW++0BEMHYx Uaq8e+wJDGfjz0kGwvzAlldSck3HLvv8ro/VpqGGUzY7x0cNjAcDVxtBCd43JD3QpKO2 4+GQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="Bc6/2YIK"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id b26-20020a6567da000000b00530b3b98fc5si12471582pgs.417.2023.09.20.13.48.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Sep 2023 13:48:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="Bc6/2YIK"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 06D008083ABA; Wed, 20 Sep 2023 12:40:19 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229972AbjITTkQ (ORCPT + 99 others); Wed, 20 Sep 2023 15:40:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46312 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229852AbjITTkP (ORCPT ); Wed, 20 Sep 2023 15:40:15 -0400 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.93]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B4C1E9F for ; Wed, 20 Sep 2023 12:40:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1695238809; x=1726774809; h=date:from:to:cc:subject:message-id:mime-version; bh=CGrbJVE947kLcNQvJHXv006YPxanfka9C/SJUX7Mv1E=; b=Bc6/2YIKAvd5/lVLBM5gkiVoIf3v2viGags5yZ1/jE/f0nLkKPVJCTXl /akaQn9OXQxBcYRZTmIoJmmnfs+sM5WOf6WrUKQVjXU4E2byK4lvJrLYh nt/VBWQZnZQ+diq5WVqssNH7tyXFxSeWhk7y7UGCfXewnu8pH4F6p+qgc smmq1PbTzqNbWZpdP6WfWU3qH2Uc9xP9E3yilMoeqEVvNQNWCRPt+wbta Vv5cwcRCtNp4RcIvDN5SxPKtCMF42MxJTaSl9s/En42LOj9c2Mmt1JdG3 XtUrAV3krpK0mGDqYjvmnP8x3LdLJb3Pq9z2t1FYTYFzUAABmmLwaInQI w==; X-IronPort-AV: E=McAfee;i="6600,9927,10839"; a="377621379" X-IronPort-AV: E=Sophos;i="6.03,162,1694761200"; d="scan'208";a="377621379" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Sep 2023 12:40:09 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10839"; a="812291475" X-IronPort-AV: E=Sophos;i="6.03,162,1694761200"; d="scan'208";a="812291475" Received: from lkp-server02.sh.intel.com (HELO 9ef86b2655e5) ([10.239.97.151]) by fmsmga008.fm.intel.com with ESMTP; 20 Sep 2023 12:40:06 -0700 Received: from kbuild by 9ef86b2655e5 with local (Exim 4.96) (envelope-from ) id 1qj33M-00094S-0w; Wed, 20 Sep 2023 19:40:04 +0000 Date: Thu, 21 Sep 2023 03:39:54 +0800 From: kernel test robot To: Christophe Leroy Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org, Michael Ellerman , Arnd Bergmann Subject: arch/powerpc/kernel/traps.c:1167:19: error: unused function '__parse_fpscr' Message-ID: <202309210327.WkqSd5Bq-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Wed, 20 Sep 2023 12:40:19 -0700 (PDT) tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: a229cf67ab851a6e92395f37ed141d065176575a commit: ca13c130a43fe3ab625d22ada0a61e5c0b612229 powerpc/4xx: Remove WatchdogHandler() to fix no previous prototype error date: 5 weeks ago config: powerpc-kilauea_defconfig (https://download.01.org/0day-ci/archive/20230921/202309210327.WkqSd5Bq-lkp@intel.com/config) compiler: clang version 17.0.0 (https://github.com/llvm/llvm-project.git 4a5ac14ee968ff0ad5d2cc1ffa0299048db4c88a) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20230921/202309210327.WkqSd5Bq-lkp@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202309210327.WkqSd5Bq-lkp@intel.com/ All errors (new ones prefixed by >>): >> arch/powerpc/kernel/traps.c:1167:19: error: unused function '__parse_fpscr' [-Werror,-Wunused-function] 1167 | static inline int __parse_fpscr(unsigned long fpscr) | ^ 1 error generated. vim +/__parse_fpscr +1167 arch/powerpc/kernel/traps.c 14cf11af6cf608 Paul Mackerras 2005-09-26 1166 5fad293bcbd48d Kumar Gala 2007-02-07 @1167 static inline int __parse_fpscr(unsigned long fpscr) dc1c1ca3dcd94c Stephen Rothwell 2005-10-01 1168 { aeb1c0f6ff18f5 Eric W. Biederman 2018-04-17 1169 int ret = FPE_FLTUNK; dc1c1ca3dcd94c Stephen Rothwell 2005-10-01 1170 dc1c1ca3dcd94c Stephen Rothwell 2005-10-01 1171 /* Invalid operation */ dc1c1ca3dcd94c Stephen Rothwell 2005-10-01 1172 if ((fpscr & FPSCR_VE) && (fpscr & FPSCR_VX)) 5fad293bcbd48d Kumar Gala 2007-02-07 1173 ret = FPE_FLTINV; dc1c1ca3dcd94c Stephen Rothwell 2005-10-01 1174 dc1c1ca3dcd94c Stephen Rothwell 2005-10-01 1175 /* Overflow */ dc1c1ca3dcd94c Stephen Rothwell 2005-10-01 1176 else if ((fpscr & FPSCR_OE) && (fpscr & FPSCR_OX)) 5fad293bcbd48d Kumar Gala 2007-02-07 1177 ret = FPE_FLTOVF; dc1c1ca3dcd94c Stephen Rothwell 2005-10-01 1178 dc1c1ca3dcd94c Stephen Rothwell 2005-10-01 1179 /* Underflow */ dc1c1ca3dcd94c Stephen Rothwell 2005-10-01 1180 else if ((fpscr & FPSCR_UE) && (fpscr & FPSCR_UX)) 5fad293bcbd48d Kumar Gala 2007-02-07 1181 ret = FPE_FLTUND; dc1c1ca3dcd94c Stephen Rothwell 2005-10-01 1182 dc1c1ca3dcd94c Stephen Rothwell 2005-10-01 1183 /* Divide by zero */ dc1c1ca3dcd94c Stephen Rothwell 2005-10-01 1184 else if ((fpscr & FPSCR_ZE) && (fpscr & FPSCR_ZX)) 5fad293bcbd48d Kumar Gala 2007-02-07 1185 ret = FPE_FLTDIV; dc1c1ca3dcd94c Stephen Rothwell 2005-10-01 1186 dc1c1ca3dcd94c Stephen Rothwell 2005-10-01 1187 /* Inexact result */ dc1c1ca3dcd94c Stephen Rothwell 2005-10-01 1188 else if ((fpscr & FPSCR_XE) && (fpscr & FPSCR_XX)) 5fad293bcbd48d Kumar Gala 2007-02-07 1189 ret = FPE_FLTRES; 5fad293bcbd48d Kumar Gala 2007-02-07 1190 5fad293bcbd48d Kumar Gala 2007-02-07 1191 return ret; 5fad293bcbd48d Kumar Gala 2007-02-07 1192 } 5fad293bcbd48d Kumar Gala 2007-02-07 1193 :::::: The code at line 1167 was first introduced by commit :::::: 5fad293bcbd48d9a2370020cf60e4b4a42559b12 [POWERPC] Fixup error handling when emulating a floating point instruction :::::: TO: Kumar Gala :::::: CC: Kumar Gala -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki