]> git.baikalelectronics.ru Git - kernel.git/commit
qlcnic: Skip unknown entry type while collecting firmware dump
authorShahed Shaikh <shahed.shaikh@qlogic.com>
Fri, 18 Oct 2013 16:22:34 +0000 (12:22 -0400)
committerDavid S. Miller <davem@davemloft.net>
Fri, 18 Oct 2013 17:42:19 +0000 (13:42 -0400)
commit19115f299ac8420c027d79fa0a8f0ac7b5ee48d6
treef1e34319df9684eccf2b5241782facee86848782
parent828542acf072f26ac9daea820a67157236703222
qlcnic: Skip unknown entry type while collecting firmware dump

o Driver aborts the minidump collection operation when it finds
  an unknown entry opcode. This patch skips unknown entry type
  and resumes the minidump collection operation.
o Removed a comparision of collected dump size with expected dump size.
  Size may differ when driver decides to skip an entry.

Signed-off-by: Shahed Shaikh <shahed.shaikh@qlogic.com>
Signed-off-by: Himanshu Madhani <himanshu.madhani@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c