Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp5071978ybv; Tue, 11 Feb 2020 08:40:15 -0800 (PST) X-Google-Smtp-Source: APXvYqxNvk63gPFHUvIopKF+fpnXU+qMns7UWGBzhP9gQpafKa6K5M0ibz4x0zy+fhSH4N/WLXH6 X-Received: by 2002:aca:f1c6:: with SMTP id p189mr3515532oih.159.1581439215198; Tue, 11 Feb 2020 08:40:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581439215; cv=none; d=google.com; s=arc-20160816; b=fsyBp9lYSYCXXjkxaSRw+HcVmU1QYS0DwqnXERDRXym90c7op7zmJgGcQVi5S8eD9P pbONI2bD38cbL+ZmUtKePEVrlpNX8I2bUfra73ti1Jj8+GVQjWNfUsgoFWpgJ2KtwkF/ fk5Vgg38Q49hownwQaz17ATqNuWyOV+jOqxgbiepprdUHCh8+A4icXmXpGI3INUP18Hw Fh/EB0mw0tSgTfKCjjKVTk81v8gQCrTWa1B97K7BRffpSe7BLuE7LZagcHnrgCfsR19f 9ZakUKEywB6mTl6cPoNNrg28KV46xPTzij8Jv+zSsnaz7AVkpj0oj1kwR7fvvElJNPkD Z+og== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=zwVe3ybDBPwlfDHrNr01CwAulLF7qVQWsI+v1MFaadw=; b=DdomO6hP/H32qc+V41JRv3XF/OiKIVuJiq1/J0VrVdDDsMWHjEvU6ZwZHMi8CM0gPQ /g4c7bod2kjbrRP/zukK65PbdJ09H13YREo5ct7nhDsnZRACGh5Kem/0HymME0e8B/LO nXA2RVAze54UG7XBf1mal9yPIiw5gB0nhcQoqpaoLBnzvQ7NZqs/+LG6ZEG0eSll//vu d0NyYvWFxkNjYjwISHMrkx3W+YKIilKJKnn8CqYDuPGFTPOVBESNzaHRNWTJS1BHO88X a+AZuuqWA1dKWdYrq6xokwe98TdM+m1V8HqbkPjZ71VuqcjpU77PvpQhJtEcXwOx5T4Q 2MNQ== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s64si1928530oig.147.2020.02.11.08.40.02; Tue, 11 Feb 2020 08:40:15 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729312AbgBKO3t (ORCPT + 99 others); Tue, 11 Feb 2020 09:29:49 -0500 Received: from mx2.suse.de ([195.135.220.15]:36498 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728339AbgBKO3t (ORCPT ); Tue, 11 Feb 2020 09:29:49 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 020EAC06A; Tue, 11 Feb 2020 14:29:47 +0000 (UTC) Date: Tue, 11 Feb 2020 15:29:47 +0100 From: Petr Mladek To: Benjamin Herrenschmidt Cc: Sergey Senozhatsky , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH v3 1/3] printk: Move console matching logic into a separate function Message-ID: <20200211142947.favkq56gkyexqkpg@pathway.suse.cz> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20170912 (1.9.0) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu 2020-02-06 15:02:18, Benjamin Herrenschmidt wrote: > This moves the loop that tries to match a newly registered console > with the command line or add_preferred_console list into a separate > helper, in order to be able to call it multiple times in subsequent > patches. > > Signed-off-by: Benjamin Herrenschmidt Looks fine to me. Reviewed-by: Petr Mladek Just few nits below. > @@ -2626,6 +2627,60 @@ static int __init keep_bootcon_setup(char *str) > + /* > + * Some consoles, such as pstore and netconsole, can be enabled even > + * without matching. > + */ There are few lines in the patchset where the indentation is done by spaces instead of tabs. The above 3 lines are just one example. I'll fix this when pushing. But please, be more careful next time ;-) I suggest to use some more clever editor that helps with code formatting. Also I suggest to run ./scripts/checkpatch.pl on the patches before sending. Also the three patches were not send in a single thread so that it was harder to find all the pieces. I personally use: git format-patch --cover-letter origin/master -o some-dir ./scripts/checkpatch.pl some-dir/* $> edit some-dir/0000-*.patch git send-email --smtp-server=... --to= --cc= ... some-dir/* Best Regards, Petr