Re: [PATCH 1/1 v2] netdev: octeon_mgmt: ISO C90 forbids mixed declarations and code

2014-09-15 Thread David Daney
On 09/13/2014 10:02 PM, Heinrich Schuchardt wrote: Revised patch takes into account comments by Joe and David. Compiling with OCTEON_MGMT_ETHERNET gives a warning drivers/net/ethernet/octeon/octeon_mgmt.c:295:4: warning: ISO C90 forbids mixed declarations and code

Re: [PATCH 1/1 v2] netdev: octeon_mgmt: ISO C90 forbids mixed declarations and code

2014-09-15 Thread David Daney
On 09/13/2014 10:02 PM, Heinrich Schuchardt wrote: Revised patch takes into account comments by Joe and David. Compiling with OCTEON_MGMT_ETHERNET gives a warning drivers/net/ethernet/octeon/octeon_mgmt.c:295:4: warning: ISO C90 forbids mixed declarations and code

[PATCH 1/1 v2] netdev: octeon_mgmt: ISO C90 forbids mixed declarations and code

2014-09-13 Thread Heinrich Schuchardt
Revised patch takes into account comments by Joe and David. Compiling with OCTEON_MGMT_ETHERNET gives a warning drivers/net/ethernet/octeon/octeon_mgmt.c:295:4: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] The patch cleans up the code. Signed-off-by:

[PATCH 1/1 v2] netdev: octeon_mgmt: ISO C90 forbids mixed declarations and code

2014-09-13 Thread Heinrich Schuchardt
Revised patch takes into account comments by Joe and David. Compiling with OCTEON_MGMT_ETHERNET gives a warning drivers/net/ethernet/octeon/octeon_mgmt.c:295:4: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] The patch cleans up the code. Signed-off-by: