Tejun Heo f7cf69ae17 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
2017-05-31 14:26:26 -04:00
..
2017-05-16 11:23:28 -04:00
2017-05-09 10:01:15 -07:00
2017-05-09 10:01:15 -07:00
2015-09-10 17:02:04 -04:00
2015-11-30 10:02:49 -05:00
2015-04-16 13:53:32 -05:00