Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp228008imm; Tue, 18 Sep 2018 20:35:04 -0700 (PDT) X-Google-Smtp-Source: ANB0Vdb7GmIx+2/KZXWZAODHAmYa0VyC12yrsfOA/3eUHRF1EnB3jNec9tpqSN5E5ttLHcRweX9E X-Received: by 2002:a65:5144:: with SMTP id g4-v6mr29888068pgq.21.1537328104422; Tue, 18 Sep 2018 20:35:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537328104; cv=none; d=google.com; s=arc-20160816; b=avKaPjNGi1vQVUJin2s+1ONa3FWOatAqkS0c5VUYWkfPJ6TEHS8A2zwbV4FxZzaN68 oGkcan+JUttoZrPln6Xlu/TBkmEdvJtQlxIkw+iGPbjah1lNR1KodwtHx6cJMqjHXYAa kunHCtOAYS+47SM8/1AxNyAGfd+HRqhYRP7OM7P0BCBL6h5Brs5UPSy4DbPLs8LczayQ H30H0OUd57fVEc2Q+nVLwJ2ChMK7+Dl1QyZVFGunBEiL38aRTFEZ+4HU+y+/YYiLHs4A cjzyGARhwIjwEks5YrYjD1w8vlnIfZoSWSDukp9wsaEBo8s4Zd2Ybc/oPqWAfx63Kvy7 mTxQ== 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=EjzJ0UDIpS4Fgibo4ZGXUYSYAVKQExuOi197BYlZvP8=; b=p2PqpXa5CM7czOxr8n86DaWltXxWjfG+m+A7brU51LpunKBVwG8FVhe+AxnlSjgJPK AcP+8PoUoLt0ob84D4y3o4/br5fYJkE6pAp0BWrAm93YqFf4zTk/WMbenw2bAqF07lSR J7cBKlgFN2r3XpIW4LfknIXwQLCXkB2aWv/MDRaIA+oxaJX9BbsjwazxIof4n7zADuWd xHWXnTgBF8QKydky2KVP1HlhqAdR0nVI/+u2NuLoDYsIJqL8asggJrl6ziwcSjG+DyZr sw4I0JGF+1FxZercjhjd5WTIv4XJQP0gxm/LjNQsfrlEE+sv0iiRtECMjpqrUnTw+aTG bp3Q== 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 f9-v6si19821093pgi.12.2018.09.18.20.34.48; Tue, 18 Sep 2018 20:35:04 -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 S1726971AbeISJJJ (ORCPT + 99 others); Wed, 19 Sep 2018 05:09:09 -0400 Received: from szxga06-in.huawei.com ([45.249.212.32]:55029 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725875AbeISJIt (ORCPT ); Wed, 19 Sep 2018 05:08:49 -0400 Received: from DGGEMS414-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id 42AF18D49A3FD; Wed, 19 Sep 2018 11:32:55 +0800 (CST) Received: from huawei.com (10.175.124.28) by DGGEMS414-HUB.china.huawei.com (10.3.19.214) with Microsoft SMTP Server id 14.3.399.0; Wed, 19 Sep 2018 11:32:46 +0800 From: Jason Yan To: , CC: , , , , , , , , , , , Jason Yan Subject: [PATCH v2 0/5] scsi: libsas: some code cleanups and bug fixes Date: Wed, 19 Sep 2018 11:31:59 +0800 Message-ID: <20180919033204.11102-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. Jason Yan (5): scsi: libsas: delete dead code in scsi_transport_sas.c scsi: libsas: check the lldd callback correctly 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