Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp2317999ybc; Sun, 17 Nov 2019 18:50:16 -0800 (PST) X-Google-Smtp-Source: APXvYqzslYztqN1PHSooFTLcXNIrDCLb2rka11Nw3enrEqxt9k34IpOivoSZdNQAfb4pXBqS2/u5 X-Received: by 2002:a17:906:5397:: with SMTP id g23mr22333478ejo.93.1574045416625; Sun, 17 Nov 2019 18:50:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574045416; cv=none; d=google.com; s=arc-20160816; b=QoW0ZYypMk8es1EShDhycBDksZzt/Ulhs96uJ7cKJdUrlGcNTvcPeeKowwY+HkFg8q wQoqXpp9yTTsuH+lX5iwm1+s8ren+trpFnJa3NVg2CcPZ3lJGZFsYed40nAaGIKEQGB9 zLSyJZXHyBQDOa7GJ4w3YgoonZWVCpRuub45rsrqcZBLToQQkLj6RLViwrKrOc4prUvP 46C2dHbEf2VzO02pX+YXe2bjm424gXSuuZe9LTWCXglHWJ+Z/u8QaiUEgcR08Od4OZ6O 1fO1L4ocBUNWRF6dy7hGpCc+sRufXb0ApIr2LqLEyXdvFSz9XwsKkfj9cPWbVl0ko3AS T1rw== 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=LJN39JvnBb2Ux5j3Tg40TBNH2WUxnDoGsfa7IupBTVI=; b=eS2w3+A3JmLhhza+DQuI7g5wS3ZCadlOc6Holh58VodNXKuJElzS82T+ZYFhwR8dFU UktOUjOJ+Cfp0Qc6lOoGBBFgmN/lReqkjHaHhejx3PBzhcMT1JpnR51oR4JsDnS9WhUh ckqimZWSkWTIBnwHlA9RbleLVB56uttsBawCW58/Opl95OSaeR6GH2Cl7nnQm87qbzny ZgQw59Aq8mBdR6bWDu/QwOBpAf+IbTkOP9ulOZxFVL3lD+NyF7jmEwW/ztwu88ecelw7 EV9l3MQCQP3GFTbkUimZ6daSpD691mtIqdaIAQqkXHzYGCrTCHYQw/joXguTHk1o+Hl8 UeeA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=ZAHb2RK9; 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 k15si10340011ejr.327.2019.11.17.18.49.53; Sun, 17 Nov 2019 18:50:16 -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=ZAHb2RK9; 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 S1726539AbfKRCs0 (ORCPT + 99 others); Sun, 17 Nov 2019 21:48:26 -0500 Received: from mail-pg1-f196.google.com ([209.85.215.196]:46707 "EHLO mail-pg1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726168AbfKRCs0 (ORCPT ); Sun, 17 Nov 2019 21:48:26 -0500 Received: by mail-pg1-f196.google.com with SMTP id r18so8846341pgu.13; Sun, 17 Nov 2019 18:48:26 -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=LJN39JvnBb2Ux5j3Tg40TBNH2WUxnDoGsfa7IupBTVI=; b=ZAHb2RK9q+W6dB+/aNWg/9K49ic9zZD1IlGvjYHAq5rPESRF9FBvit+YKlhWUIPTYu 4mwxvn2yykpSn5B1vZIOzWZzvgnk4+dAv2Op8pZCbcQy2JkxzBVL1Y4x5glh/Ly2LaYr E1AdMp6XESISya5DKuR8DgFPqq57nwqtLt0fim7WKJF8xmgA+NC/dC53QcnnWiK1m0IN D7agbyVSsFvpJVxVxUikMYQz40FCPzrvA2PSJZO5NSSa5/s7xn+ASD62a6wgNb+EvOoY 6OXbKodt4ujIQlwkpfXBQsALoO92ddIYwpscGVN9PRnJ93bvhCGk29rdJswTdlYmKg/6 7zLQ== 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=LJN39JvnBb2Ux5j3Tg40TBNH2WUxnDoGsfa7IupBTVI=; b=pGPZ5M4mCOtffqyGENDoT5nPWldDMC68b3V2nHnt6FVUB34aW8MxQZayLj4TeZ04Yv zLJXL8hPrBetmFCxLdrbiApuHc6fd8UxWFifNgO9krBqbXWtMj9tGZ/8R1VAzjDSjEeI tdPKfSeaQlYxWpRk2GwCFf+O5KEIe/KarPlpNHDBksIdapyZsgF0uxmnnFUd7YuEJqcX hmUKBZCR6rkDRzWzajVpB+Fv64gherGQuwjHC//jcLRRzQfVxxyr9Djm4WXw1pRT7okJ 88NCW12bqkxgt6ZqLvM6ayO+F5YORKfAJ0XBrSX3VcJskmyJ/AjeyYAFywlOX8l4N+xv 4PVg== X-Gm-Message-State: APjAAAXcG5bv72xMPAtiTEBVDiUEulFNTPOAS2NbF9RnGa8ugF4txlPV 61qlZTN5ZMWm7YbsZ9trrKw= X-Received: by 2002:a62:e716:: with SMTP id s22mr31429246pfh.258.1574045306003; Sun, 17 Nov 2019 18:48:26 -0800 (PST) Received: from suzukaze.ipads-lab.se.sjtu.edu.cn ([202.120.40.82]) by smtp.gmail.com with ESMTPSA id j5sm19018009pfe.100.2019.11.17.18.48.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 Nov 2019 18:48:25 -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] scsi: smartpqi: add missed free_irq in suspend Date: Mon, 18 Nov 2019 10:48:15 +0800 Message-Id: <20191118024815.21524-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 ea5409bebf57..ebe563cfc36b 100644 --- a/drivers/scsi/smartpqi/smartpqi_init.c +++ b/drivers/scsi/smartpqi/smartpqi_init.c @@ -8023,6 +8023,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