From patchwork Thu Apr 11 21:53:22 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bart Van Assche X-Patchwork-Id: 10896957 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id A5DC014DB for ; Thu, 11 Apr 2019 21:53:48 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9293D28D1E for ; Thu, 11 Apr 2019 21:53:48 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9118E28E2E; Thu, 11 Apr 2019 21:53:48 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3AFAD28D1E for ; Thu, 11 Apr 2019 21:53:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726857AbfDKVxr (ORCPT ); Thu, 11 Apr 2019 17:53:47 -0400 Received: from mail-pg1-f195.google.com ([209.85.215.195]:44335 "EHLO mail-pg1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726818AbfDKVxq (ORCPT ); Thu, 11 Apr 2019 17:53:46 -0400 Received: by mail-pg1-f195.google.com with SMTP id i2so4120796pgj.11 for ; Thu, 11 Apr 2019 14:53:46 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=qvggcXxqOWoETniVwdZzQ1J50OM54RgDi4QeyPnFNZY=; b=JlmcjfCKpV2tRNEbO0R7q6fRWBCK7WDZYVWJlE7iTFpu0Z5reMotr4h8MlaUARt055 aODdVYg6Dhad/XP5+v3oyX03S6OuHqQqjZqOQW5+vjKY0TXaB07fqWG3BsqRQPuAMHF5 c1PapRisVsGsVRE7Ay6hM7mSgC8oeOCvVWiSMRiB6NVma+KWASQnvskUiMMwmNLyUaes WrIy/c9yM8zwkm4dqG1bEOmKseETmXgMn75G9cKwQndIn3m+FVwecYY5xAJR/wZApsa2 m2AvMRPMwm8AiDAO/rKchrrj4EAjfMO3FDYm7li1270FDjQMQf5/CIy4LP4caAE4U9Zx uUdA== X-Gm-Message-State: APjAAAX7k2MICLJ9ffxszwP0CHNSjRhAWguF3y4tn8ZcmRBaIYc2CPfm rpU7yE07oUEkmY/H6is0vF4NwPjQ X-Google-Smtp-Source: APXvYqyc/A37pkslTRVDXMLFnRWAY+RPGUIw4wMHnTHUTQcWCnsJQo9QhuAYjDq5JdHm7BLdLuNAQQ== X-Received: by 2002:a62:448d:: with SMTP id m13mr52892740pfi.182.1555019626161; Thu, 11 Apr 2019 14:53:46 -0700 (PDT) Received: from desktop-bart.svl.corp.google.com ([2620:15c:2cd:203:5cdc:422c:7b28:ebb5]) by smtp.gmail.com with ESMTPSA id o67sm91651066pga.55.2019.04.11.14.53.45 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 11 Apr 2019 14:53:45 -0700 (PDT) From: Bart Van Assche To: "Martin K . Petersen" , "James E . J . Bottomley" Cc: linux-scsi@vger.kernel.org, Christoph Hellwig , Bart Van Assche , Himanshu Madhani , Giridhar Malavali Subject: [PATCH 07/10] qla2xxx: Move the include directive Date: Thu, 11 Apr 2019 14:53:22 -0700 Message-Id: <20190411215325.122837-8-bvanassche@acm.org> X-Mailer: git-send-email 2.20.GIT In-Reply-To: <20190411215325.122837-1-bvanassche@acm.org> References: <20190411215325.122837-1-bvanassche@acm.org> MIME-Version: 1.0 Sender: linux-scsi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The header file is included because of the readq() macro. Since that macro is only used in qla_nx.c, move that include statement into qla_nx.c. Cc: Himanshu Madhani Cc: Giridhar Malavali Signed-off-by: Bart Van Assche --- drivers/scsi/qla2xxx/qla_nx.c | 1 + drivers/scsi/qla2xxx/qla_nx.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/scsi/qla2xxx/qla_nx.c b/drivers/scsi/qla2xxx/qla_nx.c index 340e266cd88c..df1612b19f67 100644 --- a/drivers/scsi/qla2xxx/qla_nx.c +++ b/drivers/scsi/qla2xxx/qla_nx.c @@ -6,6 +6,7 @@ */ #include "qla_def.h" #include +#include #include #include #include diff --git a/drivers/scsi/qla2xxx/qla_nx.h b/drivers/scsi/qla2xxx/qla_nx.h index 71a41093530e..3c7beef92c35 100644 --- a/drivers/scsi/qla2xxx/qla_nx.h +++ b/drivers/scsi/qla2xxx/qla_nx.h @@ -7,7 +7,7 @@ #ifndef __QLA_NX_H #define __QLA_NX_H -#include +#include /* * Following are the states of the Phantom. Phantom will set them and