From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.2 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E58B4C433F5 for ; Mon, 20 Sep 2021 05:34:31 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id BEB0861019 for ; Mon, 20 Sep 2021 05:34:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232507AbhITFf4 (ORCPT ); Mon, 20 Sep 2021 01:35:56 -0400 Received: from smtp-out2.suse.de ([195.135.220.29]:51446 "EHLO smtp-out2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231250AbhITFfx (ORCPT ); Mon, 20 Sep 2021 01:35:53 -0400 Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 608481FFFF; Mon, 20 Sep 2021 05:34:26 +0000 (UTC) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 949F713AC7; Mon, 20 Sep 2021 05:34:24 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id BeDAF2AdSGHATwAAMHmgww (envelope-from ); Mon, 20 Sep 2021 05:34:24 +0000 Date: Sun, 19 Sep 2021 22:34:19 -0700 From: Davidlohr Bueso To: Manfred Spraul Cc: LKML , Michal Clapinski , Andrew Morton , "Eric W . Biederman" , 1vier1@web.de Subject: Re: [PATCH] ipc/ipc_sysctl.c: Remove fallback for !CONFIG_PROC_SYSCTL Message-ID: <20210920053419.zdaqhcinpfnjhtqc@offworld> References: <20210918145337.3369-1-manfred@colorfullife.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <20210918145337.3369-1-manfred@colorfullife.com> User-Agent: NeoMutt/20201120 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, 18 Sep 2021, Manfred Spraul wrote: >Compilation of ipc/ipc_sysctl.c is controlled by >obj-$(CONFIG_SYSVIPC_SYSCTL) >[see ipc/Makefile] > >And CONFIG_SYSVIPC_SYSCTL depends on SYSCTL >[see init/Kconfig] > >An SYSCTL is selected by PROC_SYSCTL. >[see fs/proc/Kconfig] > >Thus: #ifndef CONFIG_PROC_SYSCTL in ipc/ipc_sysctl.c is impossible, the >fallback can be removed. > >Signed-off-by: Manfred Spraul Acked-by: Davidlohr Bueso