format string mismatch in drivers/iio/industrialio-core.c:206
Hi,
FIWI cppcheck blames this :
[drivers/iio/industrialio-core.c:206]: (warning) %i in format string (no. 1) requires 'int *' but the argument type is 'unsigned int *'. [drivers/iio/industrialio-core.c:206]: (warning) %i in format string (no. 2) requires 'int *' but the argument type is 'unsigned int *'.
Signature · 6 lines
Toralf -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 8 lines · Toralf Förster
Hi,
FIWI cppcheck blames this :
[
drivers/iio/industrialio-core.c:206]: (warning) %i in format string (no. 1) requires 'int *' but the argument type is 'unsigned int *'. [drivers/iio/industrialio-core.c:206]: (warning) %i in format string (no. 2) requires 'int *' but the argument type is 'unsigned int *'.
And btw :
[drivers/infiniband/hw/cxgb3/iwch_provider.c:1138]: (warning) %i in format string (no. 1) requires 'int *' but the argument type is 'unsigned int *'. [drivers/infiniband/hw/cxgb3/iwch_provider.c:1140]: (warning) %i in format string (no. 1) requires 'int *' but the argument type is 'unsigned int *'. [drivers/infiniband/hw/cxgb3/iwch_provider.c:1142]: (warning) %i in format string (no. 1) requires 'int *' but the argument type is 'unsigned int *'.
Signature · 6 lines
Toralf -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html