Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp1190667ybl; Tue, 3 Dec 2019 03:15:47 -0800 (PST) X-Google-Smtp-Source: APXvYqxTjFIW2Kuuie0WuGQH2JjYx+nzA+ZtyVCDX7FZDM7G9LbViPtsWHemiDqHasVuv7X/QMLV X-Received: by 2002:a9d:7f90:: with SMTP id t16mr2803343otp.315.1575371747566; Tue, 03 Dec 2019 03:15:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575371747; cv=none; d=google.com; s=arc-20160816; b=BBuYn6EhtTTxXEQzOWCRZP3HkxlO/qoZbfY53GpUTJCCokAdKHUe096Ha3V0c+WpYa S4wrKKMfirM0i1iUmb8GdAgmmmxa1yfwTzm95IQOjvpkuHjadMjwp7CVWnUjV6B2KGGo Z0+SxgxIg+wKeXf3L5MWgmMo+CeSZaenGCAXCPj4hHY4zGDuJB5dZrgVqWV0sCFWBUKK jmovPyKCFMmMApeF2/DPC+ylk4qKKaad0kv7PO4jQxz6YcVuk361mP0okDBefbUoheaX YHvLHJfR9+wlpIew0IFlOjnAQKKtztUCzEVTvYrZwuZFAbKYnj5wLL3EffcSja10DQki D1Tg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:content-transfer-encoding:mime-version :message-id:date:subject:cc:from:dkim-signature; bh=3OQmcTBUAZ2iXSh3JXM+wJ67H7N0YZcDSFL8pDk9sd4=; b=KcxUjq3Npc4ac3tR3Nj+ExWwowpdRch3F4DB5PZhZWlfj7XtXXtk9a/ZO6rM1Gz+ez 9ozD0F7QDf0BIakWalLI4fOlTRw5cvfIalSqZZwTww/EWVmHT0ENePayXYEO7pBCDAuJ 2M1EgBG3RIPgsiIAbhxWHKGKTwl/uLvAM3ROUU46jbrF40wa5uAY0FmtLmNWtPUjOInw 4v2kfjgDiK3lsO/gRAkkxqz01r9vhtzQBrRkAU+S9dFS6BH0a2kOXO/6hUjkamU9ILB0 flI7Xx14ccgcib76dgr1ETDEPVNbAaOgbevxtT7KcbNJ1K4mzV+VY+Dm0bqxd0KemKhd QpNw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=rIgBPB5E; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d24si1007720otp.110.2019.12.03.03.15.35; Tue, 03 Dec 2019 03:15:47 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=rIgBPB5E; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726491AbfLCLNt (ORCPT + 99 others); Tue, 3 Dec 2019 06:13:49 -0500 Received: from mail-pl1-f195.google.com ([209.85.214.195]:35953 "EHLO mail-pl1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725838AbfLCLNs (ORCPT ); Tue, 3 Dec 2019 06:13:48 -0500 Received: by mail-pl1-f195.google.com with SMTP id k20so1580923pls.3; Tue, 03 Dec 2019 03:13:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=3OQmcTBUAZ2iXSh3JXM+wJ67H7N0YZcDSFL8pDk9sd4=; b=rIgBPB5E+yWkRwsoh+YtACXKnkcsu7iUF1xeunZZFUmes5SEdpGcBEZXP3mHl0Pvfg 7SjYKW9VDHOXTA6u2BMNfOvbugLa8m6qnY/lUnwDhA+nys0DKbb8riaL+7/NLRvRaDBc whkjfAUXXlV+r+lKG10D5SsJ+H1D+t50nmm6wIIvx3EIJjzfi016qOrmSjjhnobK2/x2 IpPKJgVbyzhGWP40aD8E29+jbM37nxAp7Bn4BUQs/2d7KM6Jkdq3ZvU0/7KEWsv5t+df f59UTRRbgQ3OSUuptCc1cVqbzyjE1fP3cETy2K8ubuu+izZHudybWaHuv+HLvpf46W3Z o5vw== 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:mime-version :content-transfer-encoding; bh=3OQmcTBUAZ2iXSh3JXM+wJ67H7N0YZcDSFL8pDk9sd4=; b=V3LtvfTOQWD20+e8h6laCPh/89z5RtIRJPQtPwvqpQU6ycGXvZo5HiSvM9PrENRdVY 5CW7n5PsX5J8QXkAI7D4knwgJlHcEMU1zKZYwRADSxLjDou1mSg7Zihw9+CzgxU80Wqt VvRSBWaVFHDXMWtxEdGURemXnMAkyTwtDGyf12iAczLg+/Sr91iko/S8FSA8enwKfV0p 5sWrb9ZDOpD1/ZgnjDEpS3+Ny8hKx7lLSX0MX6q3JrGlc4kSQRze8/8MImUyCyLBxkgD gwqXxcFKAaUHFvrDXWVNjC75+RKE7yxepkQAWSamfcCQ19Il1J4VETeVmw6yGfEqLzmu 7AbQ== X-Gm-Message-State: APjAAAXwT3MO21PS1ngdrAsHKkS9RJmPlKChFNwqAwXdqyu4AjDYptlW cvozgwELQUzZHUyXDoiJ5Z/tLuTY1WA= X-Received: by 2002:a17:902:9a8b:: with SMTP id w11mr4426590plp.9.1575371628072; Tue, 03 Dec 2019 03:13:48 -0800 (PST) Received: from suzukaze.ipads-lab.se.sjtu.edu.cn ([202.120.40.82]) by smtp.gmail.com with ESMTPSA id g192sm3124849pgc.3.2019.12.03.03.13.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Dec 2019 03:13:47 -0800 (PST) From: Chuhong Yuan Cc: Don Brace , "James E . J . Bottomley" , "Martin K . Petersen" , esc.storagedev@microsemi.com, linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org, Chuhong Yuan Subject: [PATCH resend] scsi: smartpqi: add missed free_irq in suspend Date: Tue, 3 Dec 2019 19:13:37 +0800 Message-Id: <20191203111337.13054-1-hslester96@gmail.com> X-Mailer: git-send-email 2.24.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit To: unlisted-recipients:; (no To-header on input) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The driver calls request_irq in resume but does not call free_irq in suspend. Add the missed call to fix it. Signed-off-by: Chuhong Yuan --- drivers/scsi/smartpqi/smartpqi_init.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/scsi/smartpqi/smartpqi_init.c b/drivers/scsi/smartpqi/smartpqi_init.c index 7b7ef3acb504..2251c39afb1b 100644 --- a/drivers/scsi/smartpqi/smartpqi_init.c +++ b/drivers/scsi/smartpqi/smartpqi_init.c @@ -8078,6 +8078,8 @@ static __maybe_unused int pqi_suspend(struct pci_dev *pci_dev, pm_message_t stat pqi_ctrl_wait_for_pending_io(ctrl_info, NO_TIMEOUT); pqi_stop_heartbeat_timer(ctrl_info); + free_irq(pci_irq_vector(pci_dev, 0), &ctrl_info->queue_groups[0]); + if (state.event == PM_EVENT_FREEZE) return 0; -- 2.24.0