Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp3654166yba; Mon, 29 Apr 2019 06:22:58 -0700 (PDT) X-Google-Smtp-Source: APXvYqwob6/8405aOlazCdEdiqz2awwi7TFUC43dU7zhvPPiYempALqMbZkoUvTOpWtgLC+OJJU2 X-Received: by 2002:a63:d252:: with SMTP id t18mr9914627pgi.131.1556544178267; Mon, 29 Apr 2019 06:22:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556544178; cv=none; d=google.com; s=arc-20160816; b=rTDcS6mzre4uI7iLEj6/wDT5FrfLIh8BasNMl6lk38NwUUVH3H3/c8W4M6Lc06oq0l lAOx2TRBV8t5wxBHVv6VdZVv2ZNbVigx1R6njhfHObtRJ5tfd83ePsjd4dGGBzT66XKw tPDZaxTyz2cjoYOi3hW695XQJjWYFuv7iVwmum1VGnpzMGNkI/68Ea/+vCtN8HnijcVI zbEwwyFPmGjw/FKYlgEQcL6JIUrFSAKtq3f0sKuWhoglo9RCgSTPW5zPNC8JI0E8l+cu nwQmxyTKbc6FvkXbMxkAXpiiogdcRUFngzLp9A4YbUMdmaFzMC+zJI5RpeAaM+GFt6S8 +SKg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:organization:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=2g//0NWpBhSaYdNe3i0H2WtDEY1PsMp7n+vOGeC32jI=; b=ojIOOODaliQCMY5CbhDy6FVHmz17eZEYvuAOlA0FQkxDqSPTYwKijmsEteHX2okOM4 KySpEF4GMDuBPIgQzHTsWpIW+lGknDWfzm64vJ9wClE8U5+JugDNMO9Iqu23hhhn2Knc JDVNE2CKUAcDGfHG4Xt7e6+OUI9gmTs555IAdnksfxLV1C5IjoVCfczALbQUzy7z5BIq jM0B0gGaSFFAlBb9tLfqMlvoOH9UpVe1ll/DYKe2WladuvPHkyw3266swloKH33YBcOq 1duUF+dC6JJJeoQ42gzPRs3HGuWXN9YsO66CmfKg2HRL6PPH7xb1L6Q5p9bCpQIPaDx5 iqlA== 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 34si22794906plp.228.2019.04.29.06.22.41; Mon, 29 Apr 2019 06:22:58 -0700 (PDT) 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 S1728230AbfD2NTj (ORCPT + 99 others); Mon, 29 Apr 2019 09:19:39 -0400 Received: from mga11.intel.com ([192.55.52.93]:25681 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725838AbfD2NTj (ORCPT ); Mon, 29 Apr 2019 09:19:39 -0400 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 29 Apr 2019 06:19:38 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,409,1549958400"; d="scan'208";a="146675438" Received: from smile.fi.intel.com (HELO smile) ([10.237.72.86]) by orsmga003.jf.intel.com with ESMTP; 29 Apr 2019 06:19:32 -0700 Received: from andy by smile with local (Exim 4.92) (envelope-from ) id 1hL6Bu-0008Ek-Oe; Mon, 29 Apr 2019 16:19:30 +0300 Date: Mon, 29 Apr 2019 16:19:30 +0300 From: Andy Shevchenko To: "Enrico Weigelt, metux IT consult" Cc: "Enrico Weigelt, metux IT consult" , linux-kernel@vger.kernel.org, gregkh@linuxfoundation.org, andrew@aj.id.au, macro@linux-mips.org, vz@mleia.com, slemieux.tyco@gmail.com, khilman@baylibre.com, liviu.dudau@arm.com, sudeep.holla@arm.com, lorenzo.pieralisi@arm.com, davem@davemloft.net, jacmet@sunsite.dk, linux@prisktech.co.nz, matthias.bgg@gmail.com, linux-mips@vger.kernel.org, linux-serial@vger.kernel.org, linux-ia64@vger.kernel.org, linux-amlogic@lists.infradead.org, linuxppc-dev@lists.ozlabs.org, sparclinux@vger.kernel.org Subject: Re: [PATCH 37/41] drivers: tty: serial: 8250: simplify io resource size computation Message-ID: <20190429131930.GE9224@smile.fi.intel.com> References: <1556369542-13247-1-git-send-email-info@metux.net> <1556369542-13247-38-git-send-email-info@metux.net> <20190428152103.GP9224@smile.fi.intel.com> <431b36fe-3071-fcfd-b04e-b4b293e79a80@metux.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <431b36fe-3071-fcfd-b04e-b4b293e79a80@metux.net> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Apr 29, 2019 at 08:48:53AM +0200, Enrico Weigelt, metux IT consult wrote: > On 28.04.19 17:21, Andy Shevchenko wrote: > >> +#define SERIAL_RT2880_IOSIZE 0x100 > > > > And why this is in the header file and not in corresponding C one? > > hmm, no particular reason, maybe just an old habit to put definitions > into .h files ;-) > > I can move it to 8250_of.c if you like me to. Please, do. -- With Best Regards, Andy Shevchenko