From patchwork Wed Jan 9 12:43:34 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Garry X-Patchwork-Id: 155066 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp661513jaa; Wed, 9 Jan 2019 04:42:57 -0800 (PST) X-Google-Smtp-Source: ALg8bN4g1NyD1CPxeOpQXi4VvQGvOG1/HammqhQoKY7nBliawcdwe44efpZvtPkub8HkMcaxSDM4 X-Received: by 2002:a17:902:e28e:: with SMTP id cf14mr5966552plb.311.1547037777923; Wed, 09 Jan 2019 04:42:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547037777; cv=none; d=google.com; s=arc-20160816; b=uzfnO/8/AqgWZoyVTppYRP9yM0JH4t1bVhR3vV5NypCyqEzZbQGnVIKQasftJcdhHh hE5887Z5Cq5TQPBNPxkOOP3sSKErFjs+N0Pg7h2W+En3jJb7csYNPkBsLK0k+LK54bbo px1S9p7tFF+LpXTw7vnwPYO5XlOCTwRJz+5zMgdwNyxFO9BM+rCWFy0xh9uJyzXuaAR9 NYhcjeo5Rwnm+Nrt594yg/2OJ5N9SJ8doNc94qJ+hxFbce5aOeO5mUD17RlVu7z2Qrc+ Aq3qnaKOTVCzwjgD8EuP92SCtwpf/TU+8Bt4gAg+y4N7DPOU/O7r++WWUmsBr11EAz+/ kj4Q== 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=dmT9uWQv2CHCB0HGuCDIgVdzQJxuCdQbwd7+RuRHS5o=; b=R+y3MbpvHw4Yp5YFtxxsS8wHHPlLD0udoyUBWSGS3jZgmc+BQmrn0G+sA22QTvyA68 mDxaSGsgPzmncGyd2lXexgSWejrIDY0x3qPTEwl8cbRvj51a+BVyCLuNoVm3jTzsDV3M GXyBQ9YAf2qsOCXsOEBMEJy93o8hK5JgvzPxQrs+YN8h+1gFB10pXpRtIG+9NyMQbkPu BgsCO0sE3C6VfECVZclGIfyc5YgRmEN8mHE7DCFuJYYfFS979bY4F+jru8b/CFK86SJL YSKEc0/IIjuLh+2nUMdAX9zLCFV+XARVq3m6p/xJydTFZRLrXepgfHpBjWDJMxIfhNN5 U+mQ== 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 u4si58326825pga.91.2019.01.09.04.42.57; Wed, 09 Jan 2019 04:42:57 -0800 (PST) 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 S1731011AbfAIMmv (ORCPT + 31 others); Wed, 9 Jan 2019 07:42:51 -0500 Received: from szxga04-in.huawei.com ([45.249.212.190]:17100 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1730249AbfAIMmu (ORCPT ); Wed, 9 Jan 2019 07:42:50 -0500 Received: from DGGEMS412-HUB.china.huawei.com (unknown [172.30.72.60]) by Forcepoint Email with ESMTP id 1E052B75AF1960A9566E; Wed, 9 Jan 2019 20:42:46 +0800 (CST) Received: from localhost.localdomain (10.67.212.75) by DGGEMS412-HUB.china.huawei.com (10.3.19.212) with Microsoft SMTP Server id 14.3.408.0; Wed, 9 Jan 2019 20:42:39 +0800 From: John Garry To: , CC: , , , , John Garry Subject: [PATCH] scsi: hisi_sas: Use scsi lld debugfs folder Date: Wed, 9 Jan 2019 20:43:34 +0800 Message-ID: <1547037814-99911-1-git-send-email-john.garry@huawei.com> X-Mailer: git-send-email 2.8.1 MIME-Version: 1.0 X-Originating-IP: [10.67.212.75] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Since we now have a dedicated folder for scsi llds in the debugfs tree, relocate the root of the driver debugfs folder to that same location. Signed-off-by: John Garry --- This patch depends on https://www.spinics.net/lists/linux-scsi/msg126764.html -- 1.9.1 diff --git a/drivers/scsi/hisi_sas/hisi_sas.h b/drivers/scsi/hisi_sas/hisi_sas.h index 6a1a5ad..ce527b7 100644 --- a/drivers/scsi/hisi_sas/hisi_sas.h +++ b/drivers/scsi/hisi_sas/hisi_sas.h @@ -26,6 +26,7 @@ #include #include #include +#include #include #define HISI_SAS_MAX_PHYS 9 diff --git a/drivers/scsi/hisi_sas/hisi_sas_main.c b/drivers/scsi/hisi_sas/hisi_sas_main.c index 3d24366..e27a06c 100644 --- a/drivers/scsi/hisi_sas/hisi_sas_main.c +++ b/drivers/scsi/hisi_sas/hisi_sas_main.c @@ -2985,7 +2985,8 @@ static __init int hisi_sas_init(void) return -ENOMEM; if (hisi_sas_debugfs_enable) - hisi_sas_debugfs_dir = debugfs_create_dir("hisi_sas", NULL); + hisi_sas_debugfs_dir = debugfs_create_dir("hisi_sas", + scsi_debugfs_lld); return 0; }