Skip to content

Fixes for linux headers 6.6.62#32

Open
gseqBE wants to merge 5 commits intoadrianomarto:masterfrom
boston-engineering:gds/fixes-linux-headers-6-6-62
Open

Fixes for linux headers 6.6.62#32
gseqBE wants to merge 5 commits intoadrianomarto:masterfrom
boston-engineering:gds/fixes-linux-headers-6-6-62

Conversation

@gseqBE
Copy link

@gseqBE gseqBE commented Jan 7, 2025

Compilation fixes for Tested on PI Zero, Linux 6.6.62+rpt-rpi-v8 Bookworm

Details:
image

@gseqBE gseqBE force-pushed the gds/fixes-linux-headers-6-6-62 branch from 65b6e30 to 6f35c15 Compare January 7, 2025 14:46
@gseqBE gseqBE force-pushed the gds/fixes-linux-headers-6-6-62 branch from 6f35c15 to a746481 Compare January 7, 2025 14:47
@gseqBE gseqBE changed the title Fixes linux headers 6.6.62 Fixes for linux headers 6.6.62 Jan 7, 2025
@gseqBE
Copy link
Author

gseqBE commented Jan 17, 2025

@adrianomarto
Could you have a look at this. Thanks.

@h0nIg
Copy link

h0nIg commented Jan 6, 2026

@gseqBE @ahoenerBE are you sure this fixes all errors? with 6.12 i get:

make -C /usr/src/linux-headers-6.12.47+rpt-rpi-v6 M=/home/xxx/soft_uart/soft_uart modules
make[1]: Entering directory '/usr/src/linux-headers-6.12.47+rpt-rpi-v6'
  CC [M]  /home/xxx/soft_uart/soft_uart/module.o
/home/xxx/soft_uart/soft_uart/module.c:47:22: error: initialization of ‘ssize_t (*)(struct tty_struct *, const u8 *, size_t)’ {aka ‘int (*)(struct tty_struct *, const unsigned char *, unsigned int)’} from incompatible pointer type ‘long int (*)(struct tty_struct *, const unsigned char *, long unsigned int)’ [-Werror=incompatible-pointer-types]
   47 |   .write           = soft_uart_write,
      |                      ^~~~~~~~~~~~~~~
/home/xxx/soft_uart/soft_uart/module.c:47:22: note: (near initialization for ‘soft_uart_operations.write’)

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.

4 participants