Re: selftests: connector: proc_filter.c:48:20: error: invalid application of 'sizeof' to an incomplete type 'struct proc_input'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




> On Jul 28, 2023, at 10:34 AM, Shuah Khan <skhan@xxxxxxxxxxxxxxxxxxx> wrote:
> 
> On 7/28/23 10:46, Anjali Kulkarni wrote:
>>> On Jul 27, 2023, at 7:43 PM, Jakub Kicinski <kuba@xxxxxxxxxx> wrote:
>>> 
>>> On Fri, 28 Jul 2023 01:38:40 +0000 Anjali Kulkarni wrote:
>>>> Jakub,
>>>> Do I need to revert the -f runtime filter option back to compile time
>>>> and commit with that disabled so the selftest compiles on a kernel on
>>>> which the new options are not defined?
>>> 
>>> I'm not 100% sure myself on what's the expectations for building
>>> selftests against uAPI headers is..
>>> 
>>> I _think_ that you're supposed to add an -I$something to
>>> the CFLAGS in your Makefile. KHDR_INCLUDES maybe? So that the uAPI
>>> headers from the build get used (rendered by make headers).
>>> 
>>> Take a look at Documentation/dev-tools/kselftest.rst, I hope
>>> the answer is somewhere there.
>> Ok thanks, I will look into your suggestions.
>> Anjali
> 
> I sent a 3 patch series with the fix to this problem and a couple of
> others I found during testing.
> 

I was just about to send the fix, but thanks.

Anjali

> thanks,
> -- Shuah





[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux