X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=net%2Fbluetooth%2Fhidp%2Fcore.c;h=c3b23ab2b7234d92effb2c92e1580ec0c86d3334;hb=fa29c47bf978dfdf98089ac8532f2271c7b5a6a4;hp=f2cec70d520cc2b29606f51a5c2b3c19a7fdc838;hpb=7939478b92539deaff8e1bed25aaf9e23679028f;p=mirror_ubuntu-bionic-kernel.git diff --git a/net/bluetooth/hidp/core.c b/net/bluetooth/hidp/core.c index f2cec70d520c..c3b23ab2b723 100644 --- a/net/bluetooth/hidp/core.c +++ b/net/bluetooth/hidp/core.c @@ -431,8 +431,8 @@ static void hidp_del_timer(struct hidp_session *session) del_timer(&session->timer); } -static void hidp_process_report(struct hidp_session *session, - int type, const u8 *data, int len, int intr) +static void hidp_process_report(struct hidp_session *session, int type, + const u8 *data, unsigned int len, int intr) { if (len > HID_MAX_BUFFER_SIZE) len = HID_MAX_BUFFER_SIZE;