瀏覽代碼

[hermon] Fix incorrectly-padded sense_port structure

Signed-off-by: Michael Brown <mcb30@ipxe.org>
tags/v1.20.1
Michael Brown 15 年之前
父節點
當前提交
dc462e8b3b
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      src/drivers/infiniband/hermon.h

+ 1
- 1
src/drivers/infiniband/hermon.h 查看文件

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

Loading…
取消
儲存