Browse Source

[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 years ago
parent
commit
56b6613e94
1 changed files with 3 additions and 3 deletions
  1. 3
    3
      src/drivers/infiniband/hermon.c

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

509
 hermon_cmd_sense_port ( struct hermon *hermon, unsigned int port,
509
 hermon_cmd_sense_port ( struct hermon *hermon, unsigned int port,
510
 			struct hermonprm_sense_port *port_type ) {
510
 			struct hermonprm_sense_port *port_type ) {
511
 	return hermon_cmd ( hermon,
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
 static inline int
517
 static inline int

Loading…
Cancel
Save