Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp3074545ybx; Sun, 3 Nov 2019 10:08:09 -0800 (PST) X-Google-Smtp-Source: APXvYqx6TK08P3e4LFBNe1cYOkBhQBPLmd6A66MiNrwJFpL89WdjUWNTRz3N4GH5Dd8MrJH3bbCe X-Received: by 2002:a50:ef16:: with SMTP id m22mr7688158eds.154.1572804489338; Sun, 03 Nov 2019 10:08:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1572804489; cv=none; d=google.com; s=arc-20160816; b=vCaNg0bOBW8M4tax8nTr1YNt7LVJMBjmj4x7nmu75/lnXhGFlUtHyieWcUSIUn5IZG 7KU+SEjR8YMcqS+VXeU4xTVqPuBbiagnCSQlAq8gSu4z1t4M9KYHmts6NNrzfvv6WWO6 QSks2C/+5ISfrOpzQUSss+o59PrhwoHSwR+DTXOtIus0xIxqMhnD2riZOLk3fQcLfXSe VfTa1UEPUmILz39rRVKv/kaGTd886khvNYU93p3PLDr7kTTa2uxw0cUruMP6OPp8c/mt ld+/yBM1MxtigQncaJjMcDdbKBQbkRCBakcNYLfVH/eAPGQPpFvJFRxLUiRyRuHyYiQ/ AeKQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=KPA32pZZRWkXMMoOWIPopiMrf1CxcJZ04YhHZFgHeCQ=; b=QYWg2BaCQvYzjO2P2/eU6la/qse3YE8WSOzGRqn1T/slpAMoAACQCJabEsvXDA0nCT edC8hzqbIJVlOFRYOZpoyOqRSBmNnCd9lToaHsT/Lrm4At4wdOo5slmGw9vCS7lB3Fxt o2FFRMJ9eiR+MzjlyGfsdZrKOrwu8TBidCUNjP9CEXtk+oil6dCfNiQ2tGf8DCio3eEC qFT+/7IFTGHx5v1MNa+Ys5MhKOOdOxljwyqBJV3Ohm4ZgZsPHq7G0BZj3a2NkqFuujub pxKz9sSTTz5+h4/kUjrM32X+WlaMfYXBttjzNOfrxCHdnvPmVxdzt6uDxGyfI0x2KDHQ uZsg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@cmpwn.com header.s=cmpwn header.b=1kmdWuu6; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=cmpwn.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ox3si10186626ejb.170.2019.11.03.10.07.45; Sun, 03 Nov 2019 10:08:09 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@cmpwn.com header.s=cmpwn header.b=1kmdWuu6; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=cmpwn.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727520AbfKCSGt (ORCPT + 99 others); Sun, 3 Nov 2019 13:06:49 -0500 Received: from mail.cmpwn.com ([45.56.77.53]:37782 "EHLO mail.cmpwn.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726719AbfKCSGt (ORCPT ); Sun, 3 Nov 2019 13:06:49 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=cmpwn.com; s=cmpwn; t=1572804408; bh=iyXDslN/si2lsvR1kPESlgOJIjw4oscequFw4eD9FiY=; h=From:To:Cc:Subject:Date; b=1kmdWuu6SLROhRpTGZJ4NAYSp489lAB4RKjOpPOZ/DAOFETiPi/9QO6WnyuT5Dx9J x3YkBkBkbrUDprnx4ClJKxq1hLxW/G2DwnwtIYbnA0GOh+ept4pZ0F4P72zAz0Olek 7sUfHzeQynzH+3NAhDslFsrUXkVk9RP/Dq3PVPNI= From: Drew DeVault To: Luis Chamberlain , linux-kernel@vger.kernel.org Cc: Drew DeVault , Greg Kroah-Hartman , "Rafael J. Wysocki" , ~sircmpwn/public-inbox@lists.sr.ht Subject: [PATCH v2] firmware loader: log path to loaded firmwares Date: Sun, 3 Nov 2019 13:06:46 -0500 Message-Id: <20191103180646.34880-1-sir@cmpwn.com> X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This is useful for users who are trying to identify the firmwares in use on their system. Signed-off-by: Drew DeVault --- 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