[PATCH] powerpc/configs: Disable /dev/port in skiroot defconfig

Michael Ellerman mpe at ellerman.id.au
Fri Jun 28 11:45:33 AEST 2019


Daniel Axtens <dja at axtens.net> writes:
> While reviewing lockdown patches, I discovered that we still enable
> /dev/port (CONFIG_DEVPORT) in skiroot.
>
> We don't need it. Deselect CONFIG_DEVPORT for skiroot.

Why don't we need it? :)

cheers

> diff --git a/arch/powerpc/configs/skiroot_defconfig b/arch/powerpc/configs/skiroot_defconfig
> index 5ba131c30f6b..b2e8f37156eb 100644
> --- a/arch/powerpc/configs/skiroot_defconfig
> +++ b/arch/powerpc/configs/skiroot_defconfig
> @@ -212,6 +212,7 @@ CONFIG_IPMI_WATCHDOG=y
>  CONFIG_HW_RANDOM=y
>  CONFIG_TCG_TPM=y
>  CONFIG_TCG_TIS_I2C_NUVOTON=y
> +# CONFIG_DEVPORT is not set
>  CONFIG_I2C=y
>  # CONFIG_I2C_COMPAT is not set
>  CONFIG_I2C_CHARDEV=y
> -- 
> 2.20.1


More information about the Linuxppc-dev mailing list