Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[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>
  • Loading branch information
Itay Gazit authored and mcb30 committed Feb 17, 2011
1 parent 3293eb8 commit 56b6613
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/drivers/infiniband/hermon.c
Expand Up @@ -509,9 +509,9 @@ static inline int
hermon_cmd_sense_port ( struct hermon *hermon, unsigned int port,
struct hermonprm_sense_port *port_type ) {
return hermon_cmd ( hermon,
HERMON_HCR_OUT_CMD ( HERMON_HCR_SENSE_PORT,
1, sizeof ( *port_type ) ),
0, NULL, port, port_type );
HERMON_HCR_OUT_CMD ( HERMON_HCR_SENSE_PORT,
0, sizeof ( *port_type ) ),
0, NULL, port, port_type );
}

static inline int
Expand Down

0 comments on commit 56b6613

Please sign in to comment.