Thread (13 messages) 13 messages, 3 authors, 2021-04-14

Re: [PATCH net-next 2/7] net: korina: Use devres functions

From: Andrew Lunn <andrew@lunn.ch>
Date: 2021-04-14 19:38:48
Also in: lkml

+	if (!p) {
 		printk(KERN_ERR DRV_NAME ": cannot remap registers\n");
-		rc = -ENXIO;
-		goto probe_err_out;
+		return -ENOMEM;
 	}
Hi Thomas

Another possible cleanup would be replacing printk(KERN_ERR with
dev_err(), or netdev_err() etc.

	   Andrew
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help