Add error logs to network info response handling

To make it easier to detect why a network info request failed, logs have
been added to the network info response error handling.

Change-Id: I88d98e08501711912d10068344cef62634ac3889
Signed-off-by: Mikael Olsson <mikael.olsson@arm.com>
diff --git a/kernel/ethosu_network_info.c b/kernel/ethosu_network_info.c
index 898d48e..724db28 100644
--- a/kernel/ethosu_network_info.c
+++ b/kernel/ethosu_network_info.c
@@ -150,11 +150,15 @@
 	info->errno = 0;
 
 	if (rsp->status != ETHOSU_CORE_STATUS_OK) {
+		dev_err(dev, "Failed to get information about the network\n");
 		info->errno = -EBADF;
 		goto signal_complete;
 	}
 
 	if (rsp->ifm_count > ETHOSU_FD_MAX || rsp->ofm_count > ETHOSU_FD_MAX) {
+		dev_err(dev,
+			"Invalid number of IFMs/OFMs in network info: IFMs=%u OFMs=%u\n",
+			rsp->ifm_count, rsp->ofm_count);
 		info->errno = -ENFILE;
 		goto signal_complete;
 	}