From 33c0e52b9354ae99f25681d9aecaf28393932270 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Mon, 20 May 2013 06:39:24 +0000 Subject: [PATCH] fcst: Fix two sparse warnings git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4870 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- fcst/ft_sess.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/fcst/ft_sess.c b/fcst/ft_sess.c index 17c34f072..3c92b2160 100644 --- a/fcst/ft_sess.c +++ b/fcst/ft_sess.c @@ -440,8 +440,8 @@ fill: * * Returns spp response code. */ -int ft_prli(struct fc_rport_priv *rdata, u32 spp_len, - const struct fc_els_spp *rspp, struct fc_els_spp *spp) +static int ft_prli(struct fc_rport_priv *rdata, u32 spp_len, + const struct fc_els_spp *rspp, struct fc_els_spp *spp) { int ret; @@ -526,9 +526,10 @@ static inline u32 fc_frame_sid(const struct fc_frame *fp) */ #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 36) \ && (!defined(RHEL_MAJOR) || RHEL_MAJOR -0 <= 5) -void ft_recv(struct fc_lport *lport, struct fc_seq *sp, struct fc_frame *fp) +static void ft_recv(struct fc_lport *lport, struct fc_seq *sp, + struct fc_frame *fp) #else -void ft_recv(struct fc_lport *lport, struct fc_frame *fp) +static void ft_recv(struct fc_lport *lport, struct fc_frame *fp) #endif { struct ft_sess *sess;