mirror of
https://github.com/torvalds/linux.git
synced 2026-11-24 23:47:06 +00:00
The "ival" variable needs to signed so that we don't read before the
start of the str[] array. This would only happen the user passed in a
module parameter that was just comprised of space characters.
Fixes: e80444ae4fc3 ("ipmi_si: Switch hotmod to use a platform device")
Signed-off-by: Dan Carpenter <[email protected]>
Message-Id: <20190222195530.GA306@kadam>
Signed-off-by: Corey Minyard <[email protected]>