]> git.baikalelectronics.ru Git - kernel.git/commit
habanalabs/gaudi: fix shift out of bounds
authorOfir Bitton <obitton@habana.ai>
Wed, 15 Jun 2022 13:11:31 +0000 (16:11 +0300)
committerOded Gabbay <ogabbay@kernel.org>
Tue, 12 Jul 2022 06:09:23 +0000 (09:09 +0300)
commitb34833be23dfc7b08ca1ecdec130d3d59237e675
tree7d71b710d458fad2e6884621bd43d143c640f97f
parent732a554d582c0f5d8477b20218ced229c2582920
habanalabs/gaudi: fix shift out of bounds

When validating NIC queues, queue offset calculation must be
performed only for NIC queues.

Signed-off-by: Ofir Bitton <obitton@habana.ai>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
drivers/misc/habanalabs/gaudi/gaudi.c