From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 6F58C1350CA; Tue, 23 Jan 2024 01:06:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705971963; cv=none; b=pqSjHI/CmOuYHoDI77Ue8UoSWZL2V3HG8UNUMB7TkpHvnvQZb3CY0LehUJ4asKUL2+zQOOlQwx/T7FPspkeP4GkDS1Uat3q5ZBsWV9nKUxfw4MR7SbSNnhVEnKYD+Ta93PChLH6iSyIVvu3f1Y4zSlHe8gjJ7IwwBJutM7/k4a8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705971963; c=relaxed/simple; bh=4zOINQe+XMgHDjoxJ9886hJACSg+qBmbP8WqgvMDxEc=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=f7Oy5GR75AiZ9Gw6STbB+Ivn7dxyvHQMQN9Xf/RLprDtKrff3/l4gGF0SsEpqbewRVF9wOHkvgcKnhTOF5UzyGfEAEotyXcbLPPd6vRwaMedzfbMDS3BD3Vrtf9wf4KW6XwnrMwnQAnWfgp9YXK4EdE+hb8Tk600o3IWMo9YQfg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=uc7mN6WA; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="uc7mN6WA" Received: by smtp.kernel.org (Postfix) with ESMTPSA id EA851C43390; Tue, 23 Jan 2024 01:06:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1705971963; bh=4zOINQe+XMgHDjoxJ9886hJACSg+qBmbP8WqgvMDxEc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=uc7mN6WAUXELvId9ne6+Uy3F4gcO2Y63QuQI46OYTDj6wsAB2DoreJg+T6qi7GL+G HQrmVOLjhcV3lZXSp7dZVH35KnuzRBVEQPUMblda/OvprQUpwl6oWF+ZeomeFSGKIV Ji9oKBaKskXYLs34avazF1p+iV+7ehJAUtWQYbm4= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Ian Rogers , Adrian Hunter , Jiri Olsa , Namhyung Kim , Arnaldo Carvalho de Melo , Sasha Levin Subject: [PATCH 6.1 339/417] libapi: Add missing linux/types.h header to get the __u64 type on io.h Date: Mon, 22 Jan 2024 15:58:27 -0800 Message-ID: <20240122235803.545510073@linuxfoundation.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240122235751.480367507@linuxfoundation.org> References: <20240122235751.480367507@linuxfoundation.org> User-Agent: quilt/0.67 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.1-stable review patch. If anyone has any objections, please let me know. ------------------ From: Arnaldo Carvalho de Melo [ Upstream commit af76b2dec0984a079d8497bfa37d29a9b55932e1 ] There are functions using __u64, so we need to have the linux/types.h header otherwise we'll break when its not included before api/io.h. Fixes: e95770af4c4a280f ("tools api: Add a lightweight buffered reading api") Reviewed-by: Ian Rogers Cc: Adrian Hunter Cc: Jiri Olsa Cc: Namhyung Kim Link: https://lore.kernel.org/lkml/ZWjDPL+IzPPsuC3X@kernel.org Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: Sasha Levin --- tools/lib/api/io.h | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/lib/api/io.h b/tools/lib/api/io.h index 777c20f6b604..458acd294237 100644 --- a/tools/lib/api/io.h +++ b/tools/lib/api/io.h @@ -9,6 +9,7 @@ #include #include +#include struct io { /* File descriptor being read/ */ -- 2.43.0