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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6C547C76196 for ; Tue, 11 Apr 2023 14:56:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229588AbjDKO4q (ORCPT ); Tue, 11 Apr 2023 10:56:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48270 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229583AbjDKO4p (ORCPT ); Tue, 11 Apr 2023 10:56:45 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 124B02100; Tue, 11 Apr 2023 07:56:45 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id A177261FA0; Tue, 11 Apr 2023 14:56:44 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id BA1FFC433D2; Tue, 11 Apr 2023 14:56:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1681225004; bh=vyKdIgli0aO1t+tdJv04VTod2uCxE72JIaHubsE3M7s=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=FaxrBZ3jvL6HqAnK5MdCvSQlqZf8jg+okJgi5nE9/5OBgBmRBIMoC65uLGDLqvXkF 0JxU/9Bq6YD80BvY1jTF8nb9r+yNH7soW8XEm4z+56AeGcNEYVbcwW+vH4FDQ5Qdbz vZqadd+r+mcbDtycEVY/kHk2uFkdnJFcy6vXafXk= Date: Tue, 11 Apr 2023 16:56:41 +0200 From: Greg Kroah-Hartman To: Biju Das Cc: Jiri Slaby , "linux-serial@vger.kernel.org" , Geert Uytterhoeven , Niklas =?iso-8859-1?Q?S=F6derlund?= , Prabhakar Mahadev Lad , "linux-renesas-soc@vger.kernel.org" , stable Subject: Re: [PATCH] tty: serial: sh-sci: Fix transmit end interrupt handler Message-ID: <2023041158-crisped-obtrusive-2309@gregkh> References: <20230411100859.305617-1-biju.das.jz@bp.renesas.com> <2023041129-skeleton-nursery-f9b0@gregkh> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-serial@vger.kernel.org On Tue, Apr 11, 2023 at 02:40:52PM +0000, Biju Das wrote: > Hi Greg, > > > Subject: RE: [PATCH] tty: serial: sh-sci: Fix transmit end interrupt handler > > > > Hi Greg, > > > > Thanks for the feedback. > > > > > Subject: Re: [PATCH] tty: serial: sh-sci: Fix transmit end interrupt > > > handler > > > > > > On Tue, Apr 11, 2023 at 11:08:59AM +0100, Biju Das wrote: > > > > commit b43a18647f03c87e77d50d6fe74904b61b96323e upstream. > > > > > > > > The fourth interrupt on SCI port is transmit end interrupt compared > > > > to the break interrupt on other port types. So, shuffle the > > > > interrupts to fix the transmit end interrupt handler. > > > > > > > > Fixes: e1d0be616186 ("sh-sci: Add h8300 SCI") > > > > Cc: stable > > > > Suggested-by: Geert Uytterhoeven > > > > Signed-off-by: Biju Das > > > > Link: > > > > Signed-off-by: Greg Kroah-Hartman > > > > [biju: manually fixed the conflicts] > > > > Signed-off-by: Biju Das > > > > --- > > > > Resending to 4.14 with confilcts [1] fixed. > > > > [1] > > > > > > You did not actually build your patch, as it breaks the build :( > > > > Actually, I build the patch, but did not test it on target as I don't have > > the platform to test it. > > > > I got some issues while building modules which is unrelated to this change. > > > > Anyway, I will double check again and confirm. > > I confirm, there is an issue with this patch. > > I disabled building modules from my build script and it showed the below error. > So I would like to drop this patch for 4.14 as this header file does not exist for 4.14. > > drivers/tty/serial/sh-sci.c:40:10: fatal error: linux/minmax.h: No such file or directory > 40 | #include > | ^~~~~~~~~~~~~~~~ Yes, minmax is not there, but the function needed by that is there (hint, I had to remove that include in 4.19). Remove it and see the next error you get :) thanks, greg k-h