Skip to contentSkip to conversation

How to backport linux-libc-headers change

DISCUSSION Fabio Berton 1 participant 1 message Jul 24, 2025

lore
Share & tools
lore
#0 lore raw

I've seen the following error related to kernel headers:
/

|/usr/include/linux/cn_proc.h:72:17: error: invalid conversion from
|'unsigned int' to 'proc_cn_event' [-fpermissive]
|    72 |         ev_type &= PROC_EVENT_ALL;
|      |                 ^
|      |                 unsigned int

\

which is fixed by this commit [1].

I'm using scarthgap, and the linux-libc-headers use the kernel version 6.6. Looking at the kernel sources, branch linux-6.6.y contains the change [1].

What is the process to backport commit [1]? Add as a patch in linux-libc-headers_6.6.bb recipe?

1 - https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/include/uapi/linux/cn_proc.h?&id=9258d795978f398ecf2d222a8388cff81d37d34d