Hab mir das mal angeschaut. Der Error verschwindet wenn man einen zusätzlichen Param übergibt.
Es bleiben noch ein paar Warnings. Wie ernst die sind kann ich nicht beurteilen. Ich kann es im Moment nicht ausprobieren.
if (thermal_zone_bind_cooling_device(thermal, 0, cdev,
THERMAL_NO_LIMIT, THERMAL_NO_LIMIT, THERMAL_WEIGHT_DEFAULT)) {
---
Mist, daheim mit 4.8 Kernel gibt es Errors, was hier unten nur als Warning steht. Kann mir jemand helfen, was ich da machen muß?
|
Quellcode
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
make -C /lib/modules/4.4.0-79-generic/build SUBDIRS=/home/user/Downloads/acerhdf_kmod modules
make[1]: Entering directory '/usr/src/linux-headers-4.4.0-79-generic'
CC [M] /home/user/Downloads/acerhdf_kmod/acerhdf.o
/home/user/Downloads/acerhdf_kmod/acerhdf.c:460:14: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
.get_temp = acerhdf_get_ec_temp,
^
/home/user/Downloads/acerhdf_kmod/acerhdf.c:460:14: note: (near initialization for ‘acerhdf_dev_ops.get_temp’)
/home/user/Downloads/acerhdf_kmod/acerhdf.c:464:19: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
.get_trip_temp = acerhdf_get_trip_temp,
^
/home/user/Downloads/acerhdf_kmod/acerhdf.c:464:19: note: (near initialization for ‘acerhdf_dev_ops.get_trip_temp’)
/home/user/Downloads/acerhdf_kmod/acerhdf.c:465:19: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
.get_crit_temp = acerhdf_get_crit_temp,
^
/home/user/Downloads/acerhdf_kmod/acerhdf.c:465:19: note: (near initialization for ‘acerhdf_dev_ops.get_crit_temp’)
Building modules, stage 2.
MODPOST 1 modules
CC /home/user/Downloads/acerhdf_kmod/acerhdf.mod.o
LD [M] /home/user/Downloads/acerhdf_kmod/acerhdf.ko
make[1]: Leaving directory '/usr/src/linux-headers-4.4.0-79-generic'
|