commit | ca4f2d5036be809b0f82ce38a7663d237efa3986 | [log] [tgz] |
---|---|---|
author | Michal Schmidt <mschmidt@redhat.com> | Wed Mar 02 13:47:08 2016 +0100 |
committer | David S. Miller <davem@davemloft.net> | Wed Mar 02 13:31:56 2016 -0500 |
tree | 34756e4ea4c9eea5abb3acea50f3ecfe59e3dec0 | |
parent | a524ef77d54d7e12045841f4fcc430c1850f71f2 [diff] |
bnx2x: access cfc_del_event only if the opcode is CFC_DEL It's not really a bug, but it was odd that bnx2x_eq_int() read the message data as if it were a cfc_del_event regardless of the event type. It's cleaner to access only the appropriate member of union event_data after checking the event opcode. Signed-off-by: Michal Schmidt <mschmidt@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>