ib_srpt: Kernel v3.17 build fix

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5725 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2014-08-25 11:36:33 +00:00
parent a2b88e7894
commit 8b26eb2bbe

View File

@@ -690,7 +690,11 @@ static int srpt_refresh_port(struct srpt_port *sport)
&reg_req, 0,
srpt_mad_send_handler,
srpt_mad_recv_handler,
sport);
sport
#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 17, 0)
, 0
#endif
);
if (IS_ERR(sport->mad_agent)) {
ret = PTR_ERR(sport->mad_agent);
sport->mad_agent = NULL;