]> git.ipfire.org Git - thirdparty/ipxe.git/commitdiff
[hermon] Fix incorrectly-padded sense_port structure
authorMichael Brown <mcb30@ipxe.org>
Fri, 24 Dec 2010 01:10:26 +0000 (01:10 +0000)
committerMichael Brown <mcb30@ipxe.org>
Fri, 24 Dec 2010 01:10:26 +0000 (01:10 +0000)
Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/drivers/infiniband/hermon.h

index 7f00efcd35b3251aa5bf4828a063195446754902..28ab34afac048f6da7db05cf9b8356ba8e8fd291 100644 (file)
@@ -211,7 +211,7 @@ struct hermonprm_sense_port_st {
        pseudo_bit_t reserved0[0x00020];
 /* -------------- */
        pseudo_bit_t port_type[0x00002];
-       pseudo_bit_t reserved1[0x00018];
+       pseudo_bit_t reserved1[0x0001e];
 } __attribute__ (( packed ));
 
 struct hermonprm_set_port_ib_st {