summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAlexander Usyskin <alexander.usyskin@intel.com>2016-02-08 00:35:21 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-02-08 01:47:20 +0300
commit5ba0bf476c792b91543da77e0bdec311b0eaa8f7 (patch)
treeb6507792959bb0f4a828cc5e56e20dc88836493a /include
parent1f7e489a285c8b1aca9a7b66a55bbc95eb031721 (diff)
downloadlinux-5ba0bf476c792b91543da77e0bdec311b0eaa8f7.tar.xz
mei: amthif: don't copy from an empty buffer
If empty message come from FW (buf_idx == 0) then the current code will still try to copy data from not filled buffer to the user-space, instead the code should behave the same as when end of a message has been reached, clean resources and return 0 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 'include')
0 files changed, 0 insertions, 0 deletions