projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1adc167
)
mei: amthif: fix checkpatch error
author
Tomas Winkler
<tomas.winkler@intel.com>
Sun, 16 Mar 2014 12:35:57 +0000
(14:35 +0200)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Mon, 17 Mar 2014 22:59:34 +0000
(15:59 -0700)
ERROR: else should follow close brace '}'
+ }
+ else {
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/mei/amthif.c
patch
|
blob
|
history
diff --git
a/drivers/misc/mei/amthif.c
b/drivers/misc/mei/amthif.c
index 2052609b167a9e37ff716c1ecbaff93e50c77d1b..b8deb345548057b86d2bac1cfe4e478fecc07d21 100644
(file)
--- a/
drivers/misc/mei/amthif.c
+++ b/
drivers/misc/mei/amthif.c
@@
-247,8
+247,7
@@
int mei_amthif_read(struct mei_device *dev, struct file *file,
if (copy_to_user(ubuf, cb->response_buffer.data + *offset, length)) {
dev_dbg(&dev->pdev->dev, "failed to copy data to userland\n");
rets = -EFAULT;
- }
- else {
+ } else {
rets = length;
if ((*offset + length) < cb->buf_idx) {
*offset += length;