lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1520242120-2924-1-git-send-email-harish_kandiga@mentor.com>
Date:   Mon, 5 Mar 2018 14:58:40 +0530
From:   Harish Jenny K N <harish_kandiga@...tor.com>
To:     <ulf.hansson@...aro.org>, <linus.walleij@...aro.org>,
        <adrian.hunter@...el.com>, <shawn.lin@...k-chips.com>,
        <avri.altman@....com>, <andriy.shevchenko@...ux.intel.com>
CC:     <linux-mmc@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
        <harish_kandiga@...tor.com>, <Vladimir_Zapolskiy@...tor.com>
Subject: [PATCH v3] mmc: Export host capabilities to debugfs.

From: Abbas Raza <Abbas_Raza@...tor.com>

This patch exports the host capabilities to debugfs

Signed-off-by: Abbas Raza <Abbas_Raza@...tor.com>
Signed-off-by: Andrew Gabbasov <andrew_gabbasov@...tor.com>
Signed-off-by: Harish Jenny K N <harish_kandiga@...tor.com>
---

Changes in v3:
- Removed typecasting of &host->caps to (u32 *)

Changes in v2:
- Changed Author

 drivers/mmc/core/debugfs.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/drivers/mmc/core/debugfs.c b/drivers/mmc/core/debugfs.c
index c51e0c0..570c9e4 100644
--- a/drivers/mmc/core/debugfs.c
+++ b/drivers/mmc/core/debugfs.c
@@ -289,6 +289,9 @@ void mmc_add_card_debugfs(struct mmc_card *card)

 	card->debugfs_root = root;

+	if (!debugfs_create_x32("host_caps", S_IRUSR, root, &host->caps))
+		goto err;
+
 	if (!debugfs_create_x32("state", S_IRUSR, root, &card->state))
 		goto err;

--
1.9.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ