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)
commit60d3c47310df7845c983a9e6e78c4687ea572aa9
treef1e34319df9684eccf2b5241782facee86848782
parent1de899d3815fd945b0c2285a4e07fea8eaedf2aa
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