Fix mistake in strcmp() for skipping in aarch64
PATCH v3 1/1 Fix mistake in strcmp() for skipping in aarch64
From: Vertigo <[email protected]>
Fix mistake in strcmp() for skipping in aarch64. And there is the same error in aarch64be, so add it.
Signed-off-by Vertigo <[email protected]>
--- testcases/kernel/mem/tunable/max_map_count.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
testcases/kernel/mem/tunable/max_map_count.c +2 -1
@@ -139,7 +139,8 @@ static bool filter_map(const char *line)return true;#elif defined(__arm__)/* Skip it when run it in aarch64 */ -if (strcmp (un.machine,"aarch64" )) +if ((!strcmp (un.machine,"aarch64" )) + || (!strcmp (un.machine,"aarch64_be" )))return false;/* Older arm kernels didn't label their vdso maps */
Signature · 1 line
2.10.1.windows.1
PATCH v3 1/1 Fix mistake in strcmp() for skipping in aarch64
Hi!
Pushed, thanks.
Signature · 2 lines
Cyril Hrubis [email protected]
PATCH v3 1/1 Fix mistake in strcmp() for skipping in aarch64
Hi Cyril,
Sorry for my late response. I rarely check mails recent days.Thanks a lot for your help. Best regards,
Hoang
From: Cyril Hrubis <[email protected]>
To: [email protected]
Cc: [email protected]
Sent: Wednesday, 11 January 2017, 16:48
Subject: Re: [LTP] [PATCH v3] Fix mistake in strcmp() for skipping in aarch64
Hi!
Pushed, thanks.
Signature · 8 lines
Cyril Hrubis [email protected] -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.linux.it/pipermail/ltp/attachments/20170111/2d40ad59/attachment.html>