diff options
author | Alexander Usyskin <alexander.usyskin@intel.com> | 2014-01-08 15:31:46 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-01-08 18:28:27 -0500 |
commit | 83ce07411dc2316aaaf95a0f193fa2fd76e2e739 (patch) | |
tree | 0dd2d0a55a3edc5bdd0052c3fcfc444db4148670 /drivers/misc/mei/amthif.c | |
parent | 0631213f3f6ee776db2fb2136778b570d6a17cab (diff) |
mei: fix syntax in comments and debug output
Fix syntax errors in comments and debug strings
Signed-off-by: Alexander Usyskin <alexander.usyskin@intel.com>
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc/mei/amthif.c')
-rw-r--r-- | drivers/misc/mei/amthif.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/misc/mei/amthif.c b/drivers/misc/mei/amthif.c index 29fcd57b8315..2fad84432829 100644 --- a/drivers/misc/mei/amthif.c +++ b/drivers/misc/mei/amthif.c | |||
@@ -177,7 +177,7 @@ int mei_amthif_read(struct mei_device *dev, struct file *file, | |||
177 | unsigned long timeout; | 177 | unsigned long timeout; |
178 | int i; | 178 | int i; |
179 | 179 | ||
180 | /* Only Posible if we are in timeout */ | 180 | /* Only possible if we are in timeout */ |
181 | if (!cl || cl != &dev->iamthif_cl) { | 181 | if (!cl || cl != &dev->iamthif_cl) { |
182 | dev_dbg(&dev->pdev->dev, "bad file ext.\n"); | 182 | dev_dbg(&dev->pdev->dev, "bad file ext.\n"); |
183 | return -ETIMEDOUT; | 183 | return -ETIMEDOUT; |
@@ -249,7 +249,7 @@ int mei_amthif_read(struct mei_device *dev, struct file *file, | |||
249 | cb->response_buffer.size); | 249 | cb->response_buffer.size); |
250 | dev_dbg(&dev->pdev->dev, "amthif cb->buf_idx - %lu\n", cb->buf_idx); | 250 | dev_dbg(&dev->pdev->dev, "amthif cb->buf_idx - %lu\n", cb->buf_idx); |
251 | 251 | ||
252 | /* length is being turncated to PAGE_SIZE, however, | 252 | /* length is being truncated to PAGE_SIZE, however, |
253 | * the buf_idx may point beyond */ | 253 | * the buf_idx may point beyond */ |
254 | length = min_t(size_t, length, (cb->buf_idx - *offset)); | 254 | length = min_t(size_t, length, (cb->buf_idx - *offset)); |
255 | 255 | ||