diff options
| author | Takashi Iwai <[email protected]> | 2023-08-26 07:21:51 +0000 |
|---|---|---|
| committer | Takashi Iwai <[email protected]> | 2023-08-26 07:22:18 +0000 |
| commit | 4aa69d64e43edb51a4ecff7d301e9f881eb2d3f5 (patch) | |
| tree | cec7340bb7307cbd0ccd4e94a33a9e517d62b884 /tools/perf/scripts | |
| parent | ALSA: hda: Add missing dependency on CONFIG_EFI for Cirrus/TI sub-codecs (diff) | |
| download | kernel-4aa69d64e43edb51a4ecff7d301e9f881eb2d3f5.tar.gz kernel-4aa69d64e43edb51a4ecff7d301e9f881eb2d3f5.zip | |
ALSA: ump: Fix -Wformat-truncation warnings
Filling the rawmidi name and substream name can be truncated, and this
leads to spurious compiler warnings due to -Wformat-truncation.
Although the truncation is the expected behavior, it'd be better to
truncate the string within "(...)"
This patch puts the precision specifies to each %s for fitting the
words within the size-limited strings.
Fixes: 5f11dd938fe7 ("ALSA: usb-audio: Attach legacy rawmidi after probing all UMP EPs")
Reported-by: kernel test robot <[email protected]>
Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions
