Re: [yocto] Out-of-tree Kernel Modules

2024-10-31 Thread Yoann Congal via lists.yoctoproject.org
Le mer. 30 oct. 2024 à 20:01, Yishai Jaffe via lists.yoctoproject.org a écrit : > Hi Quentin, > > On Wed, Oct 30, 2024 at 5:01 PM Quentin Schulz > wrote: > >> Hi Yishai, >> >> On 10/30/24 3:54 PM, Yishai Jaffe via Lists.Yoctoproject.Org wrote: >> > You don't often get email from yishai1999= >> g

Re: [yocto] Out-of-tree Kernel Modules

2024-10-30 Thread Yishai Jaffe
Hi Quentin, On Wed, Oct 30, 2024 at 5:01 PM Quentin Schulz wrote: > Hi Yishai, > > On 10/30/24 3:54 PM, Yishai Jaffe via Lists.Yoctoproject.Org wrote: > > You don't often get email from yishai1999= > gmail@lists.yoctoproject.org. Learn why this is important< > https://aka.ms/LearnAboutSender

Re: [yocto] Out-of-tree Kernel Modules

2024-10-30 Thread Quentin Schulz via lists.yoctoproject.org
Hi Yishai, On 10/30/24 3:54 PM, Yishai Jaffe via Lists.Yoctoproject.Org wrote: You don't often get email from yishai1999=gmail@lists.yoctoproject.org. Learn why this is important Thanks Quentin, Changing the include to uapi/linux/sched/types.h

Re: [yocto] Out-of-tree Kernel Modules

2024-10-30 Thread Yishai Jaffe
Thanks Quentin, Changing the include to uapi/linux/sched/types.h solved the issue. But just so I'm clear on this - Can you explain when I should use uapi headers vs when to use the regular linux/xxx headers? -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply On

Re: [yocto] Out-of-tree Kernel Modules

2024-10-30 Thread Quentin Schulz via lists.yoctoproject.org
Hi Yishai, On 10/30/24 1:58 PM, Yishai Jaffe via lists.yoctoproject.org wrote: You don't often get email from yishai1999=gmail@lists.yoctoproject.org. Learn why this is important Hi, I'm having a problem compiling my out of tree kernel module.

[yocto] Out-of-tree Kernel Modules

2024-10-30 Thread Yishai Jaffe
Hi, I'm having a problem compiling my out of tree kernel module. I've managed to reproduce my problem with the meta-skeleton hello-mod recipe. I'm working with poky on branch scarthgap. Here are the necessary changes: diff --git a/meta-skeleton/recipes-kernel/hello-mod/files/hello.c b/meta-skeleto