mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 23:24:22 -04:00
bnx2x: define event data reserved fields as little-endian
For consistency with other event data structs and to lessen the chance of a mistake should one of the reserved fields become used in the future, define the reserved fields as little-endian. Signed-off-by: Michal Schmidt <mschmidt@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
da472731d8
commit
8d1c6bcb0f
1 changed files with 6 additions and 6 deletions
|
|
@ -5224,9 +5224,9 @@ struct vf_pf_event_data {
|
|||
struct vf_flr_event_data {
|
||||
u8 vf_id;
|
||||
u8 reserved0;
|
||||
u16 reserved1;
|
||||
u32 reserved2;
|
||||
u32 reserved3;
|
||||
__le16 reserved1;
|
||||
__le32 reserved2;
|
||||
__le32 reserved3;
|
||||
};
|
||||
|
||||
/*
|
||||
|
|
@ -5235,9 +5235,9 @@ struct vf_flr_event_data {
|
|||
struct malicious_vf_event_data {
|
||||
u8 vf_id;
|
||||
u8 err_id;
|
||||
u16 reserved1;
|
||||
u32 reserved2;
|
||||
u32 reserved3;
|
||||
__le16 reserved1;
|
||||
__le32 reserved2;
|
||||
__le32 reserved3;
|
||||
};
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in a new issue