diff options
author | Tejun Heo <tj@kernel.org> | 2017-05-31 14:26:26 -0400 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2017-05-31 14:26:26 -0400 |
commit | f7cf69ae171592d133c69b9adaa5de7cfb6038ea (patch) | |
tree | e5e5d63c1db7ffd50dafd1f55c691842a79aae2d /kernel | |
parent | 3e4240da0e3673637c1c995bdd14cfdbc8f4dc4c (diff) | |
download | lwn-f7cf69ae171592d133c69b9adaa5de7cfb6038ea.tar.gz lwn-f7cf69ae171592d133c69b9adaa5de7cfb6038ea.zip |
libata: fix error checking in in ata_parse_force_one()
ata_parse_force_one() was incorrectly comparing @p to @endp when it
should have been comparing @id. The only consequence is that it may
end up using an invalid port number in "libata.force" module param
instead of rejecting it.
Signed-off-by: Tejun Heo <tj@kernel.org>
Reported-by: Petru-Florin Mihancea <petrum@gmail.com>
Link: https://bugzilla.kernel.org/show_bug.cgi?id=195785
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions