aboutsummaryrefslogtreecommitdiff
path: root/kernel/ethosu_network_info.c
diff options
context:
space:
mode:
authorLedion Daja <ledion.daja@arm.com>2023-10-17 09:15:32 +0200
committerLedion Daja <ledion.daja@arm.com>2023-11-01 10:44:45 +0100
commitedd2550cd909b584610ac18387b3261a4f50b392 (patch)
treea941069744ea32754bf83c07b81a6bf9daba737d /kernel/ethosu_network_info.c
parentc2eaf26a4a559bca4dc5110a4d05be8f961ce0c2 (diff)
downloadethos-u-linux-driver-stack-edd2550cd909b584610ac18387b3261a4f50b392.tar.gz
Decrease log verbosity in the kernel modules
Changed several logs level from info to dbg and removed redundant or uninformative logging in order to reduce verbosity of the kernel modules. Change-Id: Ie9ff7f3ae6478007ea58547380b3ddfef5d280b4 Signed-off-by: Ledion Daja <ledion.daja@arm.com>
Diffstat (limited to 'kernel/ethosu_network_info.c')
-rw-r--r--kernel/ethosu_network_info.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/kernel/ethosu_network_info.c b/kernel/ethosu_network_info.c
index 724db28..feabcae 100644
--- a/kernel/ethosu_network_info.c
+++ b/kernel/ethosu_network_info.c
@@ -1,5 +1,6 @@
/*
- * Copyright 2022-2023 Arm Limited and/or its affiliates
+ * SPDX-FileCopyrightText: Copyright 2022-2023 Arm Limited and/or its affiliates <open-source-office@arm.com>
+ * SPDX-License-Identifier: GPL-2.0-only
*
* This program is free software and is provided to you under the terms of the
* GNU General Public License version 2 as published by the Free Software
@@ -15,7 +16,6 @@
* along with this program; if not, you can access it online at
* http://www.gnu.org/licenses/gpl-2.0.html.
*
- * SPDX-License-Identifier: GPL-2.0-only
*/
/****************************************************************************
@@ -85,9 +85,9 @@ int ethosu_network_info_request(struct device *dev,
if (ret)
goto deregister;
- dev_info(dev,
- "Network info create. info=0x%pK, net=0x%pK, msg.id=0x%x\n",
- info, info->net, info->msg.id);
+ dev_dbg(dev,
+ "Network info create. info=0x%pK, net=0x%pK, msg.id=0x%x\n",
+ info, info->net, info->msg.id);
/* Unlock the device mutex and wait for completion */
device_unlock(dev);
@@ -111,9 +111,9 @@ deregister:
ethosu_network_put(info->net);
kfree:
- dev_info(dev,
- "Network info destroy. info=0x%pK, msg.id=0x%x\n",
- info, info->msg.id);
+ dev_dbg(dev,
+ "Network info destroy. info=0x%pK, msg.id=0x%x\n",
+ info, info->msg.id);
devm_kfree(dev, info);
return ret;