mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
uwb: event_size should be signed
event_size should be ssize_t to notice when hwarc_get_event_size() returns -ENOSPC. Signed-off-by: Roel Kluin <[email protected]> Cc: David Vrabel <[email protected]> Cc: Inaky Perez-Gonzalez <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: David Vrabel <[email protected]>
This commit is contained in:
parent
3218911f83
commit
94d72176f6
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue