Skip to contentSkip to conversation

megasas: mark mfi_frame_desc as 'static'

PATCH Applied Hannes Reinecke 2 participants 2 messages Jul 4, 2012 – Jul 12, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 megasas: mark mfi_frame_desc as 'static'

Suggested by blue swirl. Patch is on top of Paolo's scsi-next tree.

Cc Paolo Bonzini <[email protected]>
Cc Blue Swirl <[email protected]>
---
 hw/megasas.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
hw/megasas.c +1 -1
index b48836f..b99fa97 100644
@@ -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"};
 
Signature · 1 line
1.7.3.4