Sfoglia il codice sorgente

[hermon] Fix incorrectly-padded sense_port structure

Signed-off-by: Michael Brown <mcb30@ipxe.org>
tags/v1.20.1
Michael Brown 14 anni fa
parent
commit
dc462e8b3b
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1
    1
      src/drivers/infiniband/hermon.h

+ 1
- 1
src/drivers/infiniband/hermon.h Vedi File

@@ -211,7 +211,7 @@ struct hermonprm_sense_port_st {
211 211
 	pseudo_bit_t reserved0[0x00020];
212 212
 /* -------------- */
213 213
 	pseudo_bit_t port_type[0x00002];
214
-	pseudo_bit_t reserved1[0x00018];
214
+	pseudo_bit_t reserved1[0x0001e];
215 215
 } __attribute__ (( packed ));
216 216
 
217 217
 struct hermonprm_set_port_ib_st {

Loading…
Annulla
Salva