From: Itay Gazit Date: Thu, 28 Oct 2010 13:53:53 +0000 (+0200) Subject: [hermon] Fix hermon_cmd_sense_port() to use inline output X-Git-Tag: v1.20.1~2318 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=56b6613e946b423be9de06a141a38c648caef4e3;p=thirdparty%2Fipxe.git [hermon] Fix hermon_cmd_sense_port() to use inline output Signed-off-by: Itay Gazit Signed-off-by: Michael Brown --- diff --git a/src/drivers/infiniband/hermon.c b/src/drivers/infiniband/hermon.c index 6e3955af7..cba92cefe 100644 --- a/src/drivers/infiniband/hermon.c +++ b/src/drivers/infiniband/hermon.c @@ -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