Re: [PATCH 08/19] riscv: Add explicit include for cpu.h

2023-04-29 Thread Palmer Dabbelt
On Wed, 29 Mar 2023 08:52:05 PDT (-0700), r...@kernel.org wrote: Removing the include of cpu.h from of_device.h (included by of_platform.h) causes an error in setup.c: arch/riscv/kernel/setup.c:313:22: error: arithmetic on a pointer to an incomplete type 'typeof(struct cpu)' (aka 'struct cpu')

Re: [PATCH 09/19] riscv: cacheinfo: Adjust includes to remove of_device.h

2023-04-29 Thread Palmer Dabbelt
On Wed, 29 Mar 2023 08:52:06 PDT (-0700), r...@kernel.org wrote: Now that of_cpu_device_node_get() is defined in of.h, of_device.h is just implicitly including other includes, and is no longer needed. Adjust the include files with what was implicitly included by of_device.h (cpu.h and of.h) and

Re: [PATCH v14 00/15] phy: Add support for Lynx 10G SerDes

2023-04-29 Thread Vladimir Oltean
On Wed, Apr 26, 2023 at 10:50:17AM -0400, Sean Anderson wrote: > > I need to catch up with 14 rounds of patches from you and with the > > discussions that took place on each version, and understand how you > > responded to feedback like "don't remove PHY interrupts without finding > > out why they

[PATCH v2] ASoC: fsl MPC52xx drivers require PPC_BESTCOMM

2023-04-29 Thread Randy Dunlap
Both SND_MPC52xx_SOC_PCM030 and SND_MPC52xx_SOC_EFIKA select SND_SOC_MPC5200_AC97. The latter symbol depends on PPC_BESTCOMM, so the 2 former symbols should also depend on PPC_BESTCOMM since "select" does not follow any dependency chains. This prevents a kconfig warning and build errors:

Re: [PATCH] powerpc: remove unneeded if-checks

2023-04-29 Thread Arnd Bergmann
On Sat, Apr 29, 2023, at 00:12, Tom Rix wrote: > For ppc64, gcc with W=1 reports > arch/powerpc/platforms/cell/spu_base.c:330:17: error: > suggest braces around empty body in an 'if' statement [-Werror=empty-body] > 330 | ; > | ^ >

Re: [PATCH -next?] powerpc/fsl_uli1575: fix kconfig warnings and build errors

2023-04-29 Thread Pali Rohár
On Friday 28 April 2023 21:35:19 Randy Dunlap wrote: > Neither FSL_SOC_BOOKE nor PPC_86xx enables CONFIG_PCI by > default, so it may be unset in some randconfigs. > When that happens, FSL_ULI1575 may be set when it should not be > since it is a PCI driver. When it is set, there are 3 kconfig >

Re: [PATCH] powerpc: remove unneeded if-checks

2023-04-29 Thread Christophe Leroy
Le 29/04/2023 à 00:12, Tom Rix a écrit : > For ppc64, gcc with W=1 reports > arch/powerpc/platforms/cell/spu_base.c:330:17: error: >suggest braces around empty body in an 'if' statement [-Werror=empty-body] >330 | ; >| ^ >

[PATCH] ASoC: fsl MPC52xx drivers require PPC_BESTCOMM

2023-04-29 Thread Randy Dunlap
Both SND_MPC52xx_SOC_PCM030 and SND_MPC52xx_SOC_EFIKA select SND_SOC_MPC5200_AC97. The latter symbol depends on PPC_BESTCOMM, so the 2 former symbols should also depend on PPC_BESTCOMM since "select" does not follow any dependency chains. This prevents a kconfig warning and build errors: