summaryrefslogtreecommitdiffstats
path: root/drivers/misc
diff options
context:
space:
mode:
authorTomas Winkler <tomas.winkler@intel.com>2014-03-16 14:35:57 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-03-17 15:59:34 -0700
commit34e267d0f49ef4c54eb7b2abbb1b001fa6f26f0e (patch)
tree1d03bc28e79652e78ebe833bed3778fffae5cc4c /drivers/misc
parent1adc16743313688ba69d19d9a445c60affc66ef9 (diff)
downloadop-kernel-dev-34e267d0f49ef4c54eb7b2abbb1b001fa6f26f0e.zip
op-kernel-dev-34e267d0f49ef4c54eb7b2abbb1b001fa6f26f0e.tar.gz
mei: amthif: fix checkpatch error
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>
Diffstat (limited to 'drivers/misc')
-rw-r--r--drivers/misc/mei/amthif.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/misc/mei/amthif.c b/drivers/misc/mei/amthif.c
index 2052609..b8deb34 100644
--- 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;
OpenPOWER on IntegriCloud