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>
Sun, 24 Nov 2019 07:22:59 +0000 (08:22 +0100)
commit36be9cd26716a923275e47c8912b28449d63fb1f
treefdb143d4573d64cc7125609f65c3e39e52e35d53
parent711b32942cea36da666624977eeebd1aea2bcd7d
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