Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752379AbbGWIPh (ORCPT ); Thu, 23 Jul 2015 04:15:37 -0400 Received: from mail-pd0-f177.google.com ([209.85.192.177]:36557 "EHLO mail-pd0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751888AbbGWINb (ORCPT ); Thu, 23 Jul 2015 04:13:31 -0400 From: Viresh Kumar To: Rafael Wysocki Cc: linaro-kernel@lists.linaro.org, linux-pm@vger.kernel.org, linux@arm.linux.org.uk, Viresh Kumar , linux-kernel@vger.kernel.org (open list) Subject: [PATCH 1/3] cpufreq: print error messages with dev_err() Date: Thu, 23 Jul 2015 13:43:18 +0530 Message-Id: X-Mailer: git-send-email 2.4.0 In-Reply-To: <20150723060938.GD5322@linux> References: <20150723060938.GD5322@linux> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1099 Lines: 29 By mistake dev_err was replaced by dev_dbg in a recent patch, fix that. Fixes: 9b07109f06a1 ("cpufreq: Fix double addition of sysfs links") Signed-off-by: Viresh Kumar --- drivers/cpufreq/cpufreq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/cpufreq/cpufreq.c b/drivers/cpufreq/cpufreq.c index fa718644f1ee..84504ae3fb38 100644 --- a/drivers/cpufreq/cpufreq.c +++ b/drivers/cpufreq/cpufreq.c @@ -1173,7 +1173,7 @@ static int cpufreq_add_dev(struct device *dev, struct subsys_interface *sif) pr_debug("%s: Adding symlink for CPU: %u\n", __func__, cpu); ret = sysfs_create_link(&dev->kobj, &policy->kobj, "cpufreq"); if (ret) { - dev_dbg(dev, "%s: Failed to create link (%d)\n", + dev_err(dev, "%s: Failed to create link (%d)\n", __func__, ret); return ret; } -- 2.4.0 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/