From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753221AbcEDNWG (ORCPT ); Wed, 4 May 2016 09:22:06 -0400 Received: from mail-lf0-f66.google.com ([209.85.215.66]:33975 "EHLO mail-lf0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750916AbcEDNWD (ORCPT ); Wed, 4 May 2016 09:22:03 -0400 Date: Wed, 4 May 2016 15:22:02 +0200 From: Johan Hovold To: Konstantin Shkolnyy Cc: Johan Hovold , Konstantin Shkolnyy , "linux-usb@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: Re: [EXT] Re: [PATCH v4 2/3] USB: serial: cp210x: Got rid of magic numbers in CRTSCTS flag code. Message-ID: <20160504132202.GI1367@localhost> References: <1462323143-27514-1-git-send-email-konstantin.shkolnyy@gmail.com> <20160504072834.GA1367@localhost> <20160504125511.GH1367@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, May 04, 2016 at 01:17:26PM +0000, Konstantin Shkolnyy wrote: > > -----Original Message----- > > From: Johan Hovold [mailto:jhovold@gmail.com] On Behalf Of Johan Hovold > > Sent: Wednesday, May 04, 2016 07:55 > > To: Konstantin Shkolnyy > > Cc: Johan Hovold; Konstantin Shkolnyy; linux-usb@vger.kernel.org; linux- > > kernel@vger.kernel.org > > Subject: Re: [EXT] Re: [PATCH v4 2/3] USB: serial: cp210x: Got rid of magic > > numbers in CRTSCTS flag code. > > > > On Wed, May 04, 2016 at 12:46:17PM +0000, Konstantin Shkolnyy wrote: > > > > -----Original Message----- From: linux-usb-owner@vger.kernel.org > > > > [mailto:linux-usb- owner@vger.kernel.org] On Behalf Of Johan Hovold > > > > Sent: Wednesday, May 04, 2016 02:29 To: Konstantin Shkolnyy Cc: > > > > johan@kernel.org; linux-usb@vger.kernel.org; linux- > > > > kernel@vger.kernel.org Subject: [EXT] Re: [PATCH v4 2/3] USB: > > > > serial: cp210x: Got rid of magic numbers in CRTSCTS flag code. > > > > > > > > On Tue, May 03, 2016 at 07:52:23PM -0500, Konstantin Shkolnyy wrote: > > > > > Replaced magic numbers used in the CRTSCTS flag code with symbolic > > > > names > > > > > from the chip specification. > > > > > > > > > > Signed-off-by: Konstantin Shkolnyy > > > > > > > > This patch does not even compile. Please be more careful when > > > > resubmitting. There are at least two compilation errors below. > > > > > > Sorry about that. > > > > > > It's a couple of dumb syntax errors that don't really matter for > > > change review purpose. Otherwise, do the patches look good? > > > > It's worse than that as when the code doesn't even compile it's obvious > > that it has never been tested. That is just not acceptable, and the code > > does not deserve review. > > Well, I did test the final code. I assumed, perhaps incorrectly, that > the point of a patch series is that it gets applied or rejected > entirely, so nobody would run the code in the middle of it. No, every patch in a series should be correct, and must specifically not break bisectability by failing to compile. Johan