Received: by 2002:a05:7208:b08c:b0:82:bbfa:f723 with SMTP id c12csp399371rbb; Fri, 26 Apr 2024 07:27:37 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWqLnLzGFED9znLkm9JmggJ6dtMxfcjbvSGN75yh1MP8ShhdptZmFD5ZVSfBzoMMa9Jj5wjroMkCFRZXodOZ7ZZMaeWrw6TESiIEodYdA== X-Google-Smtp-Source: AGHT+IFb1SwltF00Dkx4++Mtakkkw+C2/J91Hf7P8OFDwBZ/uUMyaQswFVmvb0h9/IbUiEJDi3/d X-Received: by 2002:a17:906:15d5:b0:a51:ddc6:e00d with SMTP id l21-20020a17090615d500b00a51ddc6e00dmr1930316ejd.26.1714141657710; Fri, 26 Apr 2024 07:27:37 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714141657; cv=pass; d=google.com; s=arc-20160816; b=R47DDp+jX4aTay3ZDaB2xFtqr9zFrjBmpD1fcuEhwe5YADOy1QwIFdAjwNPU5K4IOd 2JaOw7BUDdSeG6bj3cQl2RGMwkPNqNM9vVRTZMrlDBUSNt/pEqEMz3XuGQuGZn35X0FF 8Ck0W9b2/hlsJN2SxcyD3I4md6SiO0+GRwt9VhkaktBzdaErw7GxRjs96LxLqYHbJ54c TXmiqfzdlo0O4sSd1z3IpNX20RVRG2PRUzICePpbKAMu6r3FWPHbbYi61a1lmeo/l0nU RlOG7E2QOlMEvM7GNUkRQ0z7R2ntV+MCnyF13gfXQtEqghC6EjoBTiGRaCS+quEE+eKb pohg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-disposition:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:message-id:subject:cc:to:from:date :dkim-signature; bh=0Ql+s+v7wOuQVouKsJO/7XeMz4GyQbHCkP3xhUMKWQI=; fh=Em8g0qpKwrIJs4qiM8EC86P30f7w3sB2aSMxCszjebY=; b=Pp1eGCC/F9hgWNoHsabV58dGNCYEDySrQKw3EV3AfEgVzQM7lCDCZucG+d9/G4eYaW uEYhLJx+Op5lfuH9V+zZL4HryJudV17D8CMaVTub2LrrexwF7rAxpMRCw5D1pr+TthCT WZ26FmOFWLiThk679rbawfFpwLfBD23FVarif5A7p1FjjsDRW13NqlImLTWkfHPP4GjY gYH222bmviORHTmM3qyvMGrXlUY77R6dHmJZGwJJp3/F9tj0MhqIXGDKJEJ87+UIIixd pmJfS2L76aR5UTvLLeohmW+egHbAlVzPcA139lww+yjWpveaiAIgQ9QlpzJ0ltFp6lYd t64Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=YkytswIb; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-160153-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-160153-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id ds14-20020a170907724e00b00a5239754410si12309198ejc.1000.2024.04.26.07.27.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Apr 2024 07:27:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-160153-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=YkytswIb; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-160153-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-160153-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 76DCC1F21137 for ; Fri, 26 Apr 2024 14:27:37 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1B01E14D6FA; Fri, 26 Apr 2024 14:25:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="YkytswIb" Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.10]) (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 2B5B214883D for ; Fri, 26 Apr 2024 14:25:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.10 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714141557; cv=none; b=d+Pv5NHbM7fxM4hdO+b0PJeFXj4ABMg3Hhf5jcgp3kKBDz/wqiyaZQK287ErBfrXxWyqoCwkf3rf/iZAawBM9ZAjWSb5Oymq42EiPcAjwvUNhIVw/iTY1J+aGFY8KgMe8ovIqZo1r7B/04dj36vHqFiXl0sIjcIDoFJSEsLrLJ0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714141557; c=relaxed/simple; bh=FOxXbY04/XnrCXMqvWb1uftEXqf7Fy5BxGfZ+arTFXk=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition; b=EmQvJGJWvscsRkdxpq3NRSvYbDhwmZ44rKk4GLAL8JSxptRhLTdnK5p3MGFbDBpO+Fq6ZxaMaSzgnzpb8SdB9S2JEAtUL06OHUrMu0elb/lOSKAHwJ2TiWEHH5f2sxrcfJNAMy4hb0zJJiTuuFP+5+dwSmsYAppfkbwsre0PjFo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=YkytswIb; arc=none smtp.client-ip=198.175.65.10 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1714141555; x=1745677555; h=date:from:to:cc:subject:message-id:mime-version; bh=FOxXbY04/XnrCXMqvWb1uftEXqf7Fy5BxGfZ+arTFXk=; b=YkytswIbFsIgP+ka1gOYDtbE9g9e2QO4cEfYWxm1uS2oYF9fmcm5Nm6M ou9luQl5S1R4QO5rECmnAxQhg6M1hMbb56zhfXVFBfHjaM0ZQhACB0fpJ 9Zk6voWpcx7jIKwtAKmWTonjjMNc6bdwd9OEUIlv05rUVYX97rhN9vbUI W63xagtNPzutrQKUW6wrlGF520WcfD+erPri+uLmQ6Wl0Ff/+6Xd7VMXx 3SMmYK1hYXeVUXatz49Er6S8qi37HIuPOxwUoIDpCVwydOzqRdvhQzKpC D/e7icDaLSrDrFyBIY/GFhUZo2/L7SmnVRNzlMkwc3qqW3APMbIpXAfHu g==; X-CSE-ConnectionGUID: JINWK1LgTpeFZ8hY3GFgcw== X-CSE-MsgGUID: waHEHlFVTxyk/34VRveDHw== X-IronPort-AV: E=McAfee;i="6600,9927,11056"; a="27333073" X-IronPort-AV: E=Sophos;i="6.07,232,1708416000"; d="scan'208";a="27333073" Received: from orviesa010.jf.intel.com ([10.64.159.150]) by orvoesa102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Apr 2024 07:25:54 -0700 X-CSE-ConnectionGUID: KaZEcMiAQRK2yurP5QfyJw== X-CSE-MsgGUID: WdR0UyhOQay6S4gFyvWuuQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,232,1708416000"; d="scan'208";a="25313701" Received: from lkp-server01.sh.intel.com (HELO e434dd42e5a1) ([10.239.97.150]) by orviesa010.jf.intel.com with ESMTP; 26 Apr 2024 07:25:52 -0700 Received: from kbuild by e434dd42e5a1 with local (Exim 4.96) (envelope-from ) id 1s0MWL-0003o8-1h; Fri, 26 Apr 2024 14:25:49 +0000 Date: Fri, 26 Apr 2024 22:24:52 +0800 From: kernel test robot To: Liam Howlett Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org, Andrew Morton , Linux Memory Management List , "Liam R. Howlett" Subject: lib/maple_tree.c:336:20: error: unused function 'mte_has_null' Message-ID: <202404262254.lEmMOMMd-lkp@intel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: c942a0cd3603e34dd2d7237e064d9318cb7f9654 commit: 6e7ba8b5e2380f941dda8a1025d70c5ce5b38982 maple_tree: mte_set_full() and mte_clear_full() clang-analyzer clean up date: 1 year, 5 months ago config: x86_64-sof-customedconfig-amd-defconfig (https://download.01.org/0day-ci/archive/20240426/202404262254.lEmMOMMd-lkp@intel.com/config) compiler: clang version 18.1.4 (https://github.com/llvm/llvm-project e6c3289804a67ea0bb6a86fadbe454dd93b8d855) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240426/202404262254.lEmMOMMd-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/202404262254.lEmMOMMd-lkp@intel.com/ All errors (new ones prefixed by >>): lib/maple_tree.c:326:21: error: unused function 'mte_set_full' [-Werror,-Wunused-function] 326 | static inline void *mte_set_full(const struct maple_enode *node) | ^~~~~~~~~~~~ lib/maple_tree.c:331:21: error: unused function 'mte_clear_full' [-Werror,-Wunused-function] 331 | static inline void *mte_clear_full(const struct maple_enode *node) | ^~~~~~~~~~~~~~ >> lib/maple_tree.c:336:20: error: unused function 'mte_has_null' [-Werror,-Wunused-function] 336 | static inline bool mte_has_null(const struct maple_enode *node) | ^~~~~~~~~~~~ 3 errors generated. vim +/mte_has_null +336 lib/maple_tree.c 335 > 336 static inline bool mte_has_null(const struct maple_enode *node) 337 { 338 return (unsigned long)node & MAPLE_ENODE_NULL; 339 } 340 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki