Skip to content

Commit 652521d

Browse files
geertuIngo Molnar
authored andcommitted
perf/headers: Fix spelling s/EACCESS/EACCES/, s/privilidge/privilege/
As per POSIX, the correct spelling of the error code is EACCES: include/uapi/asm-generic/errno-base.h:#define EACCES 13 /* Permission denied */ Signed-off-by: Geert Uytterhoeven <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: Arnaldo Carvalho de Melo <[email protected]> Cc: Arnaldo Carvalho de Melo <[email protected]> Cc: Jiri Kosina <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: Mark Rutland <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Stephane Eranian <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: Vince Weaver <[email protected]> Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
1 parent 75be6f7 commit 652521d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/linux/perf_event.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ struct pmu {
292292
* -EBUSY -- @event is for this PMU but PMU temporarily unavailable
293293
* -EINVAL -- @event is for this PMU but @event is not valid
294294
* -EOPNOTSUPP -- @event is for this PMU, @event is valid, but not supported
295-
* -EACCESS -- @event is for this PMU, @event is valid, but no privilidges
295+
* -EACCES -- @event is for this PMU, @event is valid, but no privileges
296296
*
297297
* 0 -- @event is for this PMU and valid
298298
*

0 commit comments

Comments
 (0)