mirror of https://github.com/ipxe/ipxe.git
[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>pull/1/head
parent
3293eb8e73
commit
56b6613e94
|
@ -510,7 +510,7 @@ hermon_cmd_sense_port ( struct hermon *hermon, unsigned int port,
|
||||||
struct hermonprm_sense_port *port_type ) {
|
struct hermonprm_sense_port *port_type ) {
|
||||||
return hermon_cmd ( hermon,
|
return hermon_cmd ( hermon,
|
||||||
HERMON_HCR_OUT_CMD ( HERMON_HCR_SENSE_PORT,
|
HERMON_HCR_OUT_CMD ( HERMON_HCR_SENSE_PORT,
|
||||||
1, sizeof ( *port_type ) ),
|
0, sizeof ( *port_type ) ),
|
||||||
0, NULL, port, port_type );
|
0, NULL, port, port_type );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue