mirror of
https://github.com/torvalds/linux
synced 2024-11-05 18:23:50 +00:00
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>
This commit is contained in:
parent
03b2cbb6ea
commit
185647813c
1 changed files with 1 additions and 1 deletions
|
@ -370,7 +370,7 @@ static uint32_t amt_host_if_call(struct amt_host_if *acmd,
|
|||
unsigned int expected_sz)
|
||||
{
|
||||
uint32_t in_buf_sz;
|
||||
uint32_t out_buf_sz;
|
||||
ssize_t out_buf_sz;
|
||||
ssize_t written;
|
||||
uint32_t status;
|
||||
struct amt_host_if_resp_header *msg_hdr;
|
||||
|
|
Loading…
Reference in a new issue