Package: smifb2-dkms
Version: 2.4.3.0.19.g7a73b0c-1
Severity: important
Tags: upstream

Hi,

smifb2-dkms fails to build a module for Linux 7.2 in experimental:

DKMS (dkms-3.2.2) make.log for smifb2/2.4.3.0.19.g7a73b0c for kernel 7.2-amd64 
(x86_64)
Wed Sep  2 19:45:13 UTC 2026

Building module(s)
# command: make -j14 KERNELRELEASE=7.2-amd64 -C /lib/modules/7.2-amd64/build 
M=/var/lib/dkms/smifb2/2.4.3.0.19.g7a73b0c/build
make: Entering directory '/usr/src/linux-headers-7.2-amd64'
make[1]: Entering directory '/var/lib/dkms/smifb2/2.4.3.0.19.g7a73b0c/build'
  CC [M]  smi_drv.o
  CC [M]  smi_main.o
  CC [M]  smi_mode.o
  CC [M]  smi_plane.o
  CC [M]  smi_ttm.o
  CC [M]  smi_prime.o
  CC [M]  hw750.o
  CC [M]  hw768.o
  CC [M]  smi_debugfs.o
  CC [M]  ddk750/ddk750_help.o
  CC [M]  ddk750/ddk750_chip.o
  CC [M]  ddk750/ddk750_clock.o
  CC [M]  ddk750/ddk750_mode.o
  CC [M]  ddk750/ddk750_power.o
  CC [M]  ddk750/ddk750_helper.o
  CC [M]  ddk750/ddk750_display.o
  CC [M]  ddk750/ddk750_2d.o
  CC [M]  ddk750/ddk750_edid.o
  CC [M]  ddk750/ddk750_swi2c.o
  CC [M]  ddk750/ddk750_hwi2c.o
smi_plane.c:47:40: warning: 'struct drm_atomic_state' declared inside parameter 
list will not be visible outside of this definition or declaration
   47 |                                 struct drm_atomic_state *atom_state
      |                                        ^~~~~~~~~~~~~~~~
smi_plane.c: In function 'smi_cursor_atomic_check':
smi_plane.c:52:72: error: passing argument 1 of 
'drm_atomic_get_new_plane_state' from incompatible pointer type 
[-Wincompatible-pointer-types]
   52 |         struct drm_plane_state *state = 
drm_atomic_get_new_plane_state(atom_state, plane);
      |                                                                        
^~~~~~~~~~
      |                                                                        |
      |                                                                        
struct drm_atomic_state *
In file included from smi_plane.c:10:
/usr/src/linux-headers-7.2-common/include/drm/drm_atomic.h:824:64: note: 
expected 'const struct drm_atomic_commit *' but argument is of type 'struct 
drm_atomic_state *'
  824 | drm_atomic_get_new_plane_state(const struct drm_atomic_commit *state,
      |                                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
smi_plane.c: At top level:
smi_plane.c:75:40: warning: 'struct drm_atomic_state' declared inside parameter 
list will not be visible outside of this definition or declaration
   75 |                                 struct drm_atomic_state *atom_state
      |                                        ^~~~~~~~~~~~~~~~
smi_plane.c: In function 'smi_cursor_atomic_update':
smi_plane.c:80:76: error: passing argument 1 of 
'drm_atomic_get_old_plane_state' from incompatible pointer type 
[-Wincompatible-pointer-types]
   80 |         struct drm_plane_state *old_state = 
drm_atomic_get_old_plane_state(atom_state, plane);
      |                                                                         
   ^~~~~~~~~~
      |                                                                         
   |
      |                                                                         
   struct drm_atomic_state *
/usr/src/linux-headers-7.2-common/include/drm/drm_atomic.h:809:64: note: 
expected 'const struct drm_atomic_commit *' but argument is of type 'struct 
drm_atomic_state *'
  809 | drm_atomic_get_old_plane_state(const struct drm_atomic_commit *state,
      |                                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
smi_plane.c:81:76: error: passing argument 1 of 
'drm_atomic_get_new_plane_state' from incompatible pointer type 
[-Wincompatible-pointer-types]
   81 |         struct drm_plane_state *new_state = 
drm_atomic_get_new_plane_state(atom_state, plane);
      |                                                                         
   ^~~~~~~~~~
      |                                                                         
   |
      |                                                                         
   struct drm_atomic_state *
/usr/src/linux-headers-7.2-common/include/drm/drm_atomic.h:824:64: note: 
expected 'const struct drm_atomic_commit *' but argument is of type 'struct 
drm_atomic_state *'
  824 | drm_atomic_get_new_plane_state(const struct drm_atomic_commit *state,
      |                                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
smi_plane.c: At top level:
smi_plane.c:236:40: warning: 'struct drm_atomic_state' declared inside 
parameter list will not be visible outside of this definition or declaration
  236 |                                 struct drm_atomic_state *atom_state
      |                                        ^~~~~~~~~~~~~~~~
smi_plane.c: In function 'smi_cursor_atomic_disable':
smi_plane.c:241:76: error: passing argument 1 of 
'drm_atomic_get_old_plane_state' from incompatible pointer type 
[-Wincompatible-pointer-types]
  241 |         struct drm_plane_state *old_state = 
drm_atomic_get_old_plane_state(atom_state, plane);
      |                                                                         
   ^~~~~~~~~~
      |                                                                         
   |
      |                                                                         
   struct drm_atomic_state *
/usr/src/linux-headers-7.2-common/include/drm/drm_atomic.h:809:64: note: 
expected 'const struct drm_atomic_commit *' but argument is of type 'struct 
drm_atomic_state *'
  809 | drm_atomic_get_old_plane_state(const struct drm_atomic_commit *state,
      |                                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
smi_plane.c: At top level:
smi_plane.c:287:25: error: initialization of 'int (*)(struct drm_plane *, 
struct drm_atomic_commit *)' from incompatible pointer type 'int (*)(struct 
drm_plane *, struct drm_atomic_state *)' [-Wincompatible-pointer-types]
  287 |         .atomic_check = smi_cursor_atomic_check,
      |                         ^~~~~~~~~~~~~~~~~~~~~~~
smi_plane.c:287:25: note: (near initialization for 
'smi_cursor_helper_funcs.atomic_check')
smi_plane.c:43:12: note: 'smi_cursor_atomic_check' declared here
   43 | static int smi_cursor_atomic_check(struct drm_plane *plane,
      |            ^~~~~~~~~~~~~~~~~~~~~~~
smi_plane.c:288:26: error: initialization of 'void (*)(struct drm_plane *, 
struct drm_atomic_commit *)' from incompatible pointer type 'void (*)(struct 
drm_plane *, struct drm_atomic_state *)' [-Wincompatible-pointer-types]
  288 |         .atomic_update = smi_cursor_atomic_update,
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~
smi_plane.c:288:26: note: (near initialization for 
'smi_cursor_helper_funcs.atomic_update')
smi_plane.c:71:13: note: 'smi_cursor_atomic_update' declared here
   71 | static void smi_cursor_atomic_update(struct drm_plane *plane,
      |             ^~~~~~~~~~~~~~~~~~~~~~~~
smi_plane.c:289:27: error: initialization of 'void (*)(struct drm_plane *, 
struct drm_atomic_commit *)' from incompatible pointer type 'void (*)(struct 
drm_plane *, struct drm_atomic_state *)' [-Wincompatible-pointer-types]
  289 |         .atomic_disable = smi_cursor_atomic_disable,
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~~
smi_plane.c:289:27: note: (near initialization for 
'smi_cursor_helper_funcs.atomic_disable')
smi_plane.c:232:13: note: 'smi_cursor_atomic_disable' declared here
  232 | static void smi_cursor_atomic_disable(struct drm_plane *plane,
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~
smi_plane.c:378:40: warning: 'struct drm_atomic_state' declared inside 
parameter list will not be visible outside of this definition or declaration
  378 |                                 struct drm_atomic_state *atom_state
      |                                        ^~~~~~~~~~~~~~~~
smi_plane.c: In function 'smi_primary_plane_atomic_update':
smi_plane.c:383:72: error: passing argument 1 of 
'drm_atomic_get_new_plane_state' from incompatible pointer type 
[-Wincompatible-pointer-types]
  383 |         struct drm_plane_state *state = 
drm_atomic_get_new_plane_state(atom_state,
      |                                                                        
^~~~~~~~~~
      |                                                                        |
      |                                                                        
struct drm_atomic_state *
/usr/src/linux-headers-7.2-common/include/drm/drm_atomic.h:824:64: note: 
expected 'const struct drm_atomic_commit *' but argument is of type 'struct 
drm_atomic_state *'
  824 | drm_atomic_get_new_plane_state(const struct drm_atomic_commit *state,
      |                                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
smi_plane.c: At top level:
smi_plane.c:470:16: warning: 'struct drm_atomic_state' declared inside 
parameter list will not be visible outside of this definition or declaration
  470 |         struct drm_atomic_state *atom_state
      |                ^~~~~~~~~~~~~~~~
smi_plane.c: In function 'smi_primary_plane_atomic_check':
smi_plane.c:475:72: error: passing argument 1 of 
'drm_atomic_get_new_plane_state' from incompatible pointer type 
[-Wincompatible-pointer-types]
  475 |         struct drm_plane_state *state = 
drm_atomic_get_new_plane_state(atom_state, plane);
      |                                                                        
^~~~~~~~~~
      |                                                                        |
      |                                                                        
struct drm_atomic_state *
/usr/src/linux-headers-7.2-common/include/drm/drm_atomic.h:824:64: note: 
expected 'const struct drm_atomic_commit *' but argument is of type 'struct 
drm_atomic_state *'
  824 | drm_atomic_get_new_plane_state(const struct drm_atomic_commit *state,
      |                                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
smi_plane.c:488:48: error: passing argument 1 of 'drm_atomic_get_crtc_state' 
from incompatible pointer type [-Wincompatible-pointer-types]
  488 |         crtc_state = drm_atomic_get_crtc_state(atom_state, crtc);
      |                                                ^~~~~~~~~~
      |                                                |
      |                                                struct drm_atomic_state *
/usr/src/linux-headers-7.2-common/include/drm/drm_atomic.h:719:53: note: 
expected 'struct drm_atomic_commit *' but argument is of type 'struct 
drm_atomic_state *'
  719 | drm_atomic_get_crtc_state(struct drm_atomic_commit *state,
      |                           ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
smi_plane.c: At top level:
smi_plane.c:512:25: error: initialization of 'int (*)(struct drm_plane *, 
struct drm_atomic_commit *)' from incompatible pointer type 'int (*)(struct 
drm_plane *, struct drm_atomic_state *)' [-Wincompatible-pointer-types]
  512 |         .atomic_check = smi_primary_plane_atomic_check,
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
smi_plane.c:512:25: note: (near initialization for 
'smi_primary_plane_helper_funcs.atomic_check')
smi_plane.c:466:12: note: 'smi_primary_plane_atomic_check' declared here
  466 | static int smi_primary_plane_atomic_check(struct drm_plane *plane,
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
smi_plane.c:513:26: error: initialization of 'void (*)(struct drm_plane *, 
struct drm_atomic_commit *)' from incompatible pointer type 'void (*)(struct 
drm_plane *, struct drm_atomic_state *)' [-Wincompatible-pointer-types]
  513 |         .atomic_update = smi_primary_plane_atomic_update,
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
smi_plane.c:513:26: note: (near initialization for 
'smi_primary_plane_helper_funcs.atomic_update')
smi_plane.c:374:13: note: 'smi_primary_plane_atomic_update' declared here
  374 | static void smi_primary_plane_atomic_update(struct drm_plane *plane,
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[3]: *** [/usr/src/linux-headers-7.2-common/scripts/Makefile.build:294: 
smi_plane.o] Error 1
make[3]: *** Waiting for unfinished jobs....
smi_mode.c:338:16: warning: 'struct drm_atomic_state' declared inside parameter 
list will not be visible outside of this definition or declaration
  338 |         struct drm_atomic_state *state)
      |                ^~~~~~~~~~~~~~~~
smi_mode.c:355:24: warning: 'struct drm_atomic_state' declared inside parameter 
list will not be visible outside of this definition or declaration
  355 |                 struct drm_atomic_state *state)
      |                        ^~~~~~~~~~~~~~~~
smi_mode.c:366:24: warning: 'struct drm_atomic_state' declared inside parameter 
list will not be visible outside of this definition or declaration
  366 |                 struct drm_atomic_state *state)
      |                        ^~~~~~~~~~~~~~~~
smi_mode.c:420:25: error: initialization of 'void (*)(struct drm_crtc *, struct 
drm_atomic_commit *)' from incompatible pointer type 'void (*)(struct drm_crtc 
*, struct drm_atomic_state *)' [-Wincompatible-pointer-types]
  420 |         .atomic_flush = smi_crtc_atomic_flush,
      |                         ^~~~~~~~~~~~~~~~~~~~~
smi_mode.c:420:25: note: (near initialization for 
'smi_crtc_helper_funcs.atomic_flush')
smi_mode.c:336:13: note: 'smi_crtc_atomic_flush' declared here
  336 | static void smi_crtc_atomic_flush(struct drm_crtc *crtc,
      |             ^~~~~~~~~~~~~~~~~~~~~
smi_mode.c:421:26: error: initialization of 'void (*)(struct drm_crtc *, struct 
drm_atomic_commit *)' from incompatible pointer type 'void (*)(struct drm_crtc 
*, struct drm_atomic_state *)' [-Wincompatible-pointer-types]
  421 |         .atomic_enable = smi_crtc_atomic_enable,
      |                          ^~~~~~~~~~~~~~~~~~~~~~
smi_mode.c:421:26: note: (near initialization for 
'smi_crtc_helper_funcs.atomic_enable')
smi_mode.c:353:13: note: 'smi_crtc_atomic_enable' declared here
  353 | static void smi_crtc_atomic_enable(struct drm_crtc *crtc,
      |             ^~~~~~~~~~~~~~~~~~~~~~
smi_mode.c:422:27: error: initialization of 'void (*)(struct drm_crtc *, struct 
drm_atomic_commit *)' from incompatible pointer type 'void (*)(struct drm_crtc 
*, struct drm_atomic_state *)' [-Wincompatible-pointer-types]
  422 |         .atomic_disable = smi_crtc_atomic_disable
      |                           ^~~~~~~~~~~~~~~~~~~~~~~
smi_mode.c:422:27: note: (near initialization for 
'smi_crtc_helper_funcs.atomic_disable')
smi_mode.c:364:13: note: 'smi_crtc_atomic_disable' declared here
  364 | static void smi_crtc_atomic_disable(struct drm_crtc *crtc,
      |             ^~~~~~~~~~~~~~~~~~~~~~~
make[3]: *** [/usr/src/linux-headers-7.2-common/scripts/Makefile.build:294: 
smi_mode.o] Error 1
make[2]: *** [/usr/src/linux-headers-7.2-common/Makefile:2211: .] Error 2
make[1]: *** [/usr/src/linux-headers-7.2-common/Makefile:260: __sub-make] Error 
2
make[1]: Leaving directory '/var/lib/dkms/smifb2/2.4.3.0.19.g7a73b0c/build'
make: *** [/usr/src/linux-headers-7.2-common/Makefile:260: __sub-make] Error 2
make: Leaving directory '/usr/src/linux-headers-7.2-amd64'

# exit code: 2
# elapsed time: 00:00:04
----------------------------------------------------------------


Andreas

Reply via email to