Thread (3 messages) flat view 3 messages, 3 authors, 2014-09-08

Re: [PATCH] drivers: net: ethernet: octeon_mgmt: fix a compiler warning

From: David Miller <davem@davemloft.net>
Date: 2014-09-08 21:24:02

From: Aaro Koskinen <redacted>
Date: Mon,  8 Sep 2014 18:01:53 +0300
Fix the following compiler warning:

drivers/net/ethernet/octeon/octeon_mgmt.c: In function 'octeon_mgmt_clean_tx_buffers':
drivers/net/ethernet/octeon/octeon_mgmt.c:295:4: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    u64 ns = cvmx_read_csr(CVMX_MIXX_TSTAMP(p->port));
    ^

Signed-off-by: Aaro Koskinen <redacted>
Applied, thank you.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help