aboutsummaryrefslogtreecommitdiff
path: root/hw/megasas.c
diff options
context:
space:
mode:
authorHannes Reinecke <hare@suse.de>2012-07-04 12:02:07 +0200
committerStefan Hajnoczi <stefanha@linux.vnet.ibm.com>2012-07-13 10:38:16 +0100
commita97ad268f137421fda1c84fa5898bd9a9850a472 (patch)
tree1da38ef3c49bcbd3385460c407ae2d837313ecf2 /hw/megasas.c
parentc0958559b1a589a0d189c45ea1adaa6b345f4256 (diff)
downloadqemu-a97ad268f137421fda1c84fa5898bd9a9850a472.zip
qemu-a97ad268f137421fda1c84fa5898bd9a9850a472.tar.gz
qemu-a97ad268f137421fda1c84fa5898bd9a9850a472.tar.bz2
megasas: mark mfi_frame_desc as 'static'
Suggested by blue swirl. Patch is on top of Paolo's scsi-next tree. Signed-off-by: Hannes Reinecke <hare@suse.de> Cc: Paolo Bonzini <pbonzini@redhat.com> Cc: Blue Swirl <blauwirbel@gmail.com> Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Diffstat (limited to 'hw/megasas.c')
-rw-r--r--hw/megasas.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/megasas.c b/hw/megasas.c
index b48836f..b99fa97 100644
--- a/hw/megasas.c
+++ b/hw/megasas.c
@@ -45,7 +45,7 @@
#define MEGASAS_FLAG_USE_QUEUE64 2
#define MEGASAS_MASK_USE_QUEUE64 (1 << MEGASAS_FLAG_USE_QUEUE64)
-const char *mfi_frame_desc[] = {
+static const char *mfi_frame_desc[] = {
"MFI init", "LD Read", "LD Write", "LD SCSI", "PD SCSI",
"MFI Doorbell", "MFI Abort", "MFI SMP", "MFI Stop"};