From patchwork Wed Oct 8 07:11:03 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: seungho1.park@lge.com X-Patchwork-Id: 38456 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wg0-f71.google.com (mail-wg0-f71.google.com [74.125.82.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id DBC1D20447 for ; Wed, 8 Oct 2014 07:11:16 +0000 (UTC) Received: by mail-wg0-f71.google.com with SMTP id y10sf4851123wgg.10 for ; Wed, 08 Oct 2014 00:11:16 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=/CsJREzJ2Hi14apEo3WrYeuM5irpief1qgAsAeSnGck=; b=Iw1YlwpiZuehdxoaU/OF4sj81VKrD5Fs2oFbOGLb02NlmxjfQvrQjPEzPvtzZtfbA8 hkt7NFsyeAF0XyL9PEmpu6j5/rNgs/jqaQA8dw18fpcl7eo8AMLWhL5AKP4VvdvQCMVp axvOqhutbBzODqOLZsXARuOWc2sy0wSdRATQd79QiUa+t0DtMISupRiQ9/BY34j5rmk6 i2rfVl/WiEPZ/ppox7LmwAvzsHSKvgYPS83YAaiwuTsGl40dUw5HFOLTYNKjulODL4yj h3Pmkb/XnEdMRziowubkFsbROO2CWxekbIlziQ5ItWUuCU/Rj9NpT6VDDoqFDRw2t2sG 5eKw== X-Gm-Message-State: ALoCoQmP1DrZZ2AhxL5F0UU0XSFunyXYuzFGwltpSTx1FSbDUBUs2UgXsUSTsi6Sx94x2wonV6cH X-Received: by 10.112.74.80 with SMTP id r16mr25497lbv.21.1412752276077; Wed, 08 Oct 2014 00:11:16 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.19.5 with SMTP id a5ls25882lae.19.gmail; Wed, 08 Oct 2014 00:11:15 -0700 (PDT) X-Received: by 10.152.203.204 with SMTP id ks12mr9491197lac.65.1412752275589; Wed, 08 Oct 2014 00:11:15 -0700 (PDT) Received: from mail-la0-f42.google.com (mail-la0-f42.google.com [209.85.215.42]) by mx.google.com with ESMTPS id pa3si16392293lbb.132.2014.10.08.00.11.15 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 08 Oct 2014 00:11:15 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.42 as permitted sender) client-ip=209.85.215.42; Received: by mail-la0-f42.google.com with SMTP id mk6so7948332lab.29 for ; Wed, 08 Oct 2014 00:11:15 -0700 (PDT) X-Received: by 10.112.5.133 with SMTP id s5mr1182858lbs.102.1412752275402; Wed, 08 Oct 2014 00:11:15 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.84.229 with SMTP id c5csp13864lbz; Wed, 8 Oct 2014 00:11:14 -0700 (PDT) X-Received: by 10.70.38.68 with SMTP id e4mr495664pdk.159.1412752273838; Wed, 08 Oct 2014 00:11:13 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id az17si14757673pdb.198.2014.10.08.00.11.13 for ; Wed, 08 Oct 2014 00:11:13 -0700 (PDT) Received-SPF: none (google.com: stable-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753868AbaJHHLM (ORCPT + 1 other); Wed, 8 Oct 2014 03:11:12 -0400 Received: from lgeamrelo01.lge.com ([156.147.1.125]:46376 "EHLO lgeamrelo01.lge.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751191AbaJHHLL (ORCPT ); Wed, 8 Oct 2014 03:11:11 -0400 Received: from unknown (HELO localhost.localdomain) (10.177.226.38) by 156.147.1.125 with ESMTP; 8 Oct 2014 16:11:09 +0900 X-Original-SENDERIP: 10.177.226.38 X-Original-MAILFROM: seungho1.park@lge.com From: seungho1.park@lge.com To: seungho1.park@lge.com Cc: Josh Triplett , stable Subject: [PATCH 1/3] init/Kconfig: Hide printk log config if CONFIG_PRINTK=n Date: Wed, 8 Oct 2014 16:11:03 +0900 Message-Id: <1412752265-22198-2-git-send-email-seungho1.park@lge.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1412752265-22198-1-git-send-email-seungho1.park@lge.com> References: <1412752265-22198-1-git-send-email-seungho1.park@lge.com> Sender: stable-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: stable@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: seungho1.park@lge.com X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.42 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , From: Josh Triplett The buffers sized by CONFIG_LOG_BUF_SHIFT and CONFIG_LOG_CPU_MAX_BUF_SHIFT do not exist if CONFIG_PRINTK=n, so don't ask about their size at all. Signed-off-by: Josh Triplett Acked-by: Randy Dunlap Cc: stable --- init/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/init/Kconfig b/init/Kconfig index e84c642..31505a5 100644 --- a/init/Kconfig +++ b/init/Kconfig @@ -811,6 +811,7 @@ config LOG_BUF_SHIFT int "Kernel log buffer size (16 => 64KB, 17 => 128KB)" range 12 21 default 17 + depends on PRINTK help Select the minimal kernel log buffer size as a power of 2. The final size is affected by LOG_CPU_MAX_BUF_SHIFT config @@ -830,6 +831,7 @@ config LOG_CPU_MAX_BUF_SHIFT range 0 21 default 12 if !BASE_SMALL default 0 if BASE_SMALL + depends on PRINTK help This option allows to increase the default ring buffer size according to the number of CPUs. The value defines the contribution