Message ID | 9e4f4fea-3608-5a11-8f7d-56f0242c46a4@users.sourceforge.net (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/drivers/hid/hid-core.c b/drivers/hid/hid-core.c index 16c73bf49d55..b943b2ebadc1 100644 --- a/drivers/hid/hid-core.c +++ b/drivers/hid/hid-core.c @@ -787,7 +787,7 @@ static int hid_scan_report(struct hid_device *hid) hid_parser_reserved }; - parser = vzalloc(sizeof(struct hid_parser)); + parser = vzalloc(sizeof(*parser)); if (!parser) return -ENOMEM;