Received: by 2002:a4a:301c:0:0:0:0:0 with SMTP id q28-v6csp241315oof; Mon, 24 Sep 2018 19:46:22 -0700 (PDT) X-Google-Smtp-Source: ACcGV63apo4xJZGr5G/u0qDuqKhqkZiyNY2HJKDnrVCrcqizcMEHcceFmAs0xtlNeYTqVTdeu7g2 X-Received: by 2002:a17:902:b81:: with SMTP id 1-v6mr1333066plr.319.1537843582878; Mon, 24 Sep 2018 19:46:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537843582; cv=none; d=google.com; s=arc-20160816; b=XMY/ubuvrW3Nj6wG+jhAexgTWGvmf5IVhLJLhHu2pCwaP7sr+dmRdyRbrA1ThxRIeg RPNG0DFZ9w9a5CRqjZWhNpObH6/tkSmvOPE6upMV4mJcMtVMIJB2D21nP9ZQ/eSRS+NJ 2MaB0TnBG0thBzr5jstHS3C4OdwPcKiE/Syy/Be9pFQNA2PwisVrVlgZutzR12Zys9uX +jwC/91T+lMnbdLgmsNQv10C2Z0ZIoJ3+eFyNSXg5lIZQ4lHomm8iD1+5zjpHpC0oOQv X/nLQK1+AgNXXjhaulRGx3+AjBuN35itomfLC2mQFfhxC4pGP+o637PSr3cnsdLSL3lj 36tw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from; bh=gOK9wzbSoa1kr6gh8PlmuFRqqOZ/DLQ+/HQzKDtC8F0=; b=kxXCsoXMcIlasJpiwTSshtWf0v66W6GU/9wOnCnxkniPc1iS6/9koDo9lbJS61PNtO oi9CCtSLT/aDZRwr6RxrDqKQ3Ccdsh8fCNNZPbCIHoqxipdtfqvRz1VYAPYGZm0KkpNy 2+ABTo5n7fHMVE2niIBzgwxRRD4m1YAYsW2zfpk5XgZ8aOvD7OgTafzOdZkFx7208eo7 8e918AKkxaeJV86q0HlaiXJ3Ve355/iT0uNzPJfMsVeGC3+qTgOwki5G0YmAwMfgwreB WJnvEHFODIkQJjQyDWyVpTfEbybfYuOmPvYbrUiMuGZvJX5JpM0cZ86enfCJvLm6u7BU VkrQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k130-v6si941426pfc.282.2018.09.24.19.46.07; Mon, 24 Sep 2018 19:46:22 -0700 (PDT) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727823AbeIYIsm (ORCPT + 99 others); Tue, 25 Sep 2018 04:48:42 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:12689 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727410AbeIYIsm (ORCPT ); Tue, 25 Sep 2018 04:48:42 -0400 Received: from DGGEMS402-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id 41A541959E2F3; Tue, 25 Sep 2018 10:43:22 +0800 (CST) Received: from huawei.com (10.175.124.28) by DGGEMS402-HUB.china.huawei.com (10.3.19.202) with Microsoft SMTP Server id 14.3.399.0; Tue, 25 Sep 2018 10:43:16 +0800 From: Jason Yan To: , CC: , , , , , , , , , , , Jason Yan Subject: [PATCH v3 0/5] scsi: libsas: some code cleanups and bug fixes Date: Tue, 25 Sep 2018 10:56:49 +0800 Message-ID: <20180925025654.44053-1-yanaijie@huawei.com> X-Mailer: git-send-email 2.14.4 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.175.124.28] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org I split some code cleanups and bug fixes patches from my earlier series: https://lkml.org/lkml/2018/5/28/2154 These patches are separate to the subject of the earlier series and are just small fixes. Hope it is much easier to review and test. v2: fix some typos and add reviewed-by tags. v3: change the wording suggested by Christoph Hellwig. Jason Yan (5): scsi: libsas: delete dead code in scsi_transport_sas.c scsi: libsas: make the lldd_port_deformed method optional scsi: libsas: always unregister the old device if going to discover new scsi: libsas: check the ata device status by ata_dev_enabled() scsi: libsas: fix a race condition when smp task timeout drivers/scsi/hisi_sas/hisi_sas_main.c | 9 ++------- drivers/scsi/libsas/sas_ata.c | 2 +- drivers/scsi/libsas/sas_discover.c | 2 +- drivers/scsi/libsas/sas_expander.c | 22 +++++++++------------- drivers/scsi/scsi_transport_sas.c | 2 -- 5 files changed, 13 insertions(+), 24 deletions(-) -- 2.14.4