Преглед изворни кода

[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 година
родитељ
комит
56b6613e94
1 измењених фајлова са 3 додато и 3 уклоњено
  1. 3
    3
      src/drivers/infiniband/hermon.c

+ 3
- 3
src/drivers/infiniband/hermon.c Прегледај датотеку

@@ -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…
Откажи
Сачувај