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 4322FECAAD3 for ; Fri, 9 Sep 2022 17:38:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231184AbiIIRi5 (ORCPT ); Fri, 9 Sep 2022 13:38:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51974 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229892AbiIIRiv (ORCPT ); Fri, 9 Sep 2022 13:38:51 -0400 Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 09D91136CD9 for ; Fri, 9 Sep 2022 10:38:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1662745130; x=1694281130; h=date:from:to:cc:subject:message-id:mime-version; bh=2A8zxmn6dO/dpHBqa6VyKZ5SiyK6NYBe+KopCAzw1Lo=; b=AAVCiQFgBdl13KJGV3G/g7OMVTa51fhaKi4lBlbrd/rDgHjLl/VKp6n6 ZhIWik70EfhixxjFS+H/ZwnORyf8WHU7bLZ5sTMVio3UtBQ35VNOKhYoO xa8aW3pQtuFTrTBbd2jana2DX17Y6e+YOsbcB3i4xJXwWGPrpkup9TUBc MW7HcLw2M3Nb3MQAfC79xPJKfobuQlvV4/BKDjLZhc9pY8iswmWyCBKE3 pdg12k5Sy08U/QcvmVrzpPlO5en6yK9zyfLVseSpVFTjH+9q9t8FPOKi0 lhO/own05HmxVtYJC1806dgzn/w4+Cf2Z2owzX4IFc7QTezcD4qnATIZg A==; X-IronPort-AV: E=McAfee;i="6500,9779,10465"; a="277264855" X-IronPort-AV: E=Sophos;i="5.93,303,1654585200"; d="scan'208";a="277264855" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Sep 2022 10:38:50 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,303,1654585200"; d="scan'208";a="683718411" Received: from lkp-server02.sh.intel.com (HELO b2938d2e5c5a) ([10.239.97.151]) by fmsmga004.fm.intel.com with ESMTP; 09 Sep 2022 10:38:49 -0700 Received: from kbuild by b2938d2e5c5a with local (Exim 4.96) (envelope-from ) id 1oWhxp-0001XS-02; Fri, 09 Sep 2022 17:38:49 +0000 Date: Sat, 10 Sep 2022 01:37:51 +0800 From: kernel test robot To: Christian Brauner Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org, linux-kernel@vger.kernel.org Subject: [vfs-idmapping:fs.posix_acl.vfsuid 12/37] fs/cifs/cifsacl.c:1684:20: warning: variable 'pTcon' set but not used Message-ID: <202209100159.gx43mPbM-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org tree: https://git.kernel.org/pub/scm/linux/kernel/git/vfs/idmapping.git fs.posix_acl.vfsuid head: d37e11d9b40fc35810217121aa3205b7975fd4c6 commit: fa37058424f3ca8becc99200b11a3690537f134e [12/37] cifs: add ->get_dentry_acl() method config: x86_64-randconfig-a001 (https://download.01.org/0day-ci/archive/20220910/202209100159.gx43mPbM-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://git.kernel.org/pub/scm/linux/kernel/git/vfs/idmapping.git/commit/?id=fa37058424f3ca8becc99200b11a3690537f134e git remote add vfs-idmapping https://git.kernel.org/pub/scm/linux/kernel/git/vfs/idmapping.git git fetch --no-tags vfs-idmapping fs.posix_acl.vfsuid git checkout fa37058424f3ca8becc99200b11a3690537f134e # 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=x86_64 SHELL=/bin/bash fs/cifs/ If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> fs/cifs/cifsacl.c:1684:20: warning: variable 'pTcon' set but not used [-Wunused-but-set-variable] struct cifs_tcon *pTcon; ^ 1 warning generated. vim +/pTcon +1684 fs/cifs/cifsacl.c 1674 1675 struct posix_acl *cifs_get_dentry_acl(struct user_namespace *mnt_userns, 1676 struct dentry *dentry, int type) 1677 { 1678 struct posix_acl *acl = NULL; 1679 ssize_t rc = -EOPNOTSUPP; 1680 unsigned int xid; 1681 struct super_block *sb = dentry->d_sb; 1682 struct cifs_sb_info *cifs_sb = CIFS_SB(sb); 1683 struct tcon_link *tlink; > 1684 struct cifs_tcon *pTcon; -- 0-DAY CI Kernel Test Service https://01.org/lkp