diff options
author | Tomas Winkler <tomas.winkler@intel.com> | 2014-09-29 09:31:35 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-09-29 11:56:00 -0400 |
commit | 2fbab57698051e68e59586bd20c17a1a487dfa63 (patch) | |
tree | 44d52c4f4c3dd6de19634cc2234600a2f1bef848 | |
parent | c44952003fc949e81ae0a0297e91894d8724f7fe (diff) |
mei: debugfs: add single buffer indicator
Add indication whether the client operates in single
buffer mode
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/misc/mei/debugfs.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/misc/mei/debugfs.c b/drivers/misc/mei/debugfs.c index ca2a12d702a9..be16c4bc8304 100644 --- a/drivers/misc/mei/debugfs.c +++ b/drivers/misc/mei/debugfs.c | |||
@@ -35,7 +35,7 @@ static ssize_t mei_dbgfs_read_meclients(struct file *fp, char __user *ubuf, | |||
35 | int pos = 0; | 35 | int pos = 0; |
36 | int ret; | 36 | int ret; |
37 | 37 | ||
38 | #define HDR " |id|addr| UUID |con|msg len|\n" | 38 | #define HDR " |id|addr| UUID |con|msg len|sb|\n" |
39 | 39 | ||
40 | mutex_lock(&dev->device_lock); | 40 | mutex_lock(&dev->device_lock); |
41 | 41 | ||
@@ -62,12 +62,13 @@ static ssize_t mei_dbgfs_read_meclients(struct file *fp, char __user *ubuf, | |||
62 | continue; | 62 | continue; |
63 | 63 | ||
64 | pos += scnprintf(buf + pos, bufsz - pos, | 64 | pos += scnprintf(buf + pos, bufsz - pos, |
65 | "%2d|%2d|%4d|%pUl|%3d|%7d|\n", | 65 | "%2d|%2d|%4d|%pUl|%3d|%7d|%2d|\n", |
66 | i++, me_cl->client_id, | 66 | i++, me_cl->client_id, |
67 | me_cl->props.fixed_address, | 67 | me_cl->props.fixed_address, |
68 | &me_cl->props.protocol_name, | 68 | &me_cl->props.protocol_name, |
69 | me_cl->props.max_number_of_connections, | 69 | me_cl->props.max_number_of_connections, |
70 | me_cl->props.max_msg_length); | 70 | me_cl->props.max_msg_length, |
71 | me_cl->props.single_recv_buf); | ||
71 | } | 72 | } |
72 | out: | 73 | out: |
73 | mutex_unlock(&dev->device_lock); | 74 | mutex_unlock(&dev->device_lock); |