From edd2550cd909b584610ac18387b3261a4f50b392 Mon Sep 17 00:00:00 2001 From: Ledion Daja Date: Tue, 17 Oct 2023 09:15:32 +0200 Subject: 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 --- kernel/ethosu_network_info.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'kernel/ethosu_network_info.c') 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 + * 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; -- cgit v1.2.1