]> git.baikalelectronics.ru Git - kernel.git/commit
nolibc: fix fd_set type
authorSven Schnelle <svens@linux.ibm.com>
Mon, 9 Jan 2023 07:54:37 +0000 (08:54 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 1 Feb 2023 07:34:30 +0000 (08:34 +0100)
commitef4011e6693bb1c21b6e2d9218e98ac42f0ac5f9
tree0f485fb5c010cdd4c6dc43300e75f40a5b03b222
parent6884398162b89706c9d410631ed6bc2ddbf12175
nolibc: fix fd_set type

[ Upstream commit feaf75658783a919410f8c2039dbc24b6a29603d ]

The kernel uses unsigned long for the fd_set bitmap,
but nolibc use u32. This works fine on little endian
machines, but fails on big endian. Convert to unsigned
long to fix this.

Signed-off-by: Sven Schnelle <svens@linux.ibm.com>
Signed-off-by: Willy Tarreau <w@1wt.eu>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
tools/include/nolibc/types.h