Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp56541pxm; Fri, 25 Feb 2022 03:58:29 -0800 (PST) X-Google-Smtp-Source: ABdhPJzDjxg+GWq+J6nn++4QSuy2Cx69+0tIcNsD9LZ9DE3WjJEjROiH7sT3gI2ERjzhh7+k+VuU X-Received: by 2002:a17:902:a603:b0:14f:3337:4e9c with SMTP id u3-20020a170902a60300b0014f33374e9cmr6902566plq.66.1645790308967; Fri, 25 Feb 2022 03:58:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645790308; cv=none; d=google.com; s=arc-20160816; b=v+1ZtwReS1H4hYBct1AWI6Gvd+dHIqXogmLOWj13+tGm/QXiNfXeb+ULmnYh6d9sSf UCbQP7XYeeI7VT7W062RO1+xyU9tmcYMkHwolUVz71Vm4l8YIEbLdDohYYjZbhsxn8eB NJ9Ktni4XNpRflj1dZOtry1tp2HzJNYH7360y4oc3UbnKMhnxfG1B2iIObaiPL6t56UA BDNWZFJu/mpA3OM9Ay32OCINKSYZps6WIOVEtXlBmMM3whh56LYHXGoXDm9Ol7Aoo039 euz5DAjgGXDVN3da0+RvKPjehZCsK9r0PtIqxfAtgN819q22YrGoAR1dAS93TpieNQI7 oVkA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=kce3bxBCkX8C5nuzmUeHk9d8fvUj+fM2R51tFQUOjcY=; b=0wYVYm7bG6HsjtPCPM+JYzvapPtQzbhn50jEXrQy8QpLLvA7Q01lzQ02FtTa4J/Avq Q+GOrHp3rpA7iIni5hUKOPC+41kzOQqkSwYu0Ad2Bptll5qRBue+q/LcI76Lf6vXofAh wgSXah+h+6Jy9UFUfNLYSyL/wBSl+UgPk8PIe6uT5rD9E0puqCoiOASSxCLW2EH3Kr2F PQhVUD07n6hzGcv/G/O7eNL58s2wWLQaTjDMzxBIzWCGIAFt39PSrKwuklMuOnhR9nT8 a8Ha1YxQTQc88D4oCqzCOi1PXzrSmwPcF2+hwUWgV87QlVGAlrs0mEsitsYH6Roc4o+D +11A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id mg6-20020a17090b370600b001bc64b04774si6910420pjb.97.2022.02.25.03.58.15; Fri, 25 Feb 2022 03:58:28 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237578AbiBYLDm (ORCPT + 99 others); Fri, 25 Feb 2022 06:03:42 -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 Content-Type: text/plain 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 X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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(-) -- 2.26.2