diff options
Diffstat (limited to 'kernel/perf_event.c')
-rw-r--r-- | kernel/perf_event.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/perf_event.c b/kernel/perf_event.c index 8823b0885183..0dd8e5d02c66 100644 --- a/kernel/perf_event.c +++ b/kernel/perf_event.c | |||
@@ -4564,7 +4564,7 @@ static int perf_copy_attr(struct perf_event_attr __user *uattr, | |||
4564 | if (attr->type >= PERF_TYPE_MAX) | 4564 | if (attr->type >= PERF_TYPE_MAX) |
4565 | return -EINVAL; | 4565 | return -EINVAL; |
4566 | 4566 | ||
4567 | if (attr->__reserved_1 || attr->__reserved_2 || attr->__reserved_3) | 4567 | if (attr->__reserved_1 || attr->__reserved_2) |
4568 | return -EINVAL; | 4568 | return -EINVAL; |
4569 | 4569 | ||
4570 | if (attr->sample_type & ~(PERF_SAMPLE_MAX-1)) | 4570 | if (attr->sample_type & ~(PERF_SAMPLE_MAX-1)) |