Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp318905pxb; Thu, 5 Nov 2020 00:21:45 -0800 (PST) X-Google-Smtp-Source: ABdhPJzSqlCu4sdGbstSvejF7sqFWA1ARAdu1WKGJCbCLT3uttqTa7LEfJiztndR9nWxyQXLc/or X-Received: by 2002:a17:906:1458:: with SMTP id q24mr721340ejc.541.1604564505339; Thu, 05 Nov 2020 00:21:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604564505; cv=none; d=google.com; s=arc-20160816; b=opbGexJaNAobhzDReWfIaP4EA83H+bRNftXsLjuzI+WrVp8JwpP92t5r89M8Pb2+4u GiUvCmn34P8H+VwA0pqEFtFE1qMwRw5wEthZy1GEHryvDy4qe28JPyDKOWqmD9HdfU77 CrhxL8IjU4HHGbmKFuT5zLtY9RyDLo5PC65W8gpGUJRXlTZLwrkreCJdQq6zuJaURJmm 46LSBna4Gkxkzh9qTClCdxlbzif4/2Eh3FetRI68RKK1IHTcKOsDl6765vduK6lDHTD2 7/I1Mco2H0OkXlZRTuTH0GmzCE8xDzuZ7ZQs0teHsvAa3FvrU3er3A0ynz9uANPgCbOu qm2A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=yw84PCJb9CmQzCkXVzUcLTPRACzlRK5kAAiprFiYz/Q=; b=RJCB9MGpcfttk63O391lEOQxqY6wi3g60vJl0OlpJLd6T847ZO3Vza89XflKgPRBGx 3Hgki/+oMjlOFxFVj+y/dl4M6B951flIu4cdtj8AlpSmEkGUq/e3CK8/BCFJhpsOfc+e 60dE6zTs2CI9u876UkOOZ6N7yjLmARvZvC4jzdOAlzpOKOonR9YSA07LTwGbB8AgWsXo iq3y99Jmv4ylgNEUgYD+YCqnjgzRYTHO00IFBbRFkIjI9+aB4189X9M3LEb8iLMvjKPL jpqihRNW9zNqKbZ6Knv3EEoSVvPD0uYgtCAi9Jw+9TeAnJXvFMCxt+D+m0dclPskc/3h 5OaA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=BwOIWldt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q7si634845ejy.607.2020.11.05.00.21.22; Thu, 05 Nov 2020 00:21:45 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=BwOIWldt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729263AbgKEIUH (ORCPT + 99 others); Thu, 5 Nov 2020 03:20:07 -0500 Received: from mail.kernel.org ([198.145.29.99]:57942 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728632AbgKEIUH (ORCPT ); Thu, 5 Nov 2020 03:20:07 -0500 Received: from localhost (83-86-74-64.cable.dynamic.v4.ziggo.nl [83.86.74.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id C3B3421741; Thu, 5 Nov 2020 08:20:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604564405; bh=OxEccTE3bfAnA1ohOXHTDixCffF7U2d/NKMnHdBEUPs=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=BwOIWldtDEfpH4mV9CENSMvFbWehPOwfMD8Q/VJQ16do57HhPmuxUkkJ+jsQYV0Vn AiUegYbpE57bVOJc0oDRB4tfz01CLQIk8AL7Y7FHutABjuITCVklzzc9v/FPuCf9/v f6rnhRRcOpTVfqkrFbcP5xwq6iSTCxl/SScDX6kw= Date: Thu, 5 Nov 2020 09:20:54 +0100 From: Greg Kroah-Hartman To: Bernard Cc: Jiri Slaby , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org, linux-arm-kernel@lists.infradead.org, opensource.kernel@vivo.com Subject: Re: Re: Re: [PATCH 0/2] drivers/tty: delete break after return or goto Message-ID: <20201105082054.GA3426404@kroah.com> References: <20201104115903.GA1694605@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Nov 05, 2020 at 03:34:55PM +0800, Bernard wrote: > From: Greg Kroah-Hartman > > Date: 2020-11-04 19:59:03 > To: Bernard > Cc: Jiri Slaby ,Shawn Guo ,Sascha Hauer ,Pengutronix Kernel Team ,Fabio Estevam ,NXP Linux Team ,linux-kernel@vger.kernel.org,linux-serial@vger.kernel.org,linux-arm-kernel@lists.infradead.org,opensource.kernel@vivo.com > Subject: Re: Re: [PATCH 0/2] drivers/tty: delete break after return or goto>On Wed, Nov 04, 2020 at 07:17:56PM +0800, Bernard wrote: > >> > >> > >> From: Greg Kroah-Hartman > >> Date: 2020-11-04 19:02:53 > >> To: Bernard Zhao > >> Cc: Jiri Slaby ,Shawn Guo ,Sascha Hauer ,Pengutronix Kernel Team ,Fabio Estevam ,NXP Linux Team ,linux-kernel@vger.kernel.org,linux-serial@vger.kernel.org,linux-arm-kernel@lists.infradead.org,opensource.kernel@vivo.com > >> Subject: Re: [PATCH 0/2] drivers/tty: delete break after return or goto>On Wed, Nov 04, 2020 at 02:53:29AM -0800, Bernard Zhao wrote: > >> >> This patch sereies optimise code like: > >> >> { > >> >> case XXX: > >> >> return XXX; > >> >> break; //The break is meanless, so just delete it. > >> >> case YYY: > >> >> goto YYY; > >> >> break; //The break is meanless, so just delete it. > >> >> ...... > >> >> } > >> >> > >> >> Signed-off-by: Bernard Zhao > >> >> > >> >> --- > >> >> Bernard Zhao (2): > >> >> drivers/tty/nozomi.c: delete no use break after goto > >> >> drivers/tty/serial/imx.c: delete no use break after return > >> > > >> >That is not the subject of the patches you sent out, what broke? > >> > >> Hi: > >> > >> I am sorry that I am a little confused: > >> The patch series`s subject is "drivers/tty: delete break after return or goto" > >> and the blurb is: > >> This patch sereies optimise code like: > >> { > >> case XXX: > >> return XXX; > >> break; //The break is meanless, so just delete it. > >> case YYY: > >> goto YYY; > >> break; //The break is meanless, so just delete it. > >> ...... > >> } > >> last, the modified files are: > >> Bernard Zhao (2): > >> drivers/tty/nozomi.c: delete no use break after goto > >> drivers/tty/serial/imx.c: delete no use break after return > >> > >> Is there something wrong that I didn`t catch? > > > >The above lines do not match up with the subject lines of the patches > >you sent out, so something went wrong. > > > Hi, Greg: > > Sorry to bother you. > I am a newcomer to the community, and this is my first time submitting a patch series. You might want to start in the drivers/staging/ part of the kernel to get your bearings and work out these types of things. It's "easier" there as the code there needs lots of work and it's set up to handle new developers like yourself. > I am sorry that I still don't understand:"The above lines do not match up with the subject lines of the patches you sent out, so something went wrong." > I compared my patch series with other people`s patch series, as shown in the picture below, they look the seem. > The only difference is that I made a signature here, so is this the issue that you mean? the output of the git command that caused those lines to be written was taken from the subject lines of the patches in your tree. Yet the subject lines of the patches you emailed us did not match that at all, so what you sent is not what you actually had here when you generated that cover letter. So something went wrong with your process. Try deleting all patch files in the directory and generating them again, and then emailing the series to yourself to verify that everything matches up properly. hope this helps, greg k-h