diff mbox

[16/25] sparse: elog_write_to_host_head_state can be static

Message ID 1424776479-13958-17-git-send-email-clg@fr.ibm.com
State Accepted
Headers show

Commit Message

Cédric Le Goater Feb. 24, 2015, 11:14 a.m. UTC
Signed-off-by: Cédric Le Goater <clg@fr.ibm.com>
---
 hw/fsp/fsp-elog-write.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Vasant Hegde Feb. 24, 2015, 3:56 p.m. UTC | #1
On 02/24/2015 04:44 PM, Cédric Le Goater wrote:
> Signed-off-by: Cédric Le Goater <clg@fr.ibm.com>


Acked-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com>

-Vasant


> ---
>  hw/fsp/fsp-elog-write.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/hw/fsp/fsp-elog-write.c b/hw/fsp/fsp-elog-write.c
> index eaf3225a2078..7496b17de017 100644
> --- a/hw/fsp/fsp-elog-write.c
> +++ b/hw/fsp/fsp-elog-write.c
> @@ -57,7 +57,7 @@ static uint32_t elog_write_retries;
>  
>  /* Manipulate this only with write_lock held */
>  static uint32_t elog_plid_fsp_commit = -1;
> -enum elog_head_state elog_write_to_host_head_state = ELOG_STATE_NONE;
> +static enum elog_head_state elog_write_to_host_head_state = ELOG_STATE_NONE;
>  
>  /* Need forward declaration because of Circular dependency */
>  static int opal_send_elog_to_fsp(void);
>
diff mbox

Patch

diff --git a/hw/fsp/fsp-elog-write.c b/hw/fsp/fsp-elog-write.c
index eaf3225a2078..7496b17de017 100644
--- a/hw/fsp/fsp-elog-write.c
+++ b/hw/fsp/fsp-elog-write.c
@@ -57,7 +57,7 @@  static uint32_t elog_write_retries;
 
 /* Manipulate this only with write_lock held */
 static uint32_t elog_plid_fsp_commit = -1;
-enum elog_head_state elog_write_to_host_head_state = ELOG_STATE_NONE;
+static enum elog_head_state elog_write_to_host_head_state = ELOG_STATE_NONE;
 
 /* Need forward declaration because of Circular dependency */
 static int opal_send_elog_to_fsp(void);