Message ID | 20240710230025.46487-6-vladimir.oltean@nxp.com (mailing list archive) |
---|---|
State | Superseded |
Delegated to: | Netdev Maintainers |
Headers | show |
Series | Eliminate CONFIG_NR_CPUS dependency in dpaa-eth and enable COMPILE_TEST in fsl_qbman | expand |
On Thu, Jul 11, 2024 at 02:00:25AM +0300, Vladimir Oltean wrote: > From: Breno Leitao <leitao@debian.org> > > As most of the drivers that depend on ARCH_LAYERSCAPE, make FSL_DPAA > depend on COMPILE_TEST for compilation and testing. > > # grep -r depends.\*ARCH_LAYERSCAPE.\*COMPILE_TEST | wc -l > 29 > > Signed-off-by: Breno Leitao <leitao@debian.org> > Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com> > --- I don't know why nipa says there are 800+ new warnings/errors introduced by this patch, but it looks like a false positive (or I can't seem to find something relevant).
On Fri, Jul 12, 2024 at 03:14:00PM +0300, Vladimir Oltean wrote: > On Thu, Jul 11, 2024 at 02:00:25AM +0300, Vladimir Oltean wrote: > > From: Breno Leitao <leitao@debian.org> > > > > As most of the drivers that depend on ARCH_LAYERSCAPE, make FSL_DPAA > > depend on COMPILE_TEST for compilation and testing. > > > > # grep -r depends.\*ARCH_LAYERSCAPE.\*COMPILE_TEST | wc -l > > 29 > > > > Signed-off-by: Breno Leitao <leitao@debian.org> > > Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com> > > --- > > I don't know why nipa says there are 800+ new warnings/errors introduced > by this patch, but it looks like a false positive (or I can't seem to > find something relevant). Right, All of the warnings are basically a set of MODULES_DESCRIPTION() that are missing in other parts of the kernel, and not related to this patch series. None of them seems to be in the network stack. (for context, I've fixed all the missing MODULES_DESCRIPTION in the past). nipa also complained about an unused variable, and we have a patch for it already: https://lore.kernel.org/all/20240712134817.913756-1-leitao@debian.org/
diff --git a/drivers/soc/fsl/qbman/Kconfig b/drivers/soc/fsl/qbman/Kconfig index bdecb86bb656..27774ec6ff90 100644 --- a/drivers/soc/fsl/qbman/Kconfig +++ b/drivers/soc/fsl/qbman/Kconfig @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0-only menuconfig FSL_DPAA bool "QorIQ DPAA1 framework support" - depends on ((FSL_SOC_BOOKE || ARCH_LAYERSCAPE) && ARCH_DMA_ADDR_T_64BIT) + depends on ((FSL_SOC_BOOKE || ARCH_LAYERSCAPE || COMPILE_TEST) && ARCH_DMA_ADDR_T_64BIT) select GENERIC_ALLOCATOR help The Freescale Data Path Acceleration Architecture (DPAA) is a set of