From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.16]) (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 B020717A5AA; Fri, 13 Sep 2024 05:29:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.16 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726205378; cv=none; b=p5FLSceUZM/z0t6DDSZ8MvXIR3B6gMlzCqZ60Q6DL+cNX2MwDTFGlPJk0eS4nE7SQJCcnLuvjw4Tf5+zCFErNtsgHLQ0OcwQY6eVj8/S5sB1EJJr6X6Q9AerjdshM10rfUTMtGIFoagf9EPweSOmN7LGLbKw4Yo4fBwd9F7HF8w= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726205378; c=relaxed/simple; bh=oZ6M4pTD4oSlItcuflxFMv3uiQ9/2J3rMvHi70Xj3LA=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=g8Zh6bXoz/gF1erb3+5zqsfq7CHYIrbzBWfGaKCV0nFuRRp1I6LXpbK6f9M0dEtm6rF1rBLP5RMvjmV/WYpL5BrvFVMjVipBgugzWbAnSWyshfJGEBnfG56mF3u+AeozD6IVWapYw/2qPrkweXUArm+QhRazL1zi/eNZi31Awmo= 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=YxzN9z7v; arc=none smtp.client-ip=198.175.65.16 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="YxzN9z7v" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1726205377; x=1757741377; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=oZ6M4pTD4oSlItcuflxFMv3uiQ9/2J3rMvHi70Xj3LA=; b=YxzN9z7vRSLQ1TBPhJpuF6W/WoAW+0Seo7VN7Y8thUMQiBlW2S6otnSR EpWqzg71rrQGtonJYzCOSw4DzBIdrku/bChdUn1tSegToUC/Ss+ZKnJ2M NSXWWeBPJN/jI4QMCPCqVbKv4HPSesH3oh4fxFoQDL+pQO2G1WCH9obBE nll4Y2dZFEVHobfTu/Gb0wx+s4TUDz2HbzgVO/LM8BDqhbxO7AZtndrkV 1C8P6L9X1jzrrkG7DG+ziWsjRYAs+JdFIQruwEIr5SOIVQBespEzqVum0 YvRy0fTVVXYLnZBYjMasQCRv0naPI94nMSq2XtN8GStKcrWT5UZjmiYj8 Q==; X-CSE-ConnectionGUID: pqYutmLQT9GozQ9ydHHjHg== X-CSE-MsgGUID: kJYFtKihSD+bPS4TnPeLxg== X-IronPort-AV: E=McAfee;i="6700,10204,11193"; a="25190251" X-IronPort-AV: E=Sophos;i="6.10,225,1719903600"; d="scan'208";a="25190251" Received: from fmviesa003.fm.intel.com ([10.60.135.143]) by orvoesa108.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Sep 2024 22:29:36 -0700 X-CSE-ConnectionGUID: Y0e2ByUoTRSF6u2ryCuEww== X-CSE-MsgGUID: y/3z5rAkQP+mR0DBby+Waw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.10,225,1719903600"; d="scan'208";a="72047679" Received: from lkp-server01.sh.intel.com (HELO 53e96f405c61) ([10.239.97.150]) by fmviesa003.fm.intel.com with ESMTP; 12 Sep 2024 22:29:35 -0700 Received: from kbuild by 53e96f405c61 with local (Exim 4.96) (envelope-from ) id 1soys8-00062o-2j; Fri, 13 Sep 2024 05:29:32 +0000 Date: Fri, 13 Sep 2024 13:29:13 +0800 From: kernel test robot To: Luiz Augusto von Dentz , linux-bluetooth@vger.kernel.org Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev Subject: Re: [PATCH v1] Bluetooth: MGMT: Fix possible crash on mgmt_index_removed Message-ID: <202409131332.j8QQVdrT-lkp@intel.com> References: <20240912164454.2996352-1-luiz.dentz@gmail.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 In-Reply-To: <20240912164454.2996352-1-luiz.dentz@gmail.com> Hi Luiz, kernel test robot noticed the following build errors: [auto build test ERROR on bluetooth-next/master] [also build test ERROR on bluetooth/master linus/master v6.11-rc7] [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/Luiz-Augusto-von-Dentz/Bluetooth-MGMT-Fix-possible-crash-on-mgmt_index_removed/20240913-004604 base: https://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next.git master patch link: https://lore.kernel.org/r/20240912164454.2996352-1-luiz.dentz%40gmail.com patch subject: [PATCH v1] Bluetooth: MGMT: Fix possible crash on mgmt_index_removed config: i386-buildonly-randconfig-001-20240913 (https://download.01.org/0day-ci/archive/20240913/202409131332.j8QQVdrT-lkp@intel.com/config) compiler: clang version 18.1.8 (https://github.com/llvm/llvm-project 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240913/202409131332.j8QQVdrT-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/202409131332.j8QQVdrT-lkp@intel.com/ All errors (new ones prefixed by >>): >> net/bluetooth/mgmt.c:1459:28: error: no member named 'hdev' in 'struct mgmt_pending_cmd' 1459 | hci_cmd_sync_dequeue(cmd->hdev, NULL, cmd, NULL); | ~~~ ^ 1 error generated. vim +1459 net/bluetooth/mgmt.c 1453 1454 static void cmd_complete_rsp(struct mgmt_pending_cmd *cmd, void *data) 1455 { 1456 /* dequeue cmd_sync entries using cmd as data as that is about to be 1457 * removed/freed. 1458 */ > 1459 hci_cmd_sync_dequeue(cmd->hdev, NULL, cmd, NULL); 1460 1461 if (cmd->cmd_complete) { 1462 u8 *status = data; 1463 1464 cmd->cmd_complete(cmd, *status); 1465 mgmt_pending_remove(cmd); 1466 1467 return; 1468 } 1469 1470 cmd_status_rsp(cmd, data); 1471 } 1472 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki