From patchwork Wed Oct 8 07:13:56 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: 38458 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f197.google.com (mail-wi0-f197.google.com [209.85.212.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 7665020447 for ; Wed, 8 Oct 2014 07:14:08 +0000 (UTC) Received: by mail-wi0-f197.google.com with SMTP id n3sf3698573wiv.8 for ; Wed, 08 Oct 2014 00:14:07 -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=S9Swz+/ZLtsu/czC2KZci0BJpKOZwV7+nDQaEIX28PEpzTIZk64TW0YKLQAYLGg32p Z/7KO+4M6AasQ3peSftjN6qiy4shgM0gznu1T2OvnsZlIzXeLEoeoFXc4QZm0wt2wC86 8fQWcDw2aZVL4gxsaOYOgvl+CZzuntlyy9vhH6C2upUUH00Tl75bRifvCNF8m0ftllhz 3Q5N5BQM+9secl9B+sE7/nToBbeosYeGEG04+tM/etcruBTXzncOMBUWqD41v4YKRBci PHz5ivvLHHq3CmUKJu7PQW2IWJZ8M/HIAN2RdCcnlT56B8uVt2vU25M0ec4rwOlfrjb5 mfPw== X-Gm-Message-State: ALoCoQk1yghNdAL8e1LfatWbKy5ohqFQ2rSVdmvCoW9yppzM/TRTwY22VMNTFJ/w0gUmXbg9xlkr X-Received: by 10.152.19.131 with SMTP id f3mr1312361lae.0.1412752447547; Wed, 08 Oct 2014 00:14:07 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.87.178 with SMTP id az18ls3029lab.96.gmail; Wed, 08 Oct 2014 00:14:07 -0700 (PDT) X-Received: by 10.152.87.65 with SMTP id v1mr9437727laz.83.1412752447312; Wed, 08 Oct 2014 00:14:07 -0700 (PDT) Received: from mail-la0-f43.google.com (mail-la0-f43.google.com [209.85.215.43]) by mx.google.com with ESMTPS id h3si15852367lag.57.2014.10.08.00.14.07 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 08 Oct 2014 00:14:07 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.43 as permitted sender) client-ip=209.85.215.43; Received: by mail-la0-f43.google.com with SMTP id mc6so7908162lab.30 for ; Wed, 08 Oct 2014 00:14:07 -0700 (PDT) X-Received: by 10.112.134.229 with SMTP id pn5mr8799739lbb.22.1412752447184; Wed, 08 Oct 2014 00:14:07 -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 c5csp14187lbz; Wed, 8 Oct 2014 00:14:06 -0700 (PDT) X-Received: by 10.68.65.99 with SMTP id w3mr8436737pbs.90.1412752445674; Wed, 08 Oct 2014 00:14:05 -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.14.05 for ; Wed, 08 Oct 2014 00:14:05 -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 S1753868AbaJHHOE (ORCPT + 1 other); Wed, 8 Oct 2014 03:14:04 -0400 Received: from lgeamrelo02.lge.com ([156.147.1.126]:46110 "EHLO lgeamrelo02.lge.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753516AbaJHHOE (ORCPT ); Wed, 8 Oct 2014 03:14:04 -0400 Received: from unknown (HELO localhost.localdomain) (10.177.226.38) by 156.147.1.126 with ESMTP; 8 Oct 2014 16:13:45 +0900 X-Original-SENDERIP: 10.177.226.38 X-Original-MAILFROM: seungho1.park@lge.com From: seungho1.park@lge.com To: vanilla@blackduck.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:13:56 +0900 Message-Id: <1412752438-22812-2-git-send-email-seungho1.park@lge.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1412752438-22812-1-git-send-email-seungho1.park@lge.com> References: <1412752438-22812-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.43 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