From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 37E4CC433EF for ; Fri, 26 Nov 2021 01:53:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1357540AbhKZB4L (ORCPT ); Thu, 25 Nov 2021 20:56:11 -0500 Received: from szxga01-in.huawei.com ([45.249.212.187]:14982 "EHLO szxga01-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1357472AbhKZByI (ORCPT ); Thu, 25 Nov 2021 20:54:08 -0500 Received: from dggpeml500020.china.huawei.com (unknown [172.30.72.55]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4J0d1c2PBmzZd2n; Fri, 26 Nov 2021 09:48:20 +0800 (CST) Received: from huawei.com (10.175.127.227) by dggpeml500020.china.huawei.com (7.185.36.88) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20; Fri, 26 Nov 2021 09:50:54 +0800 From: Baokun Li To: , , , , CC: , , , Subject: [PATCH -next V5 0/2] fix two bugs when trying rmmod sata_fsl Date: Fri, 26 Nov 2021 10:03:05 +0800 Message-ID: <20211126020307.2168767-1-libaokun1@huawei.com> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.175.127.227] X-ClientProxiedBy: dggems705-chm.china.huawei.com (10.3.19.182) To dggpeml500020.china.huawei.com (7.185.36.88) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org V1->V2: Fixed the check on the return value of platform_get_irq(). And propagate errors up to sata_fsl_probe()'s callers. V2->V3: Add fixed and CC stable and modified the patch description. V3->V4: Use a single structure. V4->V5: Delete duplicate dev_err() message. Baokun Li (2): sata_fsl: fix UAF in sata_fsl_port_stop when rmmod sata_fsl sata_fsl: fix warning in remove_proc_entry when rmmod sata_fsl drivers/ata/sata_fsl.c | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) -- 2.31.1