mvebu: fixes commit a7e68927d0
				
					
				
			err_free_stats has been deprecated. Replace with err_netdev.
Compile-tested on: mvebu
Runtime-tested on: mvebu
Fixes: a7e68927d0 ("kernel: bump 4.14 to 4.14.125 (FS#2305 FS#2297)")
Signed-off-by: George Amanakis <gamanakis@gmail.com>
			
			
This commit is contained in:
		 George Amanakis
					George Amanakis
				
			
				
					committed by
					
						 Hauke Mehrtens
						Hauke Mehrtens
					
				
			
			
				
	
			
			
			 Hauke Mehrtens
						Hauke Mehrtens
					
				
			
						parent
						
							8888cb725d
						
					
				
				
					commit
					1e3800df18
				
			| @@ -905,7 +905,7 @@ Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> | |||||||
| +	phylink = phylink_create(dev, dn, phy_mode, &mvneta_phylink_ops); | +	phylink = phylink_create(dev, dn, phy_mode, &mvneta_phylink_ops); | ||||||
| +	if (IS_ERR(phylink)) { | +	if (IS_ERR(phylink)) { | ||||||
| +		err = PTR_ERR(phylink); | +		err = PTR_ERR(phylink); | ||||||
| +		goto err_free_stats; | +		goto err_netdev; | ||||||
| +	} | +	} | ||||||
| + | + | ||||||
| +	pp->phylink = phylink; | +	pp->phylink = phylink; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user