config/rdma.m4: Fixed definition HAVE_ISCSI_SCSI_REQ
authorVladimir Sokolovsky <vlad@mellanox.com>
Wed, 7 Jan 2015 15:52:40 +0000 (17:52 +0200)
committerVladimir Sokolovsky <vlad@mellanox.com>
Wed, 7 Jan 2015 15:52:40 +0000 (17:52 +0200)
Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
config/rdma.m4

index 9d77060..5d5f227 100644 (file)
@@ -401,7 +401,9 @@ AC_DEFUN([LINUX_CONFIG_COMPAT],
        LB_LINUX_TRY_COMPILE([
                #include <scsi/iscsi_proto.h>
        ],[
-               struct iscsi_scsi_req *req = NULL;
+               struct iscsi_scsi_req req = {
+                       .opcode = 0,
+               };
 
                return 0;
        ],[