]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
Driver core: Reduce the level of request_firmware() messages
authorRafael J. Wysocki <rjw@sisk.pl>
Sat, 27 Feb 2010 20:43:22 +0000 (21:43 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 21 May 2010 16:37:29 +0000 (09:37 -0700)
The messages from _request_firmware() informing that firmware is
being requested or built-in firmware is going to be used are printed
at KERN_INFO, which produces lots of noise on systems with huge
numbers of AMD CPUs.  Reduce the level of these messages to
KERN_DEBUG to get rid of that noise.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/base/firmware_class.c

index 4c70b9148b28896764a89502b56729d10d9f0c69..8e6c62b4f512539e96f8ba0a069e53561f2dc4d8 100644 (file)
@@ -507,15 +507,14 @@ _request_firmware(const struct firmware **firmware_p, const char *name,
             builtin++) {
                if (strcmp(name, builtin->name))
                        continue;
-               dev_info(device, "firmware: using built-in firmware %s\n",
-                        name);
+               dev_dbg(device, "firmware: using built-in firmware %s\n", name);
                firmware->size = builtin->size;
                firmware->data = builtin->data;
                return 0;
        }
 
        if (uevent)
-               dev_info(device, "firmware: requesting %s\n", name);
+               dev_dbg(device, "firmware: requesting %s\n", name);
 
        retval = fw_setup_device(firmware, &f_dev, name, device, uevent);
        if (retval)