Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1713214

Re: [PATCH] tools: fix compile error of freq-step.c

From John Stultz <john.stultz@linaro.org>
Newsgroups linux.kernel
Subject Re: [PATCH] tools: fix compile error of freq-step.c
Date 2017-08-16 20:30 +0200
Message-ID <ufbeO-25d-19@gated-at.bofh.it> (permalink)
References <ueZGF-3rI-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, Aug 15, 2017 at 11:08 PM, Thomas Richter
<tmricht@linux.vnet.ibm.com> wrote:
> The compilation of the file freq-step.c in directory
> tools/testing/selftests/timers fails with this error message:
>
> [root@s8360046 timers]# make
> gcc -O3 -Wl,-no-as-needed -Wall -DKTEST  -lrt -lpthread -lm  freq-step.c
>           -o freq-step
> freq-step.c: In function ‘init_test’:
> freq-step.c:234:3: error: too few arguments to function ‘ksft_exit_skip’
>    ksft_exit_skip();
>    ^~~~~~~~~~~~~~
> In file included from freq-step.c:26:0:
> ../kselftest.h:142:19: note: declared here
>  static inline int ksft_exit_skip(const char *msg, ...)
>                    ^~~~~~~~~~~~~~
> <builtin>: recipe for target 'freq-step' failed
> make: *** [freq-step] Error 1
> [root@s8360046 timers]#
>
> This is the case for Intel and s390x. I have not tested other
> platforms.
>
> Which this patch the compilation succeeds:

I think Shuah has already submitted a fix for this to Linus.  I
believe it was merged as 622b2fbe625b.

thanks
-john

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] tools: fix compile error of freq-step.c Thomas Richter <tmricht@linux.vnet.ibm.com> - 2017-08-16 08:10 +0200
  Re: [PATCH] tools: fix compile error of freq-step.c John Stultz <john.stultz@linaro.org> - 2017-08-16 20:30 +0200
    Re: [PATCH] tools: fix compile error of freq-step.c Shuah Khan <shuahkh@osg.samsung.com> - 2017-08-16 21:00 +0200

csiph-web