Commit 94d72176 authored by Roel Kluin's avatar Roel Kluin Committed by David Vrabel
Browse files

uwb: event_size should be signed

event_size should be ssize_t to notice when hwarc_get_event_size() returns

Signed-off-by: default avatarRoel Kluin <>
Cc: David Vrabel <>
Cc: Inaky Perez-Gonzalez <>
Signed-off-by: default avatarAndrew Morton <>
Signed-off-by: default avatarDavid Vrabel <>
parent 3218911f
......@@ -501,7 +501,7 @@ int hwarc_filter_event_WUSB_0100(struct uwb_rc *rc, struct uwb_rceb **header,
int result = -ENOANO;
struct uwb_rceb *rceb = *header;
int event = le16_to_cpu(rceb->wEvent);
size_t event_size;
ssize_t event_size;
size_t core_size, offset;
if (rceb->bEventType != UWB_RC_CET_GENERAL)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment