]> git.baikalelectronics.ru Git - kernel.git/commit
qed: Fix the doorbell address sanity check
authorDenis Bolotin <dbolotin@marvell.com>
Sun, 14 Apr 2019 14:23:06 +0000 (17:23 +0300)
committerDavid S. Miller <davem@davemloft.net>
Sun, 14 Apr 2019 20:59:49 +0000 (13:59 -0700)
commit6b3902d10451d8185e052caac5eb97ee3c6ce5a5
treecf4c548105cb607f9a1fd3ea7e351b00ae30fa8d
parent20c04e6a3b6aa6c7806ae335573f4ce3d67e11ca
qed: Fix the doorbell address sanity check

Fix the condition which verifies that doorbell address is inside the
doorbell bar by checking that the end of the address is within range
as well.

Signed-off-by: Denis Bolotin <dbolotin@marvell.com>
Signed-off-by: Michal Kalderon <mkalderon@marvell.com>
Signed-off-by: Ariel Elior <aelior@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qed/qed_dev.c