aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorAlexandru Ardelean <[email protected]>2021-01-04 16:31:03 +0200
committerMark Brown <[email protected]>2021-01-05 14:35:28 +0000
commit8b835da61774d4482864bc081dfb428104842ad3 (patch)
tree44c6f29a02cb81e4d741a830d3907f1c234d4d47 /tools/perf/scripts/python/export-to-sqlite.py
parentf4a10fc4225155ae4d2fcb411be9f24245bb5cf8 (diff)
spi: stm32: update dev_dbg() print format for SPI params
With the introduction of the 'include/uapi/linux/spi/spi.h' header, the type of the macros are enforced to 'unsigned long int' via the _BITUL() macro. This causes some -Wformat warnings in the spi-stm32 driver. This patch adds a double-negation operator to the bit-masks. Essentially, the important values for debugging are 0 or 1, while masking them directly would show 0 or BIT(x) values. This way, the type of the arguments are automatically re-cast. Fixes: f7005142dace ("spi: uapi: unify SPI modes into a single spi.h header") Reported-by: kernel test robot <[email protected]> Reported-by: Stephen Rothwell <[email protected]> Cc: Andy Shevchenko <[email protected]> Signed-off-by: Alexandru Ardelean <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions