From patchwork Fri Jul 13 10:37:58 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Hajnoczi X-Patchwork-Id: 170840 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 3A3ED2C0358 for ; Fri, 13 Jul 2012 20:38:30 +1000 (EST) Received: from localhost ([::1]:47248 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SpdGW-0000NT-3B for incoming@patchwork.ozlabs.org; Fri, 13 Jul 2012 06:38:28 -0400 Received: from eggs.gnu.org ([208.118.235.92]:33985) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SpdGI-0000NJ-86 for qemu-devel@nongnu.org; Fri, 13 Jul 2012 06:38:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SpdGE-0003dA-26 for qemu-devel@nongnu.org; Fri, 13 Jul 2012 06:38:14 -0400 Received: from e06smtp12.uk.ibm.com ([195.75.94.108]:37310) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SpdGD-0003d0-Pe for qemu-devel@nongnu.org; Fri, 13 Jul 2012 06:38:09 -0400 Received: from /spool/local by e06smtp12.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 13 Jul 2012 11:38:08 +0100 Received: from d06nrmr1707.portsmouth.uk.ibm.com (9.149.39.225) by e06smtp12.uk.ibm.com (192.168.101.142) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Fri, 13 Jul 2012 11:38:06 +0100 Received: from d06av01.portsmouth.uk.ibm.com (d06av01.portsmouth.uk.ibm.com [9.149.37.212]) by d06nrmr1707.portsmouth.uk.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id q6DAc5B02727984 for ; Fri, 13 Jul 2012 11:38:06 +0100 Received: from d06av01.portsmouth.uk.ibm.com (loopback [127.0.0.1]) by d06av01.portsmouth.uk.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id q6DAc5Uj001411 for ; Fri, 13 Jul 2012 04:38:05 -0600 Received: from localhost (stefanha-thinkpad.manchester-maybrook.uk.ibm.com [9.174.219.145]) by d06av01.portsmouth.uk.ibm.com (8.14.4/8.13.1/NCO v10.0 AVin) with ESMTP id q6DAc5nf001402; Fri, 13 Jul 2012 04:38:05 -0600 From: Stefan Hajnoczi To: Anthony Liguori Date: Fri, 13 Jul 2012 11:37:58 +0100 Message-Id: <1342175882-4995-2-git-send-email-stefanha@linux.vnet.ibm.com> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1342175882-4995-1-git-send-email-stefanha@linux.vnet.ibm.com> References: <1342175882-4995-1-git-send-email-stefanha@linux.vnet.ibm.com> x-cbid: 12071310-8372-0000-0000-0000032C9A66 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 195.75.94.108 Cc: Blue Swirl , Paolo Bonzini , qemu-devel@nongnu.org, Stefan Hajnoczi , Hannes Reinecke Subject: [Qemu-devel] [PATCH 1/5] megasas: mark mfi_frame_desc as 'static' X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org From: Hannes Reinecke Suggested by blue swirl. Patch is on top of Paolo's scsi-next tree. Signed-off-by: Hannes Reinecke Cc: Paolo Bonzini Cc: Blue Swirl Signed-off-by: Stefan Hajnoczi --- hw/megasas.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"};