From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933621AbdDES1M (ORCPT ); Wed, 5 Apr 2017 14:27:12 -0400 Received: from mail-lf0-f49.google.com ([209.85.215.49]:33360 "EHLO mail-lf0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753929AbdDES0O (ORCPT ); Wed, 5 Apr 2017 14:26:14 -0400 Subject: Re: [PATCH v8 3/3] printk: fix double printing with earlycon To: Petr Mladek , Sergey Senozhatsky References: <20170315102854.1763-1-aleksey.makarov@linaro.org> <20170320100302.8656-1-aleksey.makarov@linaro.org> <20170327141432.GH2846@pathway.suse.cz> <4b561f81-67af-f6a3-76c9-d0d8499c52bd@linaro.org> <20170328020404.GA10573@jagdpanzerIV.localdomain> <20170328125657.GJ2846@pathway.suse.cz> <20170330055546.GD513@jagdpanzerIV.localdomain> <20170404111202.GK29537@pathway.suse.cz> Cc: linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org, Sudeep Holla , Greg Kroah-Hartman , Peter Hurley , Jiri Slaby , Robin Murphy , Steven Rostedt , "Nair, Jayachandran" , Sergey Senozhatsky From: Aleksey Makarov Message-ID: <7895d9ed-cd39-8f22-bf03-341665e19501@linaro.org> Date: Wed, 5 Apr 2017 21:26:08 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <20170404111202.GK29537@pathway.suse.cz> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 04/04/2017 02:12 PM, Petr Mladek wrote: > On Thu 2017-03-30 14:55:46, Sergey Senozhatsky wrote: >> On (03/28/17 14:56), Petr Mladek wrote: [..] > Alekesey, any chance to use the global variable to count used or point > to the last element? > > I know that you have already spent a lot of time with it. It was great > work. But the current solution of the cycle looks weird to me. Sorry for the delay. I will send next version soon. Thank you Aleksey Makarov