diff options
| author | Michael Brown | 2011-02-16 19:38:26 +0100 |
|---|---|---|
| committer | Michael Brown | 2011-02-17 02:25:10 +0100 |
| commit | e8c636fe75d6b797d2fe151f8534dea7bbc6d1c2 (patch) | |
| tree | e8799832b330cf1eff347d638959166e4ea588cd /src/drivers/net/phantom | |
| parent | [hermon] Force link speed to SDR (diff) | |
| download | ipxe-e8c636fe75d6b797d2fe151f8534dea7bbc6d1c2.tar.gz ipxe-e8c636fe75d6b797d2fe151f8534dea7bbc6d1c2.tar.xz ipxe-e8c636fe75d6b797d2fe151f8534dea7bbc6d1c2.zip | |
[hermon] Add missing __attribute__ (( packed ))
On 64-bit builds, MLX_DECLARE_STRUCT() produces a structure that is
always a multiple of 64 bits long, causing the HCR structure to be
over-length by one dword. This in turn causes hermon_cmd() to write
beyond the end of the HCR, which causes commands to fail.
Reported-by: Itay Gazit <itayg@mellanox.co.il>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/drivers/net/phantom')
0 files changed, 0 insertions, 0 deletions
