Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759370AbaDKPf3 (ORCPT ); Fri, 11 Apr 2014 11:35:29 -0400 Received: from anhedonia.sammy.net ([174.143.180.86]:59842 "EHLO sammy.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756939AbaDKPf1 (ORCPT ); Fri, 11 Apr 2014 11:35:27 -0400 X-Greylist: delayed 3380 seconds by postgrey-1.27 at vger.kernel.org; Fri, 11 Apr 2014 11:35:27 EDT Date: Fri, 11 Apr 2014 10:39:01 -0400 From: Sam Creasey To: Finn Thain Cc: "James E.J. Bottomley" , linux-scsi@vger.kernel.org, Sam Creasey , Russell King , Michael Schmitz , Joe Perches , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-m68k@vger.kernel.org Subject: Re: [PATCH v2 00/12] scsi/NCR5380: fix debugging macros and #include structure Message-ID: <20140411143900.GG21346@anhedonia> References: <20140319123516.542623278@telegraphics.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20140319123516.542623278@telegraphics.com.au> User-Agent: Mutt/1.4.2.2i Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Acked-by: Sam Creasey On Wed, Mar 19, 2014 at 11:35:16PM +1100, Finn Thain wrote: > > This patch series addresses several issues with NCR5380 drivers: > > 1. The complex network of #include directives. > > 2. Three inconsistent implementations of the core driver all attempting > to share the same macro definitions in NCR5380.h. > > 3. Broken debugging code. > > In the past these issues have led to compiler warnings and ugly hacks to > fix build failures. > > This patch series fixes the debugging code by reducing the divergence > between the various core driver implementations. > > The final two patches in the series further reduce divergence by refactoring > sun3_scsi.c and sun3_scsi_vme.c so that they follow the same structure as > the other NCR5380 drivers. > > By the end of this patch series over 800 net lines of code have been > removed. This is mostly duplicated code that's easily eliminated once the > debugging code is made consistent (and some dead code is removed). > > Better uniformity and less duplication should assist future work such as > modernization and trivial clean-up. > > To make code review easier I've tried to keep these patches succinct and > free of extraneous changes. Though I did run checkpatch.pl, I've ignored > whitespace issues in existing code. I will send separate patches for > whitespace clean-up of NCR5380 drivers. > > All NCR5380 drivers have been compile-tested with this patch series: > arm/cumana_1.c > arm/oak.c > atari_scsi.c > dmx3191d.c > dtc.c > g_NCR5380.c > g_NCR5380_mmio.c > mac_scsi.c > pas16.c > sun3_scsi.c > sun3_scsi_vme.c > t128.c > > I've successfully regression tested this patch series using mac_scsi on a > PowerBook 180. The debugging macros are now usable again. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/