Skip to contentSkip to conversation

format string mismatch in drivers/iio/industrialio-core.c:206

DISCUSSION Toralf Förster 1 participant 2 messages May 19, 2014 1 message not in the archive InfiniBand

lore
Share & tools
lore
#0 lore raw

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]

#2 lore raw
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