Commit 4c78185
committed
fixup! ASoC: sof ipc4: Add sof_ipc4_widget_setup_msg_payload() and call it
Fix i386 compilation:
sound/soc/sof/ipc4-topology.c: In function ‘sof_ipc4_widget_setup_msg_payload’:
sound/soc/sof/ipc4-topology.c:3009:36: error: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘size_t’ {aka ‘unsigned int’} [-Werror=format=]
3009 | dev_err(sdev->dev, "Max ipc payload size %lu exceeded: %u",
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/dev_printk.h:110:30: note: in definition of macro ‘dev_printk_index_wrap’
110 | _p_func(dev, fmt, ##__VA_ARGS__); \
| ^~~
include/linux/dev_printk.h:154:56: note: in expansion of macro ‘dev_fmt’
154 | dev_printk_index_wrap(_dev_err, KERN_ERR, dev, dev_fmt(fmt), ##__VA_ARGS__)
| ^~~~~~~
sound/soc/sof/ipc4-topology.c:3009:17: note: in expansion of macro ‘dev_err’
3009 | dev_err(sdev->dev, "Max ipc payload size %lu exceeded: %u",
| ^~~~~~~
sound/soc/sof/ipc4-topology.c:3009:60: note: format string is defined here
3009 | dev_err(sdev->dev, "Max ipc payload size %lu exceeded: %u",
| ~~^
| |
| long unsigned int
| %u
cc1: all warnings being treated as errors
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>1 parent 2b78e31 commit 4c78185
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3006 | 3006 | | |
3007 | 3007 | | |
3008 | 3008 | | |
3009 | | - | |
| 3009 | + | |
3010 | 3010 | | |
3011 | 3011 | | |
3012 | 3012 | | |
| |||
0 commit comments