[linux] 01/01: firmware_class: Fix condition in directory search loop (Closes: #804862)
debian-kernel at lists.debian.org
debian-kernel at lists.debian.org
Thu Nov 12 15:02:39 UTC 2015
This is an automated email from the git hooks/post-receive script.
benh pushed a commit to branch jessie
in repository linux.
commit aa202897dc04369bccb3e8078773bf84692c5785
Author: Ben Hutchings <ben at decadent.org.uk>
Date: Thu Nov 12 15:02:18 2015 +0000
firmware_class: Fix condition in directory search loop (Closes: #804862)
---
debian/changelog | 1 +
.../bugfix/all/firmware_class-log-every-success-and-failure.patch | 6 ++----
2 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 374846b..7c2a070 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -79,6 +79,7 @@ linux (3.16.7-ckt18-1) UNRELEASED; urgency=medium
* Revert "ARM: orion5x: fix legacy orion5x IRQ numbers", mistakenly
included in 3.16.7-ckt18
* [x86] Enable PINCTRL_BAYTRAIL (Closes: #797949)
+ * firmware_class: Fix condition in directory search loop (Closes: #804862)
-- Aurelien Jarno <aurel32 at debian.org> Sat, 03 Oct 2015 22:32:19 +0200
diff --git a/debian/patches/bugfix/all/firmware_class-log-every-success-and-failure.patch b/debian/patches/bugfix/all/firmware_class-log-every-success-and-failure.patch
index bc5b43b..b84ab9b 100644
--- a/debian/patches/bugfix/all/firmware_class-log-every-success-and-failure.patch
+++ b/debian/patches/bugfix/all/firmware_class-log-every-success-and-failure.patch
@@ -23,13 +23,11 @@ format to detect missing firmware.
---
--- a/drivers/base/firmware_class.c
+++ b/drivers/base/firmware_class.c
-@@ -344,17 +344,20 @@ static int fw_get_filesystem_firmware(st
- }
+@@ -345,16 +345,19 @@ static int fw_get_filesystem_firmware(st
rc = fw_read_file_contents(file, buf);
fput(file);
-- if (rc)
+ if (rc)
- dev_warn(device, "firmware, attempted to load %s, but failed with error %d\n",
-+ if (!rc)
+ dev_dbg(device, "firmware, attempted to load %s, but failed with error %d\n",
path, rc);
else
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/kernel/linux.git
More information about the Kernel-svn-changes
mailing list