lkml.org 
[lkml]   [2019]   [Nov]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH v2] firmware loader: log path to loaded firmwares
    Date

    This is useful for users who are trying to identify the firmwares in use
    on their system.

    Signed-off-by: Drew DeVault <sir@cmpwn.com>
    ---
    v2 uses dev_dbg instead of printk(KERN_INFO)

    drivers/base/firmware_loader/main.c | 1 +
    1 file changed, 1 insertion(+)

    diff --git a/drivers/base/firmware_loader/main.c b/drivers/base/firmware_loader/main.c
    index bf44c79beae9..2537da43a572 100644
    --- a/drivers/base/firmware_loader/main.c
    +++ b/drivers/base/firmware_loader/main.c
    @@ -504,6 +504,7 @@ fw_get_filesystem_firmware(struct device *device, struct fw_priv *fw_priv,
    path);
    continue;
    }
    + dev_dbg(device, "Loading firmware from %s\n", path);
    if (decompress) {
    dev_dbg(device, "f/w decompressing %s\n",
    fw_priv->fw_name);
    --
    2.23.0
    \
     
     \ /
      Last update: 2019-11-03 19:07    [W:7.907 / U:0.080 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site