megasas: mark mfi_frame_desc as 'static'
PATCH 1/1 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 <[email protected]>
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
@@ -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
Stefan Hajnoczi
AppliedQuoted 9 lines · Hannes Reinecke
Suggested by blue swirl. Patch is on top of Paolo's scsi-next tree.
Signed-off-by Hannes Reinecke <[email protected]>Cc Paolo Bonzini <[email protected]>Cc Blue Swirl <[email protected]>--- hw/megasas.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
Thanks, applied to the trivial patches tree:
https://github.com/stefanha/qemu/commits/trivial-patches
Stefan