From patchwork Fri Feb 25 10:57:34 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Garry X-Patchwork-Id: 546584 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 AD178C433F5 for ; Fri, 25 Feb 2022 11:03:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239795AbiBYLDl (ORCPT ); Fri, 25 Feb 2022 06:03:41 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33016 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236456AbiBYLDk (ORCPT ); Fri, 25 Feb 2022 06:03:40 -0500 Received: from frasgout.his.huawei.com (frasgout.his.huawei.com [185.176.79.56]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 08A4322320C; Fri, 25 Feb 2022 03:03:09 -0800 (PST) Received: from fraeml737-chm.china.huawei.com (unknown [172.18.147.226]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4K4n0T28Mgz684R2; Fri, 25 Feb 2022 19:02:01 +0800 (CST) Received: from lhreml724-chm.china.huawei.com (10.201.108.75) by fraeml737-chm.china.huawei.com (10.206.15.218) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.21; Fri, 25 Feb 2022 12:03:07 +0100 Received: from localhost.localdomain (10.69.192.58) by lhreml724-chm.china.huawei.com (10.201.108.75) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.21; Fri, 25 Feb 2022 11:03:04 +0000 From: John Garry To: , CC: , , , , , John Garry Subject: [PATCH v2 0/2] scsi: libsas: Some minor improvements Date: Fri, 25 Feb 2022 18:57:34 +0800 Message-ID: <1645786656-221630-1-git-send-email-john.garry@huawei.com> X-Mailer: git-send-email 2.8.1 MIME-Version: 1.0 X-Originating-IP: [10.69.192.58] X-ClientProxiedBy: dggems705-chm.china.huawei.com (10.3.19.182) To lhreml724-chm.china.huawei.com (10.201.108.75) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org Hi Martin, This is just a couple of small improvements which we had sitting on our dev branch. Please consider for 5.18. Changes since v1: - add RB tag (thanks) - simplify C code in 2/2 Thanks! John Garry (2): scsi: libsas: Make sas_notify_{phy,port}_event() return void scsi: libsas: Use bool for queue_work() return code drivers/scsi/libsas/sas_event.c | 50 ++++++++++++------------------ drivers/scsi/libsas/sas_internal.h | 4 +-- include/scsi/libsas.h | 8 ++--- 3 files changed, 24 insertions(+), 38 deletions(-)