drivers/misc/mathworks: Use wrapper mathods for devm #2
Annotations
5 warnings
|
drivers/misc/mathworks/mw_stream_iio_channel.c#L138
clang_analyzer: Value stored to 'mwchan' during its initialization is never read [deadcode.DeadStores]
138 | struct mw_stream_iio_chandev *mwchan = iio_priv(indio_dev);
| ^~~~~~ ~~~~~~~~~~~~~~~~~~~
|
|
drivers/misc/mathworks/mw_stream_iio_channel.c#L108
clang_analyzer: Value stored to 'mwchan' during its initialization is never read [deadcode.DeadStores]
108 | struct mw_stream_iio_chandev *mwchan = iio_priv(indio_dev);
| ^~~~~~ ~~~~~~~~~~~~~~~~~~~
|
|
drivers/misc/mathworks/mw_stream_channel.c#L836
clang_analyzer: Value stored to 'status' is never read [deadcode.DeadStores]
836 | status = 0;
| ^ ~
|
|
drivers/misc/mathworks/mw_stream_channel.c#L479
clang_analyzer: Value stored to 'ret' is never read [deadcode.DeadStores]
479 | ret = mw_axidma_setupchannel(mwdev, mwchan, &usrbuf);
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
drivers/misc/mathworks/mw_stream_channel.c#L62
clang_analyzer: Dereference of null pointer [core.NullDereference]
62 | mw_ip_info = container_of(inode->i_cdev, struct mathworks_ip_info, cdev);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
The logs for this run have expired and are no longer available.
Loading