From patchwork Tue May 19 13:33:28 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 6437561 Return-Path: X-Original-To: patchwork-linux-scsi@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id C40D39F1C1 for ; Tue, 19 May 2015 13:34:10 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A429620412 for ; Tue, 19 May 2015 13:34:09 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id C00E42041B for ; Tue, 19 May 2015 13:34:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755690AbbESNeG (ORCPT ); Tue, 19 May 2015 09:34:06 -0400 Received: from mout.kundenserver.de ([212.227.126.187]:58944 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751928AbbESNeE (ORCPT ); Tue, 19 May 2015 09:34:04 -0400 Received: from wuerfel.localnet ([149.172.15.242]) by mrelayeu.kundenserver.de (mreue001) with ESMTPSA (Nemesis) id 0Lwzvt-1ZEN5X0Eyv-016iYq; Tue, 19 May 2015 15:33:30 +0200 From: Arnd Bergmann To: linux-scsi@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, "James E.J. Bottomley" Subject: [PATCH] [RESEND] SCSI: ips: remove pointless #warning Date: Tue, 19 May 2015 15:33:28 +0200 Message-ID: <3121960.dnOqT9LCth@wuerfel> User-Agent: KMail/4.11.5 (Linux/3.16.0-10-generic; KDE/4.11.5; x86_64; ; ) MIME-Version: 1.0 X-Provags-ID: V03:K0:q2uDe7tlsojfO7qKwzdIIQogKVsTt+FhAIJH33ho04RXtxKQ0y2 pOG3JKr1OnAJfwECXPCg9964Es3lrHHVE6hYu1jQ6tCyGZiydRdInUkhShMma/s9cavVgq4 QLlyVoYkLZZCaKnCRK0b0yi3apgLNdOVMAxTPrdE+KfBC2YkhNa1cDqbXDdKbk28Jx1PDnn I0aOAizvDaj93COAmnrFg== X-UI-Out-Filterresults: notjunk:1; Sender: linux-scsi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The ips driver contains #warning "This driver has only been tested on the x86/ia64/x86_64 platforms" which gets printed by the compiler every time this driver gets build for something other than those three architectures. The same is true for most other drivers, but none of them prints a warning like this. Let's remove the warning now to reduce the amount of clutter. FWIW, I've reviewed the driver and found a few oddities, but nothing that needs to be fixed or that would be architecture specific. Signed-off-by: Arnd Bergmann --- Submitted last in January, but got no reply -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/scsi/ips.c b/drivers/scsi/ips.c index 7542f11d3fcd..d86673a4cdb4 100644 --- a/drivers/scsi/ips.c +++ b/drivers/scsi/ips.c @@ -206,10 +206,6 @@ module_param(ips, charp, 0); #define IPS_VERSION_HIGH IPS_VER_MAJOR_STRING "." IPS_VER_MINOR_STRING #define IPS_VERSION_LOW "." IPS_VER_BUILD_STRING " " -#if !defined(__i386__) && !defined(__ia64__) && !defined(__x86_64__) -#warning "This driver has only been tested on the x86/ia64/x86_64 platforms" -#endif - #define IPS_DMA_DIR(scb) ((!scb->scsi_cmd || ips_is_passthru(scb->scsi_cmd) || \ DMA_NONE == scb->scsi_cmd->sc_data_direction) ? \ PCI_DMA_BIDIRECTIONAL : \