]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
ASoC: Intel: NHLT: Fix debug print format
authorAmadeusz Sławiński <amadeuszx.slawinski@intel.com>
Tue, 27 Aug 2019 14:17:12 +0000 (16:17 +0200)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Wed, 16 Oct 2019 09:55:31 +0000 (11:55 +0200)
commit0b385062349c11b9b501d78be2faff66d6ff3c9a
treeff03dba833c1d517912caf644c27a60efc8973d1
parent4e0becb2a4163f370b998fc2da50ebb14157713e
ASoC: Intel: NHLT: Fix debug print format

BugLink: https://bugs.launchpad.net/bugs/1847155
commit 855a06da37a773fd073d51023ac9d07988c87da8 upstream.

oem_table_id is 8 chars long, so we need to limit it, otherwise it
may print some unprintable characters into dmesg.

Signed-off-by: Amadeusz Sławiński <amadeuszx.slawinski@intel.com>
Link: https://lore.kernel.org/r/20190827141712.21015-7-amadeuszx.slawinski@linux.intel.com
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Cc: stable@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
sound/soc/intel/skylake/skl-nhlt.c