From: Arnaldo Carvalho de Melo Date: Fri, 9 Nov 2012 18:50:33 +0000 (-0300) Subject: tools lib traceevent: Handle INVALID_ARG_TYPE errno in pevent_strerror X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~77^2~5^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7a905611644c015e68a955f263fd0a4b7b20879d;p=pandora-kernel.git 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 Cc: Frederic Weisbecker Cc: Mike Galbraith Cc: Paul Mackerras Cc: Peter Zijlstra Cc: Stephane Eranian Cc: Steven Rostedt Link: http://lkml.kernel.org/n/tip-c68zkvxw4289uqbosfkz963g@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo --- Reading git-diff-tree failed