]> git.baikalelectronics.ru Git - kernel.git/commit
ide: Fix interface autodetection in legacy IDE driver (trial #2)
authorlramos.prof@yahoo.com.br <lramos.prof@yahoo.com.br>
Wed, 12 Oct 2016 01:12:45 +0000 (22:12 -0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 26 Dec 2016 16:45:12 +0000 (11:45 -0500)
commitc5400f7c775e75fcaa0f538082a4638454ae6665
treef43b13c19366ad780fe96e843dfedb32d13c7980
parent4184c0ec1ade2b73b58c41e1084d8b22fc53d09b
ide: Fix interface autodetection in legacy IDE driver (trial #2)

This humble patch was sent one or two months before, and had no actions,
except for a colleague reply which friendly pointed out some formatting
problems (which were solved in a second message).

It relates to an old code, the legacy IDE driver, but the bug it
addresses is real. The code, although rarely used, is
still there to be compiled if one chooses to do so (like me).

Also, the fix has a very low risk of present collateral effects IMHO.
It is already compiled and tested in some embedded machines.

So, again IMHO, it is worth be fixed.

This email is a second trial with it. I hope it can help the one or two
guys out there which are still running the legacy IDE driver and
haven't noticed the former email.

Fixes: 0ff34ea3c2e8 ("ide-generic: handle probing of legacy io-ports v5")
Signed-off-by: Luiz Carlos Ramos <lramos.prof@yahoo.com.br>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/ide/ide-generic.c