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 D3EA762A0F; Tue, 23 Jan 2024 01:56:16 +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=1705974976; cv=none; b=Hr3K1ZiAwJScjhVtE4IdnrOqzcp/uRWtzFNthl20TWc7IEYTZqId2CEqxB3cO0I00+9U5oI6P9kfgIJfLXjlDplw5oBiX4hu7fdtw5NgSumfq/TolHFtsY2StQNC3ljgYF8E+lcqRt6eHnLmgl6lGHpqou++fnDRKMCBJAeJw14= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705974976; c=relaxed/simple; bh=eEmlSjk6rpRuaGSggUDSI1cKPthMUuVuu/4Na3ODas0=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=EahrZHnAXiG/yHSejoifxtwdxSzgmyOW9Mo5Cdm8pLBA1fpsjBrXIIyOKbL5yGP/3YMxWBn7x4M5VmCL9wTY5rAH9GcXYP3qn016UsOGiiBzgQYMF+wWGZCZdpoNiM9Yrfrq5oo44kyKO1qhnMLZ/IGLlhDgZ00HvsSksOXtS5M= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=LAfakB6d; 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="LAfakB6d" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8E02BC43390; Tue, 23 Jan 2024 01:56:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1705974976; bh=eEmlSjk6rpRuaGSggUDSI1cKPthMUuVuu/4Na3ODas0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=LAfakB6d27mcxFNIlclk0EsBadYxBuKEjquq2sP6utYoD53i+ckhPC4mR6VC4oLf+ BX4e8pWIwH5Y4gOGXtUw63h4ov81wx8OfwdD6MByG+/myeGY2G9u5xoIswdhJas539 QTuXvIfrhgvor60kOXqno5v2M3p5amZMX1IDdLjM= 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 5.15 304/374] libapi: Add missing linux/types.h header to get the __u64 type on io.h Date: Mon, 22 Jan 2024 15:59:20 -0800 Message-ID: <20240122235755.385032971@linuxfoundation.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240122235744.598274724@linuxfoundation.org> References: <20240122235744.598274724@linuxfoundation.org> User-Agent: quilt/0.67 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 5.15-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