]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
modpost: fix the missed iteration for the max bit in do_input()
authorMasahiro Yamada <masahiroy@kernel.org>
Wed, 25 Dec 2024 15:33:35 +0000 (00:33 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Jan 2025 12:30:05 +0000 (13:30 +0100)
commit1f8da43e127c7bf1dc459740f26c7da55e32113a
treeaf70b92ff24504ab29b039d4fb8b8536daba9013
parent7635c2d787bb656b6996397b0591091746358198
modpost: fix the missed iteration for the max bit in do_input()

[ Upstream commit bf36b4bf1b9a7a0015610e2f038ee84ddb085de2 ]

This loop should iterate over the range from 'min' to 'max' inclusively.
The last interation is missed.

Fixes: 1d8f430c15b3 ("[PATCH] Input: add modalias support")
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Tested-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
scripts/mod/file2alias.c