Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751485AbdGRHdM (ORCPT ); Tue, 18 Jul 2017 03:33:12 -0400 Received: from mail.ispras.ru ([83.149.199.45]:39666 "EHLO mail.ispras.ru" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751340AbdGRHdL (ORCPT ); Tue, 18 Jul 2017 03:33:11 -0400 Subject: Re: [PATCH] serial: 8250: fix error handling in of_platform_serial_probe() To: Greg Kroah-Hartman Cc: Jiri Slaby , Arnd Bergmann , linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org, ldv-project@linuxtesting.org References: <1498862969-4919-1-git-send-email-khoroshilov@ispras.ru> <20170718072732.GA15573@kroah.com> From: Alexey Khoroshilov Message-ID: <032e9a8b-8013-fe60-4a49-11cbf5cc28ed@ispras.ru> Date: Tue, 18 Jul 2017 10:33:06 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1 MIME-Version: 1.0 In-Reply-To: <20170718072732.GA15573@kroah.com> Content-Type: text/plain; charset=utf-8 Content-Language: ru-RU Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 955 Lines: 25 On 18.07.2017 10:27, Greg Kroah-Hartman wrote: > On Sat, Jul 01, 2017 at 01:49:29AM +0300, Alexey Khoroshilov wrote: >> clk_disable_unprepare(info->clk) is missed in of_platform_serial_probe(), >> while irq_dispose_mapping(port->irq) is missed in of_platform_serial_setup(). >> >> Found by Linux Driver Verification project (linuxtesting.org). >> >> Signed-off-by: Alexey Khoroshilov >> --- >> drivers/tty/serial/8250/8250_of.c | 20 +++++++++++++------- >> 1 file changed, 13 insertions(+), 7 deletions(-) > > I've had to drop this from my tree due to the obvious build warning it > adds to the system. Always test-build your patches before sending them > out, it makes maintainers grumpy when you do not do that :( > > greg k-h > The problem is in conflict with e2860e1f62f2 "serial: 8250_of: Add reset support" that was not in the Linus tree when the patch was developed. I will rebase the patch and resend it. -- Alexey