mirror of
https://github.com/SCST-project/scst.git
synced 2026-08-20 14:16:31 +00:00
fcst: Fix two sparse warnings
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4870 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
+5
-4
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user