From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.2 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D9066C433E0 for ; Fri, 19 Jun 2020 09:39:22 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id B8BAC20786 for ; Fri, 19 Jun 2020 09:39:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730523AbgFSJjV (ORCPT ); Fri, 19 Jun 2020 05:39:21 -0400 Received: from mx2.suse.de ([195.135.220.15]:35740 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726196AbgFSJjV (ORCPT ); Fri, 19 Jun 2020 05:39:21 -0400 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 9CE91B19A; Fri, 19 Jun 2020 09:39:18 +0000 (UTC) Date: Fri, 19 Jun 2020 11:39:18 +0200 From: Petr Mladek To: Andy Shevchenko Cc: Sergey Senozhatsky , Steven Rostedt , linux-kernel@vger.kernel.org, Greg Kroah-Hartman , Jiri Slaby , linux-serial@vger.kernel.org Subject: Re: [PATCH v1 0/6] console: unify return codes from ->setup() hook Message-ID: <20200619093917.GK3617@alley> References: <20200618164751.56828-1-andriy.shevchenko@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200618164751.56828-1-andriy.shevchenko@linux.intel.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-serial-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-serial@vger.kernel.org On Thu 2020-06-18 19:47:45, Andy Shevchenko wrote: > Some of the console providers treat error code, returned by ->setup() hook, > differently. Here is the unification of the behaviour. > > The drivers checked by one of the below criteria: > 1/ the driver has explicit struct console .setup assignment > 2/ the driver has assigned callback to the setup member > > All such drivers were read in order to see if there is any problematic return > codes, and fixed accordingly which is this series in the result. > > Andy Shevchenko (6): > mips: Return proper error code from console ->setup() hook > serial: sunsab: Return proper error code from console ->setup() hook > serial: sunzilog: Return proper error code from console ->setup() hook > tty: hvc: Return proper error code from console ->setup() hook > console: Propagate error code from console ->setup() > console: Fix trivia typo 'change' -> 'chance' For the entire patchset: Reviewed-by: Petr Mladek I am going to push it the following week via printk tree unless anybody complains. Best Regards, Petr