Re: [PATCH 0/3] kselftest build errors

2017-07-24 Thread Shuah Khan
On 07/12/2017 03:30 AM, Naresh Kamboju wrote:
> Hi Fathi and Shuah,
> 
> On 29 June 2017 at 14:07, Fathi Boudra  wrote:
>> On 28 June 2017 at 17:21, Shuah Khan  wrote:
>>> On 06/28/2017 02:30 AM, Fathi Boudra wrote:
 On 23 June 2017 at 22:44, Shuah Khan  wrote:
> On 06/23/2017 04:37 AM, Marcin Nowakowski wrote:
>> This patch series fixes build errors observed when building net, memfd, 
>> gpio and intel_pstate tests
>>
>> Marcin Nowakowski (3):
>>   selftests/{net,memfd}: fix undefined references to external libraries
>>   selftests/gpio: fix build error
>>   selftests/intel_pstate: fix undefined reference when building
>>
>>  tools/testing/selftests/gpio/Makefile | 2 +-
>>  tools/testing/selftests/intel_pstate/Makefile | 2 +-
>>  tools/testing/selftests/memfd/Makefile| 4 ++--
>>  tools/testing/selftests/net/Makefile  | 2 +-
>>  4 files changed, 5 insertions(+), 5 deletions(-)
>>
>
> Hi Marcin,
>
> SeongJae Park sent me fixes for the memfd/net/intel_pstate problems
> last week. I pulled those in already.
>
> The gpio fix is something I need to look at closely to see if this is
> the way to go. I will get back to you on that.

 Any updates on the gpio fix? I've tested it and it works for me.

>>>
>>> I haven't decided yet.
>>
>> another alternative is to use realpath:
>> -GPIODIR := ../../../gpio
>> +GPIODIR := $(realpath ../../../gpio)
>>

You are welcome to send a patch.

>> btw, this commit:
>> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=51c6bd7cbe0366b642d8ac90d98739c39ab091a9
>> should be reverted once the build error is addressed because they
>> shouldn't have been there in the first place due to lack of trailing
>> slash in the path.

Yes. This was a temporary solution.

thanks,
-- Shuah
> 
> The current status on linux-next is,
> gpio-mockup-chardev.c building binary failed and shell script not able
> to locate test binary,
> gpio-mockup-chardev: No such file or directory
> 
> Bug link,
> https://bugs.linaro.org/show_bug.cgi?id=3122
> 
> - Naresh
>>
>>> thanks,
>>> -- Shuah
> 
> 



Re: [PATCH 0/3] kselftest build errors

2017-07-24 Thread Shuah Khan
On 07/12/2017 03:30 AM, Naresh Kamboju wrote:
> Hi Fathi and Shuah,
> 
> On 29 June 2017 at 14:07, Fathi Boudra  wrote:
>> On 28 June 2017 at 17:21, Shuah Khan  wrote:
>>> On 06/28/2017 02:30 AM, Fathi Boudra wrote:
 On 23 June 2017 at 22:44, Shuah Khan  wrote:
> On 06/23/2017 04:37 AM, Marcin Nowakowski wrote:
>> This patch series fixes build errors observed when building net, memfd, 
>> gpio and intel_pstate tests
>>
>> Marcin Nowakowski (3):
>>   selftests/{net,memfd}: fix undefined references to external libraries
>>   selftests/gpio: fix build error
>>   selftests/intel_pstate: fix undefined reference when building
>>
>>  tools/testing/selftests/gpio/Makefile | 2 +-
>>  tools/testing/selftests/intel_pstate/Makefile | 2 +-
>>  tools/testing/selftests/memfd/Makefile| 4 ++--
>>  tools/testing/selftests/net/Makefile  | 2 +-
>>  4 files changed, 5 insertions(+), 5 deletions(-)
>>
>
> Hi Marcin,
>
> SeongJae Park sent me fixes for the memfd/net/intel_pstate problems
> last week. I pulled those in already.
>
> The gpio fix is something I need to look at closely to see if this is
> the way to go. I will get back to you on that.

 Any updates on the gpio fix? I've tested it and it works for me.

>>>
>>> I haven't decided yet.
>>
>> another alternative is to use realpath:
>> -GPIODIR := ../../../gpio
>> +GPIODIR := $(realpath ../../../gpio)
>>

You are welcome to send a patch.

>> btw, this commit:
>> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=51c6bd7cbe0366b642d8ac90d98739c39ab091a9
>> should be reverted once the build error is addressed because they
>> shouldn't have been there in the first place due to lack of trailing
>> slash in the path.

Yes. This was a temporary solution.

thanks,
-- Shuah
> 
> The current status on linux-next is,
> gpio-mockup-chardev.c building binary failed and shell script not able
> to locate test binary,
> gpio-mockup-chardev: No such file or directory
> 
> Bug link,
> https://bugs.linaro.org/show_bug.cgi?id=3122
> 
> - Naresh
>>
>>> thanks,
>>> -- Shuah
> 
> 



Re: [PATCH 0/3] kselftest build errors

2017-07-12 Thread Naresh Kamboju
Hi Fathi and Shuah,

On 29 June 2017 at 14:07, Fathi Boudra  wrote:
> On 28 June 2017 at 17:21, Shuah Khan  wrote:
>> On 06/28/2017 02:30 AM, Fathi Boudra wrote:
>>> On 23 June 2017 at 22:44, Shuah Khan  wrote:
 On 06/23/2017 04:37 AM, Marcin Nowakowski wrote:
> This patch series fixes build errors observed when building net, memfd, 
> gpio and intel_pstate tests
>
> Marcin Nowakowski (3):
>   selftests/{net,memfd}: fix undefined references to external libraries
>   selftests/gpio: fix build error
>   selftests/intel_pstate: fix undefined reference when building
>
>  tools/testing/selftests/gpio/Makefile | 2 +-
>  tools/testing/selftests/intel_pstate/Makefile | 2 +-
>  tools/testing/selftests/memfd/Makefile| 4 ++--
>  tools/testing/selftests/net/Makefile  | 2 +-
>  4 files changed, 5 insertions(+), 5 deletions(-)
>

 Hi Marcin,

 SeongJae Park sent me fixes for the memfd/net/intel_pstate problems
 last week. I pulled those in already.

 The gpio fix is something I need to look at closely to see if this is
 the way to go. I will get back to you on that.
>>>
>>> Any updates on the gpio fix? I've tested it and it works for me.
>>>
>>
>> I haven't decided yet.
>
> another alternative is to use realpath:
> -GPIODIR := ../../../gpio
> +GPIODIR := $(realpath ../../../gpio)
>
> btw, this commit:
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=51c6bd7cbe0366b642d8ac90d98739c39ab091a9
> should be reverted once the build error is addressed because they
> shouldn't have been there in the first place due to lack of trailing
> slash in the path.

The current status on linux-next is,
gpio-mockup-chardev.c building binary failed and shell script not able
to locate test binary,
gpio-mockup-chardev: No such file or directory

Bug link,
https://bugs.linaro.org/show_bug.cgi?id=3122

- Naresh
>
>> thanks,
>> -- Shuah


Re: [PATCH 0/3] kselftest build errors

2017-07-12 Thread Naresh Kamboju
Hi Fathi and Shuah,

On 29 June 2017 at 14:07, Fathi Boudra  wrote:
> On 28 June 2017 at 17:21, Shuah Khan  wrote:
>> On 06/28/2017 02:30 AM, Fathi Boudra wrote:
>>> On 23 June 2017 at 22:44, Shuah Khan  wrote:
 On 06/23/2017 04:37 AM, Marcin Nowakowski wrote:
> This patch series fixes build errors observed when building net, memfd, 
> gpio and intel_pstate tests
>
> Marcin Nowakowski (3):
>   selftests/{net,memfd}: fix undefined references to external libraries
>   selftests/gpio: fix build error
>   selftests/intel_pstate: fix undefined reference when building
>
>  tools/testing/selftests/gpio/Makefile | 2 +-
>  tools/testing/selftests/intel_pstate/Makefile | 2 +-
>  tools/testing/selftests/memfd/Makefile| 4 ++--
>  tools/testing/selftests/net/Makefile  | 2 +-
>  4 files changed, 5 insertions(+), 5 deletions(-)
>

 Hi Marcin,

 SeongJae Park sent me fixes for the memfd/net/intel_pstate problems
 last week. I pulled those in already.

 The gpio fix is something I need to look at closely to see if this is
 the way to go. I will get back to you on that.
>>>
>>> Any updates on the gpio fix? I've tested it and it works for me.
>>>
>>
>> I haven't decided yet.
>
> another alternative is to use realpath:
> -GPIODIR := ../../../gpio
> +GPIODIR := $(realpath ../../../gpio)
>
> btw, this commit:
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=51c6bd7cbe0366b642d8ac90d98739c39ab091a9
> should be reverted once the build error is addressed because they
> shouldn't have been there in the first place due to lack of trailing
> slash in the path.

The current status on linux-next is,
gpio-mockup-chardev.c building binary failed and shell script not able
to locate test binary,
gpio-mockup-chardev: No such file or directory

Bug link,
https://bugs.linaro.org/show_bug.cgi?id=3122

- Naresh
>
>> thanks,
>> -- Shuah


Re: [PATCH 0/3] kselftest build errors

2017-06-29 Thread Fathi Boudra
On 28 June 2017 at 17:21, Shuah Khan  wrote:
> On 06/28/2017 02:30 AM, Fathi Boudra wrote:
>> On 23 June 2017 at 22:44, Shuah Khan  wrote:
>>> On 06/23/2017 04:37 AM, Marcin Nowakowski wrote:
 This patch series fixes build errors observed when building net, memfd, 
 gpio and intel_pstate tests

 Marcin Nowakowski (3):
   selftests/{net,memfd}: fix undefined references to external libraries
   selftests/gpio: fix build error
   selftests/intel_pstate: fix undefined reference when building

  tools/testing/selftests/gpio/Makefile | 2 +-
  tools/testing/selftests/intel_pstate/Makefile | 2 +-
  tools/testing/selftests/memfd/Makefile| 4 ++--
  tools/testing/selftests/net/Makefile  | 2 +-
  4 files changed, 5 insertions(+), 5 deletions(-)

>>>
>>> Hi Marcin,
>>>
>>> SeongJae Park sent me fixes for the memfd/net/intel_pstate problems
>>> last week. I pulled those in already.
>>>
>>> The gpio fix is something I need to look at closely to see if this is
>>> the way to go. I will get back to you on that.
>>
>> Any updates on the gpio fix? I've tested it and it works for me.
>>
>
> I haven't decided yet.

another alternative is to use realpath:
-GPIODIR := ../../../gpio
+GPIODIR := $(realpath ../../../gpio)

btw, this commit:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=51c6bd7cbe0366b642d8ac90d98739c39ab091a9
should be reverted once the build error is addressed because they
shouldn't have been there in the first place due to lack of trailing
slash in the path.

> thanks,
> -- Shuah


Re: [PATCH 0/3] kselftest build errors

2017-06-29 Thread Fathi Boudra
On 28 June 2017 at 17:21, Shuah Khan  wrote:
> On 06/28/2017 02:30 AM, Fathi Boudra wrote:
>> On 23 June 2017 at 22:44, Shuah Khan  wrote:
>>> On 06/23/2017 04:37 AM, Marcin Nowakowski wrote:
 This patch series fixes build errors observed when building net, memfd, 
 gpio and intel_pstate tests

 Marcin Nowakowski (3):
   selftests/{net,memfd}: fix undefined references to external libraries
   selftests/gpio: fix build error
   selftests/intel_pstate: fix undefined reference when building

  tools/testing/selftests/gpio/Makefile | 2 +-
  tools/testing/selftests/intel_pstate/Makefile | 2 +-
  tools/testing/selftests/memfd/Makefile| 4 ++--
  tools/testing/selftests/net/Makefile  | 2 +-
  4 files changed, 5 insertions(+), 5 deletions(-)

>>>
>>> Hi Marcin,
>>>
>>> SeongJae Park sent me fixes for the memfd/net/intel_pstate problems
>>> last week. I pulled those in already.
>>>
>>> The gpio fix is something I need to look at closely to see if this is
>>> the way to go. I will get back to you on that.
>>
>> Any updates on the gpio fix? I've tested it and it works for me.
>>
>
> I haven't decided yet.

another alternative is to use realpath:
-GPIODIR := ../../../gpio
+GPIODIR := $(realpath ../../../gpio)

btw, this commit:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=51c6bd7cbe0366b642d8ac90d98739c39ab091a9
should be reverted once the build error is addressed because they
shouldn't have been there in the first place due to lack of trailing
slash in the path.

> thanks,
> -- Shuah


Re: [PATCH 0/3] kselftest build errors

2017-06-28 Thread Shuah Khan
On 06/28/2017 02:30 AM, Fathi Boudra wrote:
> On 23 June 2017 at 22:44, Shuah Khan  wrote:
>> On 06/23/2017 04:37 AM, Marcin Nowakowski wrote:
>>> This patch series fixes build errors observed when building net, memfd, 
>>> gpio and intel_pstate tests
>>>
>>> Marcin Nowakowski (3):
>>>   selftests/{net,memfd}: fix undefined references to external libraries
>>>   selftests/gpio: fix build error
>>>   selftests/intel_pstate: fix undefined reference when building
>>>
>>>  tools/testing/selftests/gpio/Makefile | 2 +-
>>>  tools/testing/selftests/intel_pstate/Makefile | 2 +-
>>>  tools/testing/selftests/memfd/Makefile| 4 ++--
>>>  tools/testing/selftests/net/Makefile  | 2 +-
>>>  4 files changed, 5 insertions(+), 5 deletions(-)
>>>
>>
>> Hi Marcin,
>>
>> SeongJae Park sent me fixes for the memfd/net/intel_pstate problems
>> last week. I pulled those in already.
>>
>> The gpio fix is something I need to look at closely to see if this is
>> the way to go. I will get back to you on that.
> 
> Any updates on the gpio fix? I've tested it and it works for me.
> 

I haven't decided yet.

thanks,
-- Shuah


Re: [PATCH 0/3] kselftest build errors

2017-06-28 Thread Shuah Khan
On 06/28/2017 02:30 AM, Fathi Boudra wrote:
> On 23 June 2017 at 22:44, Shuah Khan  wrote:
>> On 06/23/2017 04:37 AM, Marcin Nowakowski wrote:
>>> This patch series fixes build errors observed when building net, memfd, 
>>> gpio and intel_pstate tests
>>>
>>> Marcin Nowakowski (3):
>>>   selftests/{net,memfd}: fix undefined references to external libraries
>>>   selftests/gpio: fix build error
>>>   selftests/intel_pstate: fix undefined reference when building
>>>
>>>  tools/testing/selftests/gpio/Makefile | 2 +-
>>>  tools/testing/selftests/intel_pstate/Makefile | 2 +-
>>>  tools/testing/selftests/memfd/Makefile| 4 ++--
>>>  tools/testing/selftests/net/Makefile  | 2 +-
>>>  4 files changed, 5 insertions(+), 5 deletions(-)
>>>
>>
>> Hi Marcin,
>>
>> SeongJae Park sent me fixes for the memfd/net/intel_pstate problems
>> last week. I pulled those in already.
>>
>> The gpio fix is something I need to look at closely to see if this is
>> the way to go. I will get back to you on that.
> 
> Any updates on the gpio fix? I've tested it and it works for me.
> 

I haven't decided yet.

thanks,
-- Shuah


Re: [PATCH 0/3] kselftest build errors

2017-06-28 Thread Fathi Boudra
On 23 June 2017 at 22:44, Shuah Khan  wrote:
> On 06/23/2017 04:37 AM, Marcin Nowakowski wrote:
>> This patch series fixes build errors observed when building net, memfd, gpio 
>> and intel_pstate tests
>>
>> Marcin Nowakowski (3):
>>   selftests/{net,memfd}: fix undefined references to external libraries
>>   selftests/gpio: fix build error
>>   selftests/intel_pstate: fix undefined reference when building
>>
>>  tools/testing/selftests/gpio/Makefile | 2 +-
>>  tools/testing/selftests/intel_pstate/Makefile | 2 +-
>>  tools/testing/selftests/memfd/Makefile| 4 ++--
>>  tools/testing/selftests/net/Makefile  | 2 +-
>>  4 files changed, 5 insertions(+), 5 deletions(-)
>>
>
> Hi Marcin,
>
> SeongJae Park sent me fixes for the memfd/net/intel_pstate problems
> last week. I pulled those in already.
>
> The gpio fix is something I need to look at closely to see if this is
> the way to go. I will get back to you on that.

Any updates on the gpio fix? I've tested it and it works for me.

> thanks,
> -- Shuah
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kselftest" in
> the body of a message to majord...@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCH 0/3] kselftest build errors

2017-06-28 Thread Fathi Boudra
On 23 June 2017 at 22:44, Shuah Khan  wrote:
> On 06/23/2017 04:37 AM, Marcin Nowakowski wrote:
>> This patch series fixes build errors observed when building net, memfd, gpio 
>> and intel_pstate tests
>>
>> Marcin Nowakowski (3):
>>   selftests/{net,memfd}: fix undefined references to external libraries
>>   selftests/gpio: fix build error
>>   selftests/intel_pstate: fix undefined reference when building
>>
>>  tools/testing/selftests/gpio/Makefile | 2 +-
>>  tools/testing/selftests/intel_pstate/Makefile | 2 +-
>>  tools/testing/selftests/memfd/Makefile| 4 ++--
>>  tools/testing/selftests/net/Makefile  | 2 +-
>>  4 files changed, 5 insertions(+), 5 deletions(-)
>>
>
> Hi Marcin,
>
> SeongJae Park sent me fixes for the memfd/net/intel_pstate problems
> last week. I pulled those in already.
>
> The gpio fix is something I need to look at closely to see if this is
> the way to go. I will get back to you on that.

Any updates on the gpio fix? I've tested it and it works for me.

> thanks,
> -- Shuah
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kselftest" in
> the body of a message to majord...@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCH 0/3] kselftest build errors

2017-06-23 Thread Shuah Khan
On 06/23/2017 04:37 AM, Marcin Nowakowski wrote:
> This patch series fixes build errors observed when building net, memfd, gpio 
> and intel_pstate tests
> 
> Marcin Nowakowski (3):
>   selftests/{net,memfd}: fix undefined references to external libraries
>   selftests/gpio: fix build error
>   selftests/intel_pstate: fix undefined reference when building
> 
>  tools/testing/selftests/gpio/Makefile | 2 +-
>  tools/testing/selftests/intel_pstate/Makefile | 2 +-
>  tools/testing/selftests/memfd/Makefile| 4 ++--
>  tools/testing/selftests/net/Makefile  | 2 +-
>  4 files changed, 5 insertions(+), 5 deletions(-)
> 

Hi Marcin,

SeongJae Park sent me fixes for the memfd/net/intel_pstate problems
last week. I pulled those in already.

The gpio fix is something I need to look at closely to see if this is
the way to go. I will get back to you on that.

thanks,
-- Shuah


Re: [PATCH 0/3] kselftest build errors

2017-06-23 Thread Shuah Khan
On 06/23/2017 04:37 AM, Marcin Nowakowski wrote:
> This patch series fixes build errors observed when building net, memfd, gpio 
> and intel_pstate tests
> 
> Marcin Nowakowski (3):
>   selftests/{net,memfd}: fix undefined references to external libraries
>   selftests/gpio: fix build error
>   selftests/intel_pstate: fix undefined reference when building
> 
>  tools/testing/selftests/gpio/Makefile | 2 +-
>  tools/testing/selftests/intel_pstate/Makefile | 2 +-
>  tools/testing/selftests/memfd/Makefile| 4 ++--
>  tools/testing/selftests/net/Makefile  | 2 +-
>  4 files changed, 5 insertions(+), 5 deletions(-)
> 

Hi Marcin,

SeongJae Park sent me fixes for the memfd/net/intel_pstate problems
last week. I pulled those in already.

The gpio fix is something I need to look at closely to see if this is
the way to go. I will get back to you on that.

thanks,
-- Shuah


[PATCH 0/3] kselftest build errors

2017-06-23 Thread Marcin Nowakowski
This patch series fixes build errors observed when building net, memfd, gpio 
and intel_pstate tests

Marcin Nowakowski (3):
  selftests/{net,memfd}: fix undefined references to external libraries
  selftests/gpio: fix build error
  selftests/intel_pstate: fix undefined reference when building

 tools/testing/selftests/gpio/Makefile | 2 +-
 tools/testing/selftests/intel_pstate/Makefile | 2 +-
 tools/testing/selftests/memfd/Makefile| 4 ++--
 tools/testing/selftests/net/Makefile  | 2 +-
 4 files changed, 5 insertions(+), 5 deletions(-)

-- 
2.7.4



[PATCH 0/3] kselftest build errors

2017-06-23 Thread Marcin Nowakowski
This patch series fixes build errors observed when building net, memfd, gpio 
and intel_pstate tests

Marcin Nowakowski (3):
  selftests/{net,memfd}: fix undefined references to external libraries
  selftests/gpio: fix build error
  selftests/intel_pstate: fix undefined reference when building

 tools/testing/selftests/gpio/Makefile | 2 +-
 tools/testing/selftests/intel_pstate/Makefile | 2 +-
 tools/testing/selftests/memfd/Makefile| 4 ++--
 tools/testing/selftests/net/Makefile  | 2 +-
 4 files changed, 5 insertions(+), 5 deletions(-)

-- 
2.7.4