Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp4871466ybl; Tue, 4 Feb 2020 03:33:25 -0800 (PST) X-Google-Smtp-Source: APXvYqznBwvwh8Z6cxMA6qB/qnvS1LMGulMi99ufhIL+rNChQutSaBJ4Y0qZS8X9E1F4CR2aFIBH X-Received: by 2002:aca:ab51:: with SMTP id u78mr3139716oie.21.1580816005809; Tue, 04 Feb 2020 03:33:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580816005; cv=none; d=google.com; s=arc-20160816; b=DnBnRz5WLFiMlwkDFTn/n4ssPkpI3y9he8zLnzJPjzZ2R6j+ndFuAh7p3gtuTP5aAi +/2oTOAacDa4/o7rOjFtuq2ftsctvS60rCl30sZYaKfvrzQmWuUkCxVQQPvNd7M122jG a4B4g6FYSupNJuepk4+L9bru5R+U5ssXPpHnTZy2MsAzz0W8D3771QNicA8SeWlflHEO Oi2OatX3Il8YJuUyK4tY0jbRZx3PI/c6/8QPS/tgbg7QGxJF2rn4RmQqaXXgBErs0qH6 TL4lFmqgselw69zNRXZz4Zf9Dc0IStdrHafq7BePiyZCHc/pFzcmaujd6vmjbIqVzaBV ssmw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:organization:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=TRnoU+TgZU4Uiy6n4yK78nWVeT2fIYYP8BjrV/uc4Kk=; b=DpSdddxV6h0brKkuWsJmat1IZrHlAAfWkeYICMsA7CEco7SeV6DLU54KUW7PP4eIh+ yQ1CSx1fU6pUaz7d/dRdDxtypWc7okg+KBC8vrmb5u2GvJYryC7yApqg/xc765A8LYnJ 0IkOTHwAYC/3IPcEP/jxffvUCIEXD5tWsB7l8aS+kj5eqxLRau5QhLRNgYg2pVy4raqH qL9+JfoZnFQTzSK7gOstAjf0N+EQVnVV3jj9foghjs8J8X2pnYpWlPrVm7WJ8omiQoa/ z/BBgoOiPq63nOGLdRv4GPmUiQDWwPkM5Z7+/arjy9+v/sVzFJR/TVlZmk1JU2DS+UHo fXng== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a205si5443927oif.159.2020.02.04.03.33.13; Tue, 04 Feb 2020 03:33:25 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727097AbgBDLb7 (ORCPT + 99 others); Tue, 4 Feb 2020 06:31:59 -0500 Received: from mga11.intel.com ([192.55.52.93]:31424 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727002AbgBDLb6 (ORCPT ); Tue, 4 Feb 2020 06:31:58 -0500 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 04 Feb 2020 03:31:58 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,401,1574150400"; d="scan'208";a="341233043" Received: from smile.fi.intel.com (HELO smile) ([10.237.68.40]) by fmsmga001.fm.intel.com with ESMTP; 04 Feb 2020 03:31:56 -0800 Received: from andy by smile with local (Exim 4.93) (envelope-from ) id 1iywQw-0003o7-J5; Tue, 04 Feb 2020 13:31:58 +0200 Date: Tue, 4 Feb 2020 13:31:58 +0200 From: Andy Shevchenko To: Sergey Senozhatsky Cc: Sergey Senozhatsky , Petr Mladek , linux-kernel@vger.kernel.org, Steven Rostedt Subject: Re: [PATCH v1] printk: Declare log_wait as external variable Message-ID: <20200204113158.GA10400@smile.fi.intel.com> References: <20200203131528.52825-1-andriy.shevchenko@linux.intel.com> <20200204021620.GD41358@google.com> <20200204090533.GM32742@smile.fi.intel.com> <20200204112211.GA2009@jagdpanzerIV.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200204112211.GA2009@jagdpanzerIV.localdomain> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Feb 04, 2020 at 08:22:11PM +0900, Sergey Senozhatsky wrote: > On (20/02/04 11:05), Andy Shevchenko wrote: > > > > --- a/kernel/printk/printk.c > > > > +extern wait_queue_head_t log_wait; /* Used in fs/proc/kmsg.c */ > > > > DECLARE_WAIT_QUEUE_HEAD(log_wait); > > > > +#else > > > > +static DECLARE_WAIT_QUEUE_HEAD(log_wait); > > > > +#endif /* CONFIG_PROC_FS */ > > > > > > [..] > > > > > > Since we are now introducing CONFIG_PROC_FS dependency to printk (and > > > proc/kmsg already has CONFIG_PRINTK dependency), > > > > I'm not sure I understood. The above does not introduce any dependencies. > > kernel/printk/printk.c > +#ifdef CONFIG_PROC_FS > .. > > Not exactly "dependency"... what is the correct word here. Maybe "ifdeferry" ? -- With Best Regards, Andy Shevchenko