mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-26 19:36:41 +00:00
staging:ozwpan:Fix sparse warning of cast to restricted __le16
This patch fixes the following sparse warnings: drivers/staging/ozwpan/ozusbsvc1.c:391:36: warning: cast to restricted __le16 drivers/staging/ozwpan/ozusbsvc1.c:393:33: warning: cast to restricted __le16 Signed-off-by: Himangi Saraogi <himangi774@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
45b1fe53b7
commit
accd4d7d37
@ -219,8 +219,8 @@ struct oz_get_desc_rsp {
|
||||
u8 elt_seq_num;
|
||||
u8 type;
|
||||
u8 req_id;
|
||||
u16 offset;
|
||||
u16 total_size;
|
||||
__le16 offset;
|
||||
__le16 total_size;
|
||||
u8 rcode;
|
||||
u8 data[1];
|
||||
} PACKED;
|
||||
|
Loading…
Reference in New Issue
Block a user