Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]> Reported-by: Petru-Florin Mihancea <[email protected]> Link: https://bugzilla.kernel.org/show_bug.cgi?id=195785
- Loading branch information