Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1190702

[PATCH 1/3] cpufreq: print error messages with dev_err()

From Viresh Kumar <viresh.kumar@linaro.org>
Newsgroups linux.kernel
Subject [PATCH 1/3] cpufreq: print error messages with dev_err()
Date 2015-07-23 10:20 +0200
Message-ID <pPjTr-11y-7@gated-at.bofh.it> (permalink)
References <pPhRE-6Cd-21@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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 <viresh.kumar@linaro.org>
---
 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/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: [PATCH V2] cpufreq: Fix double addition of sysfs links "Rafael J. Wysocki" <rafael@kernel.org> - 2015-07-22 18:50 +0200
  Re: [PATCH V2] cpufreq: Fix double addition of sysfs links Viresh Kumar <viresh.kumar@linaro.org> - 2015-07-23 08:10 +0200
    [PATCH 1/3] cpufreq: print error messages with dev_err() Viresh Kumar <viresh.kumar@linaro.org> - 2015-07-23 10:20 +0200
      [PATCH 3/3] cpufreq: use cpumask_test_and_clear_cpu() instead of separate routines Viresh Kumar <viresh.kumar@linaro.org> - 2015-07-23 10:20 +0200
      [PATCH 2/3] cpufreq: Create links for offline CPUs that got added earlier Viresh Kumar <viresh.kumar@linaro.org> - 2015-07-23 10:20 +0200
    Re: [PATCH V2] cpufreq: Fix double addition of sysfs links "Rafael J. Wysocki" <rafael@kernel.org> - 2015-07-23 19:30 +0200

csiph-web