diff options
author | Alexander Usyskin <alexander.usyskin@intel.com> | 2013-09-02 03:11:02 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-09-26 08:23:00 -0700 |
commit | d8b29efa27de17dafe516d45204dbb744ccdfa48 (patch) | |
tree | de691c54ad682ec8bd4cef081f63f58422fd5db6 /drivers/misc/lattice-ecp3-config.c | |
parent | 23f5a322063cba7c9f5dba5205e2960a24291373 (diff) |
mei: mei_write correct checks for copy_from_user
1. return -EFUALT when copy_from_user fails
2. display error message on failure in error level
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/lattice-ecp3-config.c')
0 files changed, 0 insertions, 0 deletions