diff options
author | Arnaldo Carvalho de Melo <[email protected]> | 2012-11-09 15:50:33 -0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2012-11-09 17:35:31 -0300 |
commit | 7a905611644c015e68a955f263fd0a4b7b20879d (patch) | |
tree | 243eb71518d4b5e3fbd6796d654df0dd45d4031c /lib/memory-notifier-error-inject.c | |
parent | e46466b8bd5918626250dc0d6cb6c2147a611087 (diff) |
tools lib traceevent: Handle INVALID_ARG_TYPE errno in pevent_strerror
gcc on f14 32-bit rightly complains:
tools/lib/traceevent/event-parse.c:5097:2: error: enumeration value ‘PEVENT_ERRNO__INVALID_ARG_TYPE’ not handled in switch
The entry for it is in the error strings array pevent_error_str[]:
_PE(INVALID_ARG_TYPE, "invalid argument type")
It was just not being handled on the pevent_strerror switch, fix it.
Cc: David Ahern <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
Cc: Mike Galbraith <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Stephane Eranian <[email protected]>
Cc: Steven Rostedt <[email protected]>
Link: http://lkml.kernel.org/n/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions