diff options
author | Tomas Winkler <tomas.winkler@intel.com> | 2012-10-09 16:50:18 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-10-24 15:35:03 -0700 |
commit | 75f0ee1559c5d51948e029041a9b722b3e3f0b83 (patch) | |
tree | 25c504ed1cca8a64d1c1b07774a617a0e3adcd4c /init/main.c | |
parent | 33d28c9205257479be540a31b03339817cf2d62c (diff) |
mei: mei_write: revamp error path handling
1. unify common amt and regular error path and use it early in the
function
2. fix indentation
3. propagate error code directly from copy_from_user
4. print out errors using dev_err instead of dev_dbg
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'init/main.c')
0 files changed, 0 insertions, 0 deletions