]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
tools/include: include stdint.h for SIZE_MAX in overflow.h
authorYichong Chen <chenyichong@uniontech.com>
Mon, 29 Jun 2026 02:21:24 +0000 (10:21 +0800)
committerAndrew Morton <akpm@linux-foundation.org>
Thu, 2 Jul 2026 02:02:56 +0000 (19:02 -0700)
commit039892c35f9d8f5ea00d7c2ed1c25224f28b11d7
tree3b9ca49ce64cf0a50f2537d2003271c98edb798f
parent74a21a2db6aecff5b01cf6b3a52144dd805d51ff
tools/include: include stdint.h for SIZE_MAX in overflow.h

tools/include/linux/overflow.h uses SIZE_MAX in its size helper functions.

Include stdint.h so tools users that include overflow.h without another
SIZE_MAX provider can build.

Link: https://lore.kernel.org/20260629022124.131894-3-chenyichong@uniontech.com
Signed-off-by: Yichong Chen <chenyichong@uniontech.com>
Acked-by: Eugenio Pérez <eperezma@redhat.com>
Cc: Jason Wang <jasowang@redhat.com>
Cc: Lorenzo Stoakes <ljs@kernel.org>
Cc: "Michael S. Tsirkin" <mst@redhat.com>
Cc: Mike Rapoport <rppt@kernel.org>
Cc: Paolo Abeni <pabeni@redhat.com>
Cc: Xuan Zhuo <xuanzhuo@linux.alibaba.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
tools/include/linux/overflow.h