From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) (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 F41A51FCE for ; Mon, 11 Jul 2022 08:58:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1657529904; x=1689065904; h=date:from:to:cc:subject:message-id:mime-version; bh=wGJDzEFR+Tk3jcvAhFJBDfKoe8dSvdR+9ahbECtp+YI=; b=b157ivVQzC1Jwq/P+t8ISONamWdqUHRKkR8pgu5tLOZJJ4gG3XZpZrXh 1t4vudd3hkw9iMnTK6eMhPnvV8YLP9llzKGy0HAJwI8EQh7zNebPcMTxC 3UJT+/YOUJkTL0qP9GumD+6w1sy9r+zGq3fDQUTt226Z9ftgAZpOuPuwN 139rB69Lw6lcWIySFvWc7WknbFwtESeAc7fNCtgqRi1JDVOphOsyhF5WI 8WMOtS4FxPlgPm9dQ9KpS8N8Tm7eYYU4oglhjF1q79ICh3xUeLdqzXmAp RirNG2G8WV9dTQnsshSZQSga4fLDSrrmOKdiUYs50zq8Bw2iKWnbeuikF g==; X-IronPort-AV: E=McAfee;i="6400,9594,10404"; a="267653293" X-IronPort-AV: E=Sophos;i="5.92,262,1650956400"; d="scan'208";a="267653293" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Jul 2022 01:58:24 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.92,262,1650956400"; d="scan'208";a="921705367" Received: from lkp-server02.sh.intel.com (HELO 8708c84be1ad) ([10.239.97.151]) by fmsmga005.fm.intel.com with ESMTP; 11 Jul 2022 01:58:22 -0700 Received: from kbuild by 8708c84be1ad with local (Exim 4.95) (envelope-from ) id 1oApFG-0000dl-85; Mon, 11 Jul 2022 08:58:22 +0000 Date: Mon, 11 Jul 2022 16:57:39 +0800 From: kernel test robot To: Sven Peter Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org, linux-kernel@vger.kernel.org Subject: [asahilinux:bluetooth-wip 8/8] drivers/bluetooth/hci_bcm43xx.c:1088:23: warning: unused variable 'bcm43xx' Message-ID: <202207111654.rRuKu0Ms-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 tree: https://github.com/AsahiLinux/linux bluetooth-wip head: 988727c92ef6a0ae2c476c6f06676b63665c6059 commit: 988727c92ef6a0ae2c476c6f06676b63665c6059 [8/8] Bluetooth: hci_bcm43xx: Add new driver for BCM43XX PCI boards config: i386-allyesconfig (https://download.01.org/0day-ci/archive/20220711/202207111654.rRuKu0Ms-lkp@intel.com/config) compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 6ce63e267aab79ca87bf63453d34dd3909ab978d) 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/AsahiLinux/linux/commit/988727c92ef6a0ae2c476c6f06676b63665c6059 git remote add asahilinux https://github.com/AsahiLinux/linux git fetch --no-tags asahilinux bluetooth-wip git checkout 988727c92ef6a0ae2c476c6f06676b63665c6059 # 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 SHELL=/bin/bash drivers/bluetooth/ drivers/hid/ drivers/md/ drivers/net/ethernet/mellanox/mlx5/core/ drivers/vfio/pci/mlx5/ If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> drivers/bluetooth/hci_bcm43xx.c:1088:23: warning: unused variable 'bcm43xx' [-Wunused-variable] struct bcm43xx_data *bcm43xx = hci_get_drvdata(hdev); ^ drivers/bluetooth/hci_bcm43xx.c:1280:8: error: incompatible pointer types passing '__le64 *' (aka 'unsigned long long *') to parameter of type 'dma_addr_t *' (aka 'unsigned int *') [-Werror,-Wincompatible-pointer-types] &bcm43xx->ctx->per_info_addr, GFP_KERNEL); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/dma-mapping.h:550:15: note: passing argument to parameter 'dma_handle' here dma_addr_t *dma_handle, gfp_t gfp) ^ 1 warning and 1 error generated. vim +/bcm43xx +1088 drivers/bluetooth/hci_bcm43xx.c 1085 1086 static int bcm43xx_hci_close(struct hci_dev *hdev) 1087 { > 1088 struct bcm43xx_data *bcm43xx = hci_get_drvdata(hdev); 1089 -- 0-DAY CI Kernel Test Service https://01.org/lkp