mei: samples: fix a signedness bug in amt_host_if_call()
authorDan Carpenter <dan.carpenter@oracle.com>
Mon, 1 Oct 2018 16:44:41 +0000 (19:44 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 25 Nov 2019 08:53:24 +0000 (09:53 +0100)
commita87ccca317a82577e856d14131d2bb4b868d4097
tree77317d99a7463da21e1687de6b3ad6801ab53474
parenta8de090710deb7503ee757330befd79c37818873
mei: samples: fix a signedness bug in amt_host_if_call()

[ Upstream commit 185647813cac080453cb73a2e034a8821049f2a7 ]

"out_buf_sz" needs to be signed for the error handling to work.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
samples/mei/mei-amt-version.c