emulex_oce: fix gcc2 build.
This commit is contained in:
@@ -2256,8 +2256,9 @@ oce_check_ipv6_ext_hdr(struct mbuf *m)
|
||||
caddr_t m_datatemp = m->m_data;
|
||||
|
||||
if (eh->ether_type == htons(ETHERTYPE_IPV6)) {
|
||||
struct ip6_hdr *ip6;
|
||||
m->m_data += sizeof(struct ether_header);
|
||||
struct ip6_hdr *ip6 = mtod(m, struct ip6_hdr *);
|
||||
ip6 = mtod(m, struct ip6_hdr *);
|
||||
|
||||
if((ip6->ip6_nxt != IPPROTO_TCP) && \
|
||||
(ip6->ip6_nxt != IPPROTO_UDP)){
|
||||
|
||||
@@ -119,8 +119,8 @@ oce_fw_clean(POCE_SOFTC sc)
|
||||
static int
|
||||
oce_mbox_wait(POCE_SOFTC sc, uint32_t tmo_sec)
|
||||
{
|
||||
tmo_sec *= 10000;
|
||||
pd_mpu_mbox_db_t mbox_db;
|
||||
tmo_sec *= 10000;
|
||||
|
||||
for (;;) {
|
||||
if (tmo_sec != 0) {
|
||||
|
||||
Reference in New Issue
Block a user