Ver código fonte

ibft_fill_data() prototype change.

tags/v0.9.3
Michael Brown 18 anos atrás
pai
commit
9485478acc
2 arquivos alterados com 2 adições e 4 exclusões
  1. 1
    3
      src/include/gpxe/ibft.h
  2. 1
    1
      src/tests/iscsiboot.c

+ 1
- 3
src/include/gpxe/ibft.h Ver arquivo

@@ -4,9 +4,7 @@
4 4
 /* Placeholder file */
5 5
 
6 6
 static inline int ibft_fill_data ( struct net_device *netdev __unused,
7
-				   const char *initiator_iqn __unused,
8
-				   struct sockaddr_tcpip *st_target __unused,
9
-				   const char *target_iqn __unused ) {
7
+				   struct iscsi_session *iscsi __unused ) {
10 8
 	return 0;
11 9
 }
12 10
  

+ 1
- 1
src/tests/iscsiboot.c Ver arquivo

@@ -35,7 +35,7 @@ int test_iscsiboot ( const char *initiator_iqn,
35 35
 			 strerror ( rc ) );
36 36
 		return rc;
37 37
 	}
38
-	ibft_fill_data ( netdev, initiator_iqn, target, target_iqn );
38
+	ibft_fill_data ( netdev, &test_iscsidev.iscsi );
39 39
 	memset ( &drive, 0, sizeof ( drive ) );
40 40
 	drive.drive = drivenum;
41 41
 	drive.blockdev = &test_iscsidev.scsi.blockdev;

Carregando…
Cancelar
Salvar