From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.21]) (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 916FE280A5B; Mon, 16 Mar 2026 11:26:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.21 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773660413; cv=none; b=L0g0iJsvVUzaVT5KJLtRbrctLqkXt0TINrE5xKnTCUttOpvNt46WYxPTwjqBTMpcKXkG56WF4WiPSxHJ/BCDhbm6ZrmvfaD+z6ZtqChZewzyVFMlwDK2gOZofFJ/i1QNadqx9AxlJB2QnaguvOP/qsZspHzXW6J1ZQY1929LWxo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773660413; c=relaxed/simple; bh=QetyuG1foWhX51Rr7BgxJ6T4Rbnm5Vn2HUNXepnr2z4=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=m7hhY9z8aoI3MDrDE4V2hO+FWU3zSluTIzW/v8Weq4c2NfpNzproIGQTDV8iUNuTENyPlPRICdhDE9Uq70msGbdpYHQCQwMN+At0QQbqyqWhBlbkSD6RNIx5pYBAp2cYRMBb8RdvVUS1IaF9u5UQ7vfR4tAXJlryP9WFRN+0sEU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=pass smtp.mailfrom=linux.intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=QEo+WNan; arc=none smtp.client-ip=198.175.65.21 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="QEo+WNan" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1773660413; x=1805196413; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=QetyuG1foWhX51Rr7BgxJ6T4Rbnm5Vn2HUNXepnr2z4=; b=QEo+WNanjl7w3WW5FdzfCQu8DpOH0yEeR0qEhNkcPFAstkB6r6Z1z3fF ldUc4Hr6jixqj5UPc6WF+oqZUKp2Gnsfs4rOyhZJ/gZVL7/yi7Drb4Iaz GIYIUiBrvvH8AQM+mf4yya4iarUWNGUHQ8+zNExxXrBDp0MZMuh83O79B 5H1nM3ed/fXWvCJyqrJ3o9PH+p+0fHzMdq4+JwAmXWNabErVuzIh5ei2n 3iX3ut+jOQ+ZKGZssr/K5ErpHZySfhibixPcOvcq4ok/00phb26GDrKFu XtiNF3rjXDxrckgVq7APPn4VGMHb+QRsSUYhp6oGDBdOv7tH3586H/p/E Q==; X-CSE-ConnectionGUID: ziYVFAC3Sue6J0RIpBUS5Q== X-CSE-MsgGUID: p61wqQxrTey9dtTDw+fYWQ== X-IronPort-AV: E=McAfee;i="6800,10657,11730"; a="74559235" X-IronPort-AV: E=Sophos;i="6.23,124,1770624000"; d="scan'208";a="74559235" Received: from orviesa008.jf.intel.com ([10.64.159.148]) by orvoesa113.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Mar 2026 04:26:53 -0700 X-CSE-ConnectionGUID: S0lDIxIQQMOiAABDkIGdQA== X-CSE-MsgGUID: JA9DtR3XSXuxReN+3qQhvQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.23,124,1770624000"; d="scan'208";a="221970554" Received: from black.igk.intel.com ([10.91.253.5]) by orviesa008.jf.intel.com with ESMTP; 16 Mar 2026 04:26:51 -0700 Received: by black.igk.intel.com (Postfix, from userid 1001) id DFE5495; Mon, 16 Mar 2026 12:26:48 +0100 (CET) Date: Mon, 16 Mar 2026 12:26:48 +0100 From: Mika Westerberg To: Rosen Penev Cc: linux-usb@vger.kernel.org, Andreas Noever , Mika Westerberg , Yehezkel Bernat , Kees Cook , "Gustavo A. R. Silva" , open list , "open list:KERNEL HARDENING (not covered by other areas):Keyword:b__counted_by(_le|_be)?b" Subject: Re: [PATCH] thunderbolt: use kzalloc_flex Message-ID: <20260316112648.GC2275908@black.igk.intel.com> References: <20260311232205.18137-1-rosenp@gmail.com> Precedence: bulk X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20260311232205.18137-1-rosenp@gmail.com> Hi Penev, On Wed, Mar 11, 2026 at 04:22:05PM -0700, Rosen Penev wrote: > Simplifies allocation by using a flexible arraay member. > > Added __counted_by for extra runtime analysis. > > Signed-off-by: Rosen Penev There is this report from LKP: https://lore.kernel.org/linux-usb/202603121824.MZubfxH0-lkp@intel.com/ Please fix and resend.