Przeglądaj źródła

[hermon] Fix incorrectly-padded sense_port structure

Signed-off-by: Michael Brown <mcb30@ipxe.org>
tags/v1.20.1
Michael Brown 13 lat temu
rodzic
commit
dc462e8b3b
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1
    1
      src/drivers/infiniband/hermon.h

+ 1
- 1
src/drivers/infiniband/hermon.h Wyświetl plik

@@ -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 {

Ładowanie…
Anuluj
Zapisz