Skip to content
Commit f9ce889b authored by Harry Zhang's avatar Harry Zhang Committed by Jeff Garzik
Browse files

libahci: Fix bug in storing EM messages



In function ahci_store_em_buffer(), if the input (signed char*) buffer
contains negative data, the constructed 32-bit long message data may
be wrong.

Signed-off-by: default avatarHarry Zhang <harry.zhang@amd.com>
Signed-off-by: default avatarJeff Garzik <jgarzik@redhat.com>
parent 984bc960
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment