Sfoglia il codice sorgente

[hermon] Fix hermon_cmd_sense_port() to use inline output

Signed-off-by: Itay Gazit <itaygazit@gmail.com>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
tags/v1.20.1
Itay Gazit 14 anni fa
parent
commit
56b6613e94
1 ha cambiato i file con 3 aggiunte e 3 eliminazioni
  1. 3
    3
      src/drivers/infiniband/hermon.c

+ 3
- 3
src/drivers/infiniband/hermon.c Vedi File

@@ -509,9 +509,9 @@ static inline int
509 509
 hermon_cmd_sense_port ( struct hermon *hermon, unsigned int port,
510 510
 			struct hermonprm_sense_port *port_type ) {
511 511
 	return hermon_cmd ( hermon,
512
-                            HERMON_HCR_OUT_CMD ( HERMON_HCR_SENSE_PORT,
513
-                                                 1, sizeof ( *port_type ) ),
514
-                            0, NULL, port, port_type );
512
+			    HERMON_HCR_OUT_CMD ( HERMON_HCR_SENSE_PORT,
513
+						 0, sizeof ( *port_type ) ),
514
+			    0, NULL, port, port_type );
515 515
 }
516 516
 
517 517
 static inline int

Loading…
Annulla
Salva