diff options
author | Andy Shevchenko <andy.shevchenko@gmail.com> | 2010-09-01 09:26:47 +0300 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2010-10-23 21:11:13 +0800 |
commit | 3183aa1534de4e98ffb0527d4f2be7ac9f019a4e (patch) | |
tree | b38ce66b22f1b6385ad2387278a259a46a0dccd4 /crypto/twofish_common.c | |
parent | 5c25aee5364550d7fa6314886370e76cda18d7e2 (diff) |
mmc_test: collect data and show it via sysfs by demand
Make it possible to get test results via sysfs. It helps to do tests
non-interactively. We have the file created under sysfs already and
can use it to show test results.
Prior to this patch, the "test" file under each card's sysfs node was
write-only, and results were obtained by looking at dmesg. This patch
improves programmatic access to the test results, making them available by
reading back from the same "test" file:
[root@host mmc0:e624]# echo 6 > test
[root@host mmc0:e624]# cat test
Test 6: 2
[cjb@laptop.org: changelog improvements]
Signed-off-by: Andy Shevchenko <ext-andriy.shevchenko@nokia.com>
Cc: Chris Ball <cjb@laptop.org>
Cc: <linux-mmc@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'crypto/twofish_common.c')
0 files changed, 0 insertions, 0 deletions