Fix ADAQ4216 data capture #19
Annotations
1 error and 5 warnings
|
|
|
|
|
drivers/misc/mathworks/mathworks_generic_of.c#L66
kernel: cast from 'void (*)(struct mathworks_ip_info *)' to 'devm_action_fn' (aka 'void (*)(void *)') converts to incompatible function type [-Wcast-function-type-strict]
66 | status = devm_add_action_helper(thisIpcore->dev, (devm_action_fn)mwgen_of_unlink_i2c_adapter, thisIpcore);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
drivers/misc/mathworks/mathworks_generic_of.c#L58
kernel: cast from 'void (*)(struct mathworks_ip_info *)' to 'devm_action_fn' (aka 'void (*)(void *)') converts to incompatible function type [-Wcast-function-type-strict]
58 | status = devm_add_action_helper(thisIpcore->dev, (devm_action_fn)mwgen_of_unlink_i2c_device, thisIpcore);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
drivers/misc/mathworks/mathworks_generic_of.c#L48
kernel: cast from 'void (*)(struct device *)' to 'devm_action_fn' (aka 'void (*)(void *)') converts to incompatible function type [-Wcast-function-type-strict]
48 | status = devm_add_action_helper(thisIpcore->dev, (devm_action_fn)put_device, &thisIpcore->i2c->dev);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
drivers/misc/mathworks/mathworks_generic_of.c#L37
kernel: cast from 'void (*)(struct device_node *)' to 'devm_action_fn' (aka 'void (*)(void *)') converts to incompatible function type [-Wcast-function-type-strict]
37 | status = devm_add_action_helper(thisIpcore->dev, (devm_action_fn)of_node_put, slave_node);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
|
The logs for this run have expired and are no longer available.
Loading