From: Roel Kluin <roel.kluin@xxxxxxxxx> event_size should be ssize_t to notice when hwarc_get_event_size() returns -ENOSPC. Signed-off-by: Roel Kluin <roel.kluin@xxxxxxxxx> Cc: David Vrabel <david.vrabel@xxxxxxx> Cc: Inaky Perez-Gonzalez <inaky.perez-gonzalez@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/uwb/hwa-rc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN drivers/uwb/hwa-rc.c~uwb-event_size-should-be-signed drivers/uwb/hwa-rc.c --- a/drivers/uwb/hwa-rc.c~uwb-event_size-should-be-signed +++ a/drivers/uwb/hwa-rc.c @@ -501,7 +501,7 @@ int hwarc_filter_event_WUSB_0100(struct 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) _ -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html