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>
Tue, 2 Oct 2018 22:39:59 +0000 (15:39 -0700)
commit185647813cac080453cb73a2e034a8821049f2a7
tree2a1b90bb10fb726d2fd6d6d97da2d33a38a95047
parent03b2cbb6ea3c73e08fcf72d9ef8e286c4dcbd1fe
mei: samples: fix a signedness bug in amt_host_if_call()

"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>
samples/mei/mei-amt-version.c