libahci: Fix bug in storing EM messages
authorHarry Zhang <harry.zhang@amd.com>
Thu, 24 Jun 2010 03:34:23 +0000 (11:34 +0800)
committerJeff Garzik <jgarzik@redhat.com>
Thu, 1 Jul 2010 19:34:15 +0000 (15:34 -0400)
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: Harry Zhang <harry.zhang@amd.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>

No differences found