]> www.infradead.org Git - users/jedix/linux-maple.git/commit
soc: fsl: cpm1: qmc: Fix unused data compilation warning
authorHerve Codina <herve.codina@bootlin.com>
Mon, 9 Sep 2024 12:11:29 +0000 (14:11 +0200)
committerChristophe Leroy <christophe.leroy@csgroup.eu>
Wed, 2 Oct 2024 21:29:38 +0000 (23:29 +0200)
commit1117b916f541fc8e4ce812843555432022e5aa0e
treecb8217e1ac254929d44c82d58ae1f2aff8385ed5
parent122019f051bdae3c700ec4a8246b74e3e6f29d9b
soc: fsl: cpm1: qmc: Fix unused data compilation warning

In some configuration, compilation raises warnings related to unused
data. Indeed, depending on configuration, those data can be unused.

mark those data as __maybe_unused to avoid compilation warnings.

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202409071707.ou2KFNKO-lkp@intel.com/
Fixes: eb680d563089 ("soc: fsl: cpm1: qmc: Add support for QUICC Engine (QE) implementation")
Signed-off-by: Herve Codina <herve.codina@bootlin.com>
Link: https://lore.kernel.org/r/20240909121129.57067-1-herve.codina@bootlin.com
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
drivers/soc/fsl/qe/qmc.c