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)
committerMasahiro Yamada <masahiroy@kernel.org>
Sat, 28 Dec 2024 14:30:56 +0000 (23:30 +0900)
commitbf36b4bf1b9a7a0015610e2f038ee84ddb085de2
treeef9a316e89f8e1e7ed662e49f898c933c8677d8b
parent7a6c355b55c051eb37cb15d191241da3aa3d6cba
modpost: fix the missed iteration for the max bit in do_input()

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>
scripts/mod/file2alias.c