Procházet zdrojové kódy

[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 před 14 roky
rodič
revize
56b6613e94
1 změnil soubory, kde provedl 3 přidání a 3 odebrání
  1. 3
    3
      src/drivers/infiniband/hermon.c

+ 3
- 3
src/drivers/infiniband/hermon.c Zobrazit soubor

@@ -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

Načítá se…
Zrušit
Uložit