Skip to content

fix build for kernel 6.15#1229

Open
domin144 wants to merge 1 commit intoaircrack-ng:v5.6.4.2from
domin144:v5.6.4.2_fix_6.15
Open

fix build for kernel 6.15#1229
domin144 wants to merge 1 commit intoaircrack-ng:v5.6.4.2from
domin144:v5.6.4.2_fix_6.15

Conversation

@domin144
Copy link

@domin144 domin144 commented May 3, 2025

No description provided.

@rpardini
Copy link

@kimocoder could you take a look at this one when you've the spare cycles please?

Makefile Outdated
EXTRA_CFLAGS += -I$(src)/include -I$(srctree)/$(src)/include
EXTRA_CFLAGS += -I$(src)/hal/phydm -I$(srctree)/$(src)/hal/phydm
EXTRA_LDFLAGS += --strip-all -O3
ccflags-y += $(USER_ccflags-y) -fno-pie

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This must remain USER_EXTRA_CFLAGS

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch. Fixed.

Copy link

@giuliobenetti giuliobenetti left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello @domin144,

except the wrong substitution this patch looks good to me.

Only maybe my commit log could be used to give more informations, check here:
Benetti-Engineering/rtl8188eu@702a90b

I'm going to use this patch once cleaned up in Buildroot where I maintain many WiFi drivers and all patches for Linux 6.15 look the same.

@giuliobenetti
Copy link

Ah, and of course I've build tested this patch as well with that change on Buildroot.

Commit:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=8fa7292fee5c5240402371ea89ab285ec856c916
drops del_timer_sync() in favor of timer_delete_sync() so let's use the
new function when Linux version is 6.15.0 or later.
Let's also change Makefile EXTRA_CFLAGS variable to ccflags-y that is the
standard variable for CFLAGS.
@domin144 domin144 force-pushed the v5.6.4.2_fix_6.15 branch from fd80508 to 6e736a3 Compare July 1, 2025 21:42
@domin144
Copy link
Author

domin144 commented Jul 1, 2025

Hello @giuliobenetti .
Thanks for the review. I applied the comments and updated the commit message.

@giuliobenetti
Copy link

@domin144 LGTM now

@giuliobenetti
Copy link

@kimocoder kindly ping

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants