summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@localhost>2019-05-28 08:37:19 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2019-05-28 08:37:19 -0700
commit24cedeb24492e76bb8f75c8532c76fe700ff4775 (patch)
treee829dbbc4aa9acfb18713d6bf90de86ccd6a6a10 /tools
parent2f6ef8a30b780f020b67bf1be17e1949881f8b02 (diff)
parent780ec0d562724e68ed866498dedc7c2ef229609f (diff)
Merge "Merge android-4.4.180 (71cb827) into msm-4.4"
Diffstat (limited to 'tools')
-rw-r--r--tools/lib/traceevent/event-parse.c2
-rw-r--r--tools/power/x86/turbostat/Makefile2
-rwxr-xr-xtools/testing/selftests/net/run_netsocktests2
3 files changed, 3 insertions, 3 deletions
diff --git a/tools/lib/traceevent/event-parse.c b/tools/lib/traceevent/event-parse.c
index 743746a3c50d..df3c73e9dea4 100644
--- a/tools/lib/traceevent/event-parse.c
+++ b/tools/lib/traceevent/event-parse.c
@@ -2201,7 +2201,7 @@ eval_type_str(unsigned long long val, const char *type, int pointer)
return val & 0xffffffff;
if (strcmp(type, "u64") == 0 ||
- strcmp(type, "s64"))
+ strcmp(type, "s64") == 0)
return val;
if (strcmp(type, "s8") == 0)
diff --git a/tools/power/x86/turbostat/Makefile b/tools/power/x86/turbostat/Makefile
index e367b1a85d70..3c04e2a85599 100644
--- a/tools/power/x86/turbostat/Makefile
+++ b/tools/power/x86/turbostat/Makefile
@@ -8,7 +8,7 @@ ifeq ("$(origin O)", "command line")
endif
turbostat : turbostat.c
-CFLAGS += -Wall
+CFLAGS += -Wall -I../../../include
CFLAGS += -DMSRHEADER='"../../../../arch/x86/include/asm/msr-index.h"'
%: %.c
diff --git a/tools/testing/selftests/net/run_netsocktests b/tools/testing/selftests/net/run_netsocktests
index 16058bbea7a8..c195b4478662 100755
--- a/tools/testing/selftests/net/run_netsocktests
+++ b/tools/testing/selftests/net/run_netsocktests
@@ -6,7 +6,7 @@ echo "--------------------"
./socket
if [ $? -ne 0 ]; then
echo "[FAIL]"
+ exit 1
else
echo "[PASS]"
fi
-