PERFORCE change 196395 for review

[ Available lists | Index of p4-projects | Month of Jul 2011 | Week of 19 Jul 2011 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
Takuya ASADA <syuu@FreeBSD.org>
Date
19 Jul 2011 12:04:21
Subject
PERFORCE change 196395 for review
Message-ID
201107191204.p6JC4LBr077819@skunkworks.freebsd.org


[ Hide this part ]
http://p4web.freebsd.org/@@196395?ac=10

Change 196395 by syuu@kikurage on 2011/07/19 12:03:38

follow style(9).

Affected files ...

.. //depot/projects/soc2011/mq_bpf/src/sys/dev/e1000/if_igb.c#11 edit
.. //depot/projects/soc2011/mq_bpf/src/sys/net/if_ethersubr.c#7 edit

Differences ...

==== //depot/projects/soc2011/mq_bpf/src/sys/dev/e1000/if_igb.c#11 (text+ko) ====

@@ -5623,24 +5623,24 @@
igb_get_rxqueue_len(struct ifnet *ifp)
{
struct adapter *adapter = ifp->if_softc;
- return adapter->num_queues;
+ return (adapter->num_queues);
}

static int
igb_get_txqueue_len(struct ifnet *ifp)
{
struct adapter *adapter = ifp->if_softc;
- return adapter->num_queues;
+ return (adapter->num_queues);
}

static int
igb_get_rxqueue_affinity(struct ifnet *ifp, int queid)
{
- return queid;
+ return (queid);
}

static int
igb_get_txqueue_affinity(struct ifnet *ifp, int queid)
{
- return queid;
+ return (queid);
}

==== //depot/projects/soc2011/mq_bpf/src/sys/net/if_ethersubr.c#7 (text+ko) ====

@@ -1467,7 +1467,7 @@
static int
softrss_get_txqueue_len(struct ifnet *ifp)
{
- return 1;
+ return (1);
}

static int
@@ -1479,7 +1479,7 @@
static int
softrss_get_txqueue_affinity(struct ifnet *ifp, int queid)
{
- return 0;
+ return (0);
}
#endif


Elapsed time: 0.296 seconds