在 2022/2/8 15:23, Greg KH 写道:
On Tue, Feb 08, 2022 at 02:46:36PM +0000, Jiaxun Yang wrote:
Oh Please ignore this series of backport.
For all branches?
Yep.
We find another way to workaround the issue.
What is your solution? I am sure that others would be interested in it.
Oh we just define them in Makefile with cflags
like:
--- a/Makefile.kernel
+++ b/Makefile.kernel
@@ -60,3 +60,5 @@ obj-$(CPTCFG_WLAN) += drivers/net/wireless/
#obj-$(CPTCFG_USB_USBNET) += drivers/net/usb/
#
#obj-$(CPTCFG_STAGING) += drivers/staging/
+
+subdir-ccflags-y += -DCOMPAT_KERNEL_SUBLEVEL=$(SUBLEVEL)
Thanks.
- Jiaxun
thanks,
greg k-h